diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/gis/gdal.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/gdal.txt b/docs/ref/contrib/gis/gdal.txt index 3aea16ad36..afddcad094 100644 --- a/docs/ref/contrib/gis/gdal.txt +++ b/docs/ref/contrib/gis/gdal.txt @@ -1204,6 +1204,21 @@ blue. >>> rst.srs.srid 3086 + .. attribute:: srid + + The Spatial Reference System Identifier (SRID) of the raster. This + property is a shortcut to getting or setting the SRID through the + :attr:`srs` attribute. + + >>> rst = GDALRaster({'width': 10, 'height': 20, 'srid': 4326}) + >>> rst.srid + 4326 + >>> rst.srid = 3086 + >>> rst.srid + 3086 + >>> rst.srs.srid # This is equivalent + 3086 + .. attribute:: geotransform The affine transformation matrix used to georeference the source, as a |
