Skip to content

isabella232/osmtools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osmtools

Command line tools to work with OSM files in docker.

Image description

This image contains the following comand line utilities:

  • osmconvert - can be used to convert and process OpenStreetMap files.
  • osmfilter - is a command line tool used to filter OpenStreetMap data files for specific tags.
  • osmupdate - downloads and cumulates OSM Changefiles of different categories (minutely, hourly, daily).

How to use this image

Prepare yours data:

mkdir -p /data/osm-data
wget http://download.geofabrik.de/europe/monaco-latest.osm.pbf -O /data/osm-data/monaco.osm.pbf

Mount host directory with data into container /osm and work with osmconvert osmfilter or osmupdate utils.

Retrieving Statistical Data

docker run --rm  -it --volume /data/osm-data:/osm mediagis/osmtools osmconvert --out-statistics monaco.osm.pbf

Convert from osm.pbf to o5m

docker run --rm  -it --volume /data/osm-data:/osm mediagis/osmtools osmconvert monaco.osm.pbf -o=monaco.o5m

List of all keys sorted by occurrence

docker run --rm  -it --volume /data/osm-data:/osm mediagis/osmtools osmfilter --out-count monaco.o5m

User Feedback

Issues

If you have any problems or questions about this image, please contact me through a issue or email pipetc@gmail.com.

About

OSM tools in docker

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%