gis.gdal.SpatialReference.attr_value()

attr_value(target, index=0) The attribute value for the given target node (e.g. 'PROJCS'). The index keyword specifies an index of the child node to return.

gis.gdal.Polygon.exterior_ring

exterior_ring An alias for shell.

gis.gdal.SpatialReference

class SpatialReference(srs_input) Spatial reference objects are initialized on the given srs_input, which may be one of the following: OGC Well Known Text (WKT) (a string) EPSG code (integer or string) PROJ.4 string A shorthand string for well-known standards ('WGS84', 'WGS72', 'NAD27', 'NAD83') Example: >>> wgs84 = SpatialReference('WGS84') # shorthand string >>> wgs84 = SpatialReference(4326) # EPSG code >>> wgs84 = SpatialReference('EPSG:4326') # EPSG string &

gis.gdal.SpatialReference.angular_name

angular_name Returns the name of the angular units.”

gis.gdal.Polygon.shell

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

gis.gdal.Polygon.centroid

centroid Returns a Point representing the centroid of this polygon.

gis.gdal.Point.z

z Returns the Z coordinate of this point, or None if the point does not have a Z coordinate: >>> OGRGeometry('POINT (1 2 3)').z 3.0

gis.gdal.Polygon

class Polygon shell Returns the shell or exterior ring of this polygon, as a LinearRing geometry. exterior_ring An alias for shell. centroid Returns a Point representing the centroid of this polygon.

gis.gdal.Point.y

y Returns the Y coordinate of this point: >>> OGRGeometry('POINT (1 2)').y 2.0

gis.gdal.Point.x

x Returns the X coordinate of this point: >>> OGRGeometry('POINT (1 2)').x 1.0