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

Support polygon primitive for opendata conflation #2387

Open
flacombe opened this issue Nov 15, 2024 · 2 comments
Open

Support polygon primitive for opendata conflation #2387

flacombe opened this issue Nov 15, 2024 · 2 comments

Comments

@flacombe
Copy link
Contributor

Dear maintainers,

Currently Osmose only supports points and lines as data primitive coming from open data sources, to be conflated with OpenStreetMap data.

However in the past, some needs raised to process open data polygons, like in #511.

Thus it would be great to add support for such polygons, to be checked against OSM nodes or areas (#511 would require support of open data against OSM nodes for instance).
I'm not sure if open data polygons against OSM lines would be relevant.

Best regards

@Famlam
Copy link
Collaborator

Famlam commented Nov 15, 2024

@flacombe
Copy link
Contributor Author

Not really, you are pointing to the OSM primitive side of the conflation.

This analyzer is a good example, here: https://github.com/osm-fr/osmose-backend/blob/master/analysers/analyser_merge_forest_compartment_FR.py#L45C28-L45C46 we are using ST_Pointonsurface to convert polygons from opendata into points since Osmose only supports points and ways.

The goal is to support polygons from opendata and conflate them to OSM polygons just like we are doing on ways.

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

No branches or pull requests

2 participants