gis.gdal.GDALRaster.srid

srid

New in Django 1.10.

The Spatial Reference System Identifier (SRID) of the raster. This property is a shortcut to getting or setting the SRID through the 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
doc_Django
2016-10-09 18:37:48
Comments
Leave a Comment

Please login to continue.