Sign inSign up

wangyoucao577/osmium-tool

By wangyoucao577

•Updated over 6 years ago

Docker image to wrap osmium-tool that can be used like a command line tool.

Image
1

1.7K

wangyoucao577/osmium-tool repository overview

⁠osmium-tool

Build Docker - osmium-tool
Docker image to wrap osmium-tool⁠ that can be used like a command line tool.
Please be noted that the libosmium clones from wangyoucao577/libosmium⁠ instead of the official repo osmcode/libosmium⁠, which has increased the max_osm_string_length to support long PBF tags. See more details in #1⁠.

⁠Build Image

$ cd docker/osmium-tool
$ docker build -t wangyoucao577/osmium-tool .  

⁠Pull Image

⁠DockerHub

DockerHub Repo: wangyoucao577/osmium-tool⁠

$ docker pull wangyoucao577/osmium-tool
⁠Github Package

Github Package Repo: docker.pkg.github.com/wangyoucao577/containers/osmium-tool⁠

$ docker pull docker.pkg.github.com/wangyoucao577/containers/osmium-tool

⁠Run container as Command Line Tool

# same behavior with `osmium -h`
$ docker run --rm wangyoucao577/osmium-tool -h
Usage: osmium COMMAND [ARG...]
       osmium --version

COMMANDS:
  add-locations-to-ways   Add node locations to ways
  apply-changes           Apply OSM change files to OSM data file
  cat                     Concatenate OSM files and convert to different formats
  changeset-filter        Filter OSM changesets by different criteria
  check-refs              Check referential integrity of an OSM file
  create-locations-index  Create node locations index on disk
  derive-changes          Create OSM change files from two OSM data files
  diff                    Display differences between OSM files
  export                  Export OSM data
  extract                 Create geographic extract
  fileinfo                Show information about OSM file
  getid                   Get objects with given ID from OSM file
  getparents              Get parents of objects from OSM file
  help                    Show osmium help
  merge                   Merge several sorted OSM files into one
  merge-changes           Merge several OSM change files into one
  query-locations-index   Query node locations index on disk
  renumber                Renumber IDs in OSM file
  show                    Show OSM file contents
  sort                    Sort OSM data files
  tags-count              Count OSM tags
  tags-filter             Filter OSM data based on tags
  time-filter             Filter OSM data from a point in time or a time span out of a history file

TOPICS:
  file-formats           File formats supported by Osmium
  index-types            Index types for storing node locations

Use 'osmium COMMAND -h' for short usage information.
Use 'osmium help COMMAND' for detailed information on a specific command.
Use 'osmium help TOPIC' for detailed information on a specific topic.

⁠Author

[email protected]⁠

Tag summary

Content type

Image

Digest

Size

77.3 MB

Last updated

over 6 years ago

docker pull wangyoucao577/osmium-tool