geos.py 520 B

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