Skip to content

Commit 76c4254

Browse files
committed
safeguard shapely geometry
1 parent 77a69e1 commit 76c4254

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pygeoapi/provider/csv_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import itertools
3333
import logging
3434

35-
from shapely import box, Point
35+
from shapely.geometry import box, Point
3636

3737
from pygeoapi.provider.base import (BaseProvider, ProviderInvalidQueryError,
3838
ProviderItemNotFoundError,

pygeoapi/provider/geojson.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import os
3434
import uuid
3535

36-
from shapely import box, from_geojson
36+
from shapely.geometry import box, from_geojson
3737

3838
from pygeoapi.provider.base import BaseProvider, ProviderItemNotFoundError
3939
from pygeoapi.util import crs_transform

0 commit comments

Comments
 (0)