- 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

@@ -20,7 +20,10 @@ import numpy as np
import simplejson as json
import sys
import traceback
from numpy import Inf
try:
from numpy import Inf
except ImportError:
from numpy import inf as Inf
from shapely import LineString, Polygon, MultiLineString, MultiPolygon, Point, LinearRing
from shapely.geometry import base