diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-10-13 19:49:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-13 19:49:57 +0200 |
| commit | 7c884afe5acc00d1df83390848227f42918ec0d4 (patch) | |
| tree | 2835e4c2138c63440001130052f4061abdbb25f6 /docs | |
| parent | da2621c3dfef934000c479750e0276d992025542 (diff) | |
Refs #23919 -- Updated obsolete buffer() references to memoryview().
Obsolete since 8cdc84726e13da4c796db614765658835d4786a1.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/gis/geos.txt | 10 |
1 files changed, 5 insertions, 5 deletions
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. |
