Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download-osm -make-dc to use a .poly file for BBOX #253

Open
zstadler opened this issue May 14, 2020 · 0 comments
Open

download-osm -make-dc to use a .poly file for BBOX #253

zstadler opened this issue May 14, 2020 · 0 comments

Comments

@zstadler
Copy link
Contributor

The BBOX created by download-osm -make-dc using pbf-based statistics is larger that the bounding box of the polygon used to create the extract. In a relatively small area the bbox was 18-20 times larger.

Geofabrik - 18x

Source West South East North Area
Polygon 34.079 29.377 35.915 33.351 7.296
PBF statistics 25.149 22.000 36.900 33.484 134.943

OpenStreetMap.fr - 20x

Source West South East North Area
Polygon 34.050 29.435 35.915 33.355 7.311
PBF statistics 25.149 22.000 36.900 34.686 149.073

It would be nice if make-dc will use the bounding box of the extraction polygon by default, and use the statistics-based bounding box only if it cannot be found. Currently poligon files are available from Geofabrik.de, OpenStreetMap.fr, and bbbike.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants