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

do not return duplicate nodes/ways/etc #26

Open
hackergrrl opened this issue Nov 18, 2016 · 0 comments
Open

do not return duplicate nodes/ways/etc #26

hackergrrl opened this issue Nov 18, 2016 · 0 comments

Comments

@hackergrrl
Copy link
Contributor

The OSM API does not permit duplicate IDs to be returned. To this end, osm-p2p-server has a forks option to allow forking data to be opted in to.

However, there is an edge case where one bounding box query might include one fork of a node, and a subsequent bbox query nearby would include another fork of that node in another position.

@gmaclennan has suggested we patch the indexing logic in osm-p2p-db such that bounding box queries that grab a node that has forks will return all forks of that node: this will enable osm-p2p-server to deduplicate accurately on incoming requests.

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

1 participant