Closed SimonDanisch closed 1 year ago
We now had another user stumbling upon this error. Did anyone happen to have had a look at this in the meantime?
What I think has happened is that relations have been added to nodes (either a format change or some new data added). The code in parse_osm_buildings_dict
assumes that everything is a way and therefore tries to lookup a node ID in a dictionary of ways. I'll push a PR but will need @captchanjack to check if we need to handle nodes in an additional way, but in the meantime if you could test the PR gets you what you expect that would be helpful please!
So, somehow the OSM building format has changed or something, since this error was not happening some weeks/months ago, and checking out an old version of LightOSM throws exactly the same error:
I could work around by inserting an
haskey
intoparse_osm_buildings_dict
, but I didn't understand the code well enough to make sure it's the correct fix.