You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try:
fromshapely.geometryimportLineStringfromshapely.opsimportpolygonizeexceptImportError:
raiseImportError("Shapely is a required package to use alpha_shapes")
try:
fromgeopandasimportGeoSeriesexceptImportError:
raiseImportError("Geopandas is a required package to use alpha_shapes")
If geopandas is available, then a working install of shapely should also be available. However, to be on the safe side the function could be decorated with requires('geopandas', 'shapely')
Platform information:
posix darwin
posix.uname_result(sysname='Darwin', nodename='The-Gaboardi.local', release='18.2.0', version='Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64', machine='x86_64')
Python version:
3.6.6 | packaged by conda-forge | (default, Jul 26 2018, 09:55:02)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)]
SciPy version:
1.1.0
NumPy version:
1.14.3
The text was updated successfully, but these errors were encountered:
Is there a reason not to use the
requires('geopandas')
decorator foralpha_shape()
andalpha_shape_auto()
, rather than the following inalpha_geoms()
?If
geopandas
is available, then a working install ofshapely
should also be available. However, to be on the safe side the function could be decorated withrequires('geopandas', 'shapely')
Platform information:
posix darwin
posix.uname_result(sysname='Darwin', nodename='The-Gaboardi.local', release='18.2.0', version='Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64', machine='x86_64')
Python version:
3.6.6 | packaged by conda-forge | (default, Jul 26 2018, 09:55:02)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)]
SciPy version:
1.1.0
NumPy version:
1.14.3
The text was updated successfully, but these errors were encountered: