From 7c884afe5acc00d1df83390848227f42918ec0d4 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 13 Oct 2022 19:49:57 +0200 Subject: Refs #23919 -- Updated obsolete buffer() references to memoryview(). Obsolete since 8cdc84726e13da4c796db614765658835d4786a1. --- docs/ref/contrib/gis/geos.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt index 215f612b4a..8f32883cc1 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -181,7 +181,7 @@ Geometry Objects .. class:: GEOSGeometry(geo_input, srid=None) - :param geo_input: Geometry input value (string or buffer) + :param geo_input: Geometry input value (string or :class:`memoryview`) :param srid: spatial reference identifier :type srid: int @@ -206,14 +206,14 @@ The ``srid`` parameter, if given, is set as the SRID of the created geometry if The following input formats, along with their corresponding Python types, are accepted: -======================= ========== +======================= ============== Format Input Type -======================= ========== +======================= ============== WKT / EWKT ``str`` HEX / HEXEWKB ``str`` -WKB / EWKB ``buffer`` +WKB / EWKB ``memoryview`` :rfc:`GeoJSON <7946>` ``str`` -======================= ========== +======================= ============== For the GeoJSON format, the SRID is set based on the ``crs`` member. If ``crs`` isn't provided, the SRID defaults to 4326. -- cgit v1.3