Skip to content

Commit 6a22910

Browse files
authored
Merge pull request #233 from OpenGeoscience/warnings
Fix some warnings
2 parents faed806 + 3b2d3bb commit 6a22910

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

geoinsight/core/tasks/networks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def create_network(vector_data, network_options):
3838
# create one route line from all edges in this group
3939
if len(edges) < 1:
4040
continue
41-
route = edges.unary_union
41+
route = edges.union_all('unary')
4242
if route.geom_type == 'MultiLineString':
4343
route = shapely.ops.linemerge(route)
4444
route = shapely.extract_unique_points(route.segmentize(10))

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
'django-oauth-toolkit==2.4.0',
5151
'djangorestframework==3.15.2',
5252
'django-large-image==0.10.2',
53-
'drf-yasg==1.21.7',
53+
'drf-yasg==1.21.11',
5454
# gdal 3.7 is the newest supported by Django:
5555
# https://docs.djangoproject.com/en/5.0/ref/contrib/gis/install/geolibs/
5656
'gdal==3.7.*',

0 commit comments

Comments
 (0)