pyrosm icon indicating copy to clipboard operation
pyrosm copied to clipboard

Correcting Relation IDs and Overwriting Tag IDs

Open AnBowell opened this issue 10 months ago • 0 comments

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.

AnBowell avatar Apr 10 '24 12:04 AnBowell