sharedstreets / sharedstreets-builder

Making maps connectable: stable, non-proprietary IDs and data standards for streets
MIT License
28 stars 12 forks source link

Provide Dockerfile #28

Open hbruch opened 3 years ago

hbruch commented 3 years ago

This PR provides a multi-stage docker build to for sharedstreets-builder.

chelsey commented 3 years ago

hi! thanks for this. I've built and run this locally with error, so I might be missing something providing. How are you passing in the the input file and output file when you run this?

hbruch commented 3 years ago

Hi @chelsey, should have provided some documentation, sorry... I mount some host directories and run like e.g.

docker run --rm -v $PWD/tmp:/tmp -v $PWD/data:/data -v $PWD/out/:/out/ mfdz/sharedstreets-builder --input /data/osm/baden-wuerttemberg-latest.osm.pbf --output /out/shst/tiles/osm/latest --roadClasses 8

chelsey commented 3 years ago

thanks @hbruch ! 👍 Just to report back -- I successfully built and ran this with the data/nyc_test.pbf dataset, so +1 to getting this merged upstream.

(fwiw, I have encountered memory issues running this container against other datasets, but those workarounds are probably outside of the scope of this PR.)