Fixed condition to no longer raise an error
1 unresolved thread
1 unresolved thread
The function that tries to deduce the classification of pure water or land tiles from imported geometries would throw an error (by definition) when the geometry consists of multiple parts that all resolve to the same quadkey.
This MR changes the ValueError
to a warning and adds a check to not add the same quadkey twice.
Edited by Karsten Prehn
Merge request reports
Activity
Filter activity
assigned to @prehn
593 593 assert "geometry" in geometry 594 594 595 595 for geom in geometry["geometry"].to_list(): 596 geom = geometry["geometry"].to_list()[0] changed this line in version 3 of the diff
- Resolved by Karsten Prehn
Please register or sign in to reply