gis.gdal.Layer.field_precisions
  • References/Python/Django/API/GDAL API

field_precisions Returns a list of the numeric precisions for each of the fields in this layer. This is meaningless (and set

2025-01-10 15:47:30
gis.gdal.SpatialReference.proj
  • References/Python/Django/API/GDAL API

proj Returns the PROJ.4 representation for this spatial reference.

2025-01-10 15:47:30
gis.gdal.Layer.num_feat
  • References/Python/Django/API/GDAL API

num_feat Returns the number of features in the layer. Same as len(layer):

2025-01-10 15:47:30
gis.gdal.Polygon.shell
  • References/Python/Django/API/GDAL API

shell Returns the shell or exterior ring of this polygon, as a LinearRing geometry.

2025-01-10 15:47:30
gis.gdal.OGRGeometry.hex
  • References/Python/Django/API/GDAL API

hex Returns a string representation of this geometry in HEX WKB format:

2025-01-10 15:47:30
gis.gdal.GDALBand.data()
  • References/Python/Django/API/GDAL API

data(data=None, offset=None, size=None, shape=None) New in Django 1.9.

2025-01-10 15:47:30
gis.gdal.GDALRaster.name
  • References/Python/Django/API/GDAL API

name The name of the source which is equivalent to the input file path or the name provided upon instantiation.

2025-01-10 15:47:30
gis.gdal.OGRGeometry.within()
  • References/Python/Django/API/GDAL API

within(other) Returns True if this geometry is contained within the other, otherwise returns False

2025-01-10 15:47:30
gis.gdal.GDALRaster.srs
  • References/Python/Django/API/GDAL API

srs The spatial reference system of the raster, as a SpatialReference instance. The SRS can be changed by setting

2025-01-10 15:47:30
gis.gdal.OGRGeomType.num
  • References/Python/Django/API/GDAL API

num Returns the number corresponding to the OGR geometry type:

2025-01-10 15:47:30