Skip to content

A Docker container that includes osmium and osm2pgsql for OpenStreetMap replication

License

Notifications You must be signed in to change notification settings

Sophox/docker-osmupdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

docker-osmupdater

A Docker container that includes osmium and osm2pgsql for OpenStreetMap replication

Usage

Example of piping osmium to osm2pgsql

docker run -it -v $(pwd):/var/lib/osm nickpeihl/osmupdater \
osmosis --read-replication-interval workingDirectory=/var/lib/osm \
--simplify-change --write-xml-change - | osm2pgsql --append --slim \
--database gis --flat-nodes /var/lib/osm/nodes.cache -C 2000 \
--number-processes 4 --hstore --style /var/lib/osm/osm.style \
--tag-transform-script /var/lib/osm/osm.lua -r xml -

See this tutorial for more info.

About

A Docker container that includes osmium and osm2pgsql for OpenStreetMap replication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published