- modified the makefile file (contribution from @Paul Munsch on bitbucket)

- fixed an error from using the latest numpy version regarding missing Inf attribute (now it is inf, lower case)
This commit is contained in:
Marius Stanciu
2025-02-02 03:45:27 +02:00
parent 4bf271c25a
commit 15525b13d4
8 changed files with 37 additions and 10 deletions

View File

@@ -16,7 +16,10 @@ import logging
from copy import deepcopy
import simplejson as json
import sys
from numpy import Inf
try:
from numpy import Inf
except ImportError:
from numpy import inf as Inf
from shapely import Polygon, MultiPolygon, box, Point, LineString, MultiLineString, LinearRing
from shapely.ops import unary_union, linemerge