Fixed condition to no longer raise an error
1 unresolved thread
1 unresolved thread
Compare changes
Files
2+ 11
− 5
@@ -593,18 +593,24 @@ class Quadtile(SpatialFunctions):
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.
Why are you iterating through the geometry and now getting the first element of that list?
changed this line in version 3 of the diff
Good catch. A remnant from debugging.