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

Correcting Relation IDs and Overwriting Tag IDs #234

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AnBowell
Copy link

This pull request contains fixes for #170 and #233 - fixing relation IDs and IDs in tags that overwrite the proper OSM ID.

Addressing #170 first, I found that the IDs from the relations did not need to be delta decoded with the np.cumsum function -
they already match the OSM ID for the relation. The example given in #170 now yields the expected result (and an extra three parks that have been added since the issue was made in 2022).

#233 feels more like a patch to me, but it prevents IDs placed into the tags of buildings overwriting the actual ID from OSM.

Previously, the IDs in the relations were being parsed and delta decoded. I've removed the cumsum and just used the IDs as they are. These seem to match with OSM
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

Successfully merging this pull request may close these issues.

None yet

1 participant