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

Fails to output nodes in close proximity to each other #51

Closed
pnoll1 opened this issue Apr 3, 2020 · 2 comments
Closed

Fails to output nodes in close proximity to each other #51

pnoll1 opened this issue Apr 3, 2020 · 2 comments

Comments

@pnoll1
Copy link

pnoll1 commented Apr 3, 2020

While trying to translate addresses for Spokane county I found that 2043 nodes were being dropped before making it to the xml. They are all nodes that are very close to one another. It's been confirmed that after moving the points away from each other ogr2osm will output the points normally.
Confirmed with custom translation and default translation.

Source:
spokane_co_addresses.geojson.gz

XML output:
spokane_co_addresses_fake_version.osm.gz

@pnoll1
Copy link
Author

pnoll1 commented Apr 11, 2020

This is designed behavior in mergePoints() function. commenting out mergePoints() in main will output all points but also removes roundingDigits funcationality.

A --no-merge option would be nice for this use case. Maybe as an option with help=suppress_help option since people shouldn't unknowingly import points that will be nearly impossible to work with in GUIs.

@roelderickx
Copy link
Collaborator

The points are merged because they have the same coordinates, they are not just in close proximity to each other. Duplicate of #31.

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