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.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.LineString.x
  • References/Python/Django/API/GDAL API

x Returns a list of X coordinates in this line: >>>

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

import_xml(xml) Import spatial reference from XML.

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.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
gis.gdal.SpatialReference
  • References/Python/Django/API/GDAL API

class SpatialReference(srs_input) Spatial reference objects are initialized on the given srs_input, which may be

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.OGRGeomType
  • References/Python/Django/API/GDAL API

class OGRGeomType(type_input) This class allows for the representation of an OGR geometry type in any of several ways:

2025-01-10 15:47:30