- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user