1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
"""Proxies for libgeos, GEOS-specific exceptions, and utilities."""
import warnings
import shapely
warnings.warn(
"The 'shapely.geos' module is deprecated, and will be removed in a future version. "
"All attributes of 'shapely.geos' are available directly from the top-level "
"'shapely' namespace (since shapely 2.0.0).",
DeprecationWarning,
stacklevel=2,
)
geos_version_string = shapely.geos_capi_version_string
geos_version = shapely.geos_version
geos_capi_version = shapely.geos_capi_version
|