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

OSM relation is incorrectly converted to geojson. #1212

Open
GabrielBruno24 opened this issue Jan 22, 2025 · 0 comments
Open

OSM relation is incorrectly converted to geojson. #1212

GabrielBruno24 opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working openstreetmap osm

Comments

@GabrielBruno24
Copy link
Collaborator

When running the 1_downloadOsmDataToFiles task on a polygon that contains the relation https://www.openstreetmap.org/relation/10627518, the osmToGeojson() function will convert its members to a geojson, but not the relation itself. This creates issue in the 2_importAndProcessOsmDataToFiles task, as the relation will be present in the raw osm file but not the geojson file. By contrast, this other relation (https://www.openstreetmap.org/relation/197567) is converted correctly into geojson without its members being converted.

We should figure out why osmToGeojson() creates such a discrepancy, and fix it.

@GabrielBruno24 GabrielBruno24 added bug Something isn't working osm openstreetmap labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working openstreetmap osm
Projects
None yet
Development

No branches or pull requests

1 participant