Closed osmuser63783 closed 8 months ago
I haven't been able to reproduce this (with a recent planet and one from a year ago).
Could you please add this print
statement and tell me at which feature the crash occurs?
for outer_island in islands:
print(f"Checking island: {outer_island}")
inner_islands = islands.within(outer_island)
Thanks!
It happens with https://openstreetmap.org/relation/15441662 and also with https://openstreetmap.org/relation/15763992.
These are multipolygon relations that have relations as members, which they shouldn't... what fun!
By the way, I tried #18 again and it's not working, even though I'm sure I built a new GOL file. I'm going to build a new one and report back, just to be sure.
The PBF file I used was https://planet.openstreetmap.org/pbf/planet-231120.osm.pbf
Thanks, very helpful, this narrows down the issue. The crash occurs during filter construction whenever an area is empty/invalid.
Can confirm this is still an issue with 0.1.2 and a new GOL, whereas #18 is fixed.
This appears to be related to passing a multipolygon to "within": it does not happen when I limit the outer islands to be ways only (
islands = planet("a[place=island,islet]").ways
).I am running geodesk 0.1.0. My "planet" was created using gol-tool 0.1.9.