Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dynamic Exposure
Global Dynamic Exposure
gde-importer
Commits
9bb33403
Commit
9bb33403
authored
Feb 24, 2022
by
Cecilia Nievas
Browse files
Changed access to parts of Shapely MultiPolygon (Shapely deprecation)
parent
f98a2261
Pipeline
#39306
passed with stage
in 1 minute and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gdeimporter/tools/spatial.py
View file @
9bb33403
...
...
@@ -61,7 +61,7 @@ class SpatialTools:
if
in_geometry
.
geom_type
==
"Polygon"
:
geometries
=
[
in_geometry
]
elif
in_geometry
.
geom_type
==
"MultiPolygon"
:
geometries
=
list
(
in_geometry
)
geometries
=
list
(
in_geometry
.
geoms
)
else
:
raise
OSError
(
"get_quadtiles_in_bbox_of_polygon: argument is not a valid geometry"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment