- changed the shapely imports a bit according to the specifications of Shapely 2.0

- changed the requirements.txt file to reflect the need for at least Shapely in version 2.0
This commit is contained in:
Marius Stanciu
2023-04-15 21:03:30 +03:00
parent 6f93734d3f
commit ccc71eabc2
64 changed files with 74 additions and 65 deletions

View File

@@ -18,7 +18,8 @@ import simplejson as json
import sys
import traceback
from shapely.geometry import LineString, Polygon, MultiPolygon, MultiLineString, base, LinearRing
from shapely import LineString, Polygon, MultiPolygon, MultiLineString, LinearRing
from shapely.geometry import base
from shapely.ops import unary_union, nearest_points
import gettext