Module Expr Str ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Return orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad handlers ExceptHandler type NameLoad body Pass orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Str orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Str orelse Raise Call NameLoad BinOpMod Str NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad orelse Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str If BoolOpOr UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad NameLoad body Raise NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Str orelse If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Str orelse If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Str orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call NameLoad Call AttributeLoad NameLoad attr Str Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad orelse If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
  The Spatial Reference class, represents OGR Spatial Reference objects.

  Example:
  >>> from django.contrib.gis.gdal import SpatialReference
  >>> srs = SpatialReference('WGS84')
  >>> print(srs)
  GEOGCS["WGS 84",
      DATUM["WGS_1984",
          SPHEROID["WGS 84",6378137,298.257223563,
              AUTHORITY["EPSG","7030"]],
          TOWGS84[0,0,0,0,0,0,0],
          AUTHORITY["EPSG","6326"]],
      PRIMEM["Greenwich",0,
          AUTHORITY["EPSG","8901"]],
      UNIT["degree",0.01745329251994328,
          AUTHORITY["EPSG","9122"]],
      AUTHORITY["EPSG","4326"]]
  >>> print(srs.proj)
  +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
  >>> print(srs.ellipsoid)
  (6378137.0, 6356752.3142451793, 298.25722356300003)
  >>> print(srs.projected, srs.geographic)
  False True
  >>> srs.import_epsg(32140)
  >>> print(srs.name)
  NAD83 / Texas South Central
 ctypes byref c_char_p c_int django.contrib.gis.gdal.base GDALBase django.contrib.gis.gdal.error SRSException django.contrib.gis.gdal.prototypes srs capi django.utils six django.utils.encoding force_bytes force_text SpatialReference N/A GDALBase N/A N/A 
    A wrapper for the OGRSpatialReference object.  According to the GDAL Web site,
    the SpatialReference object "provide[s] services to represent coordinate
    systems (projections and datums) and to transform between them."
     __init__ N/A N/A self srs_input srs_type N/A user N/A N/A 
        Creates a GDAL OSR Spatial Reference object from the given input.
        The input may be string of OGC Well Known Text (WKT), an integer
        EPSG code, a PROJ.4 string, and/or a projection "well known" shorthand
        string (one of 'WGS84', 'WGS72', 'NAD27', 'NAD83').
         N/A N/A srs_type wkt N/A N/A N/A self ptr N/A N/A capi new_srs N/A c_char_p N/A N/A N/A self import_wkt srs_input N/A N/A N/A N/A isinstance srs_input N/A six string_types N/A N/A N/A isinstance srs_input N/A six text_type N/A N/A srs_input N/A N/A srs_input encode ascii N/A N/A N/A srid N/A int srs_input N/A srs_input N/A EPSG:%d srid N/A N/A N/A ValueError N/A N/A N/A N/A N/A isinstance srs_input N/A six integer_types N/A N/A srs_type epsg N/A N/A N/A isinstance srs_input N/A self ptr_type N/A N/A srs srs_input N/A srs_type ogr N/A N/A N/A TypeError N/A Invalid SRS type "%s" srs_type N/A N/A srs_type ogr N/A N/A srs srs_input N/A N/A buf N/A c_char_p N/A srs N/A N/A capi new_srs buf N/A N/A srs N/A N/A N/A SRSException N/A Could not create spatial reference from: %s srs_input N/A N/A N/A self ptr srs N/A N/A srs_type user N/A N/A N/A N/A self import_user_input srs_input N/A N/A N/A srs_type epsg N/A N/A N/A N/A self import_epsg srs_input N/A __del__ N/A N/A self N/A N/A N/A Destroys this spatial reference. N/A N/A N/A N/A N/A capi release_srs N/A self _ptr N/A N/A N/A N/A AttributeError TypeError N/A N/A N/A __getitem__ N/A N/A self target N/A N/A N/A 
        Returns the value of the given string attribute node, None if the node
        doesn't exist.  Can also take a tuple as a parameter, (target, child),
        where child is the index of the attribute in the WKT.  For example:

        >>> wkt = 'GEOGCS["WGS 84", DATUM["WGS_1984, ... AUTHORITY["EPSG","4326"]]'
        >>> srs = SpatialReference(wkt) # could also use 'WGS84', or 4326
        >>> print(srs['GEOGCS'])
        WGS 84
        >>> print(srs['DATUM'])
        WGS_1984
        >>> print(srs['AUTHORITY'])
        EPSG
        >>> print(srs['AUTHORITY', 1]) # The authority value
        4326
        >>> print(srs['TOWGS84', 4]) # the fourth value in this wkt
        0
        >>> print(srs['UNIT|AUTHORITY']) # For the units authority, have to use the pipe symbole.
        EPSG
        >>> print(srs['UNIT|AUTHORITY', 1]) # The authority value for the units
        9122
         N/A N/A isinstance target tuple N/A N/A N/A N/A self attr_value target N/A N/A N/A N/A self attr_value target N/A __str__ N/A N/A self N/A N/A N/A The string representation uses 'pretty' WKT. N/A N/A self pretty_wkt N/A attr_value N/A N/A self target index N/A 0 N/A N/A 
        The attribute value for the given target node (e.g. 'PROJCS'). The index
        keyword specifies an index of the child node to return.
         N/A N/A N/A N/A isinstance target N/A six string_types N/A N/A isinstance index int N/A N/A TypeError N/A N/A N/A capi get_attr_value N/A self ptr N/A force_bytes target index N/A auth_name N/A N/A self target N/A N/A N/A Returns the authority name for the given string target node. N/A N/A N/A capi get_auth_name N/A self ptr N/A force_bytes target N/A auth_code N/A N/A self target N/A N/A N/A Returns the authority code for the given string target node. N/A N/A N/A capi get_auth_code N/A self ptr N/A force_bytes target N/A clone N/A N/A self N/A N/A N/A Returns a clone of this SpatialReference object. N/A N/A SpatialReference N/A N/A capi clone_srs N/A self ptr N/A from_esri N/A N/A self N/A N/A N/A Morphs this SpatialReference from ESRI's format to EPSG. N/A N/A N/A capi morph_from_esri N/A self ptr N/A identify_epsg N/A N/A self N/A N/A N/A 
        This method inspects the WKT of this SpatialReference, and will
        add EPSG authority nodes where an EPSG identifier is applicable.
         N/A N/A N/A capi identify_epsg N/A self ptr N/A to_esri N/A N/A self N/A N/A N/A Morphs this SpatialReference to ESRI's format. N/A N/A N/A capi morph_to_esri N/A self ptr N/A validate N/A N/A self N/A N/A N/A Checks to see if the given spatial reference is valid. N/A N/A N/A capi srs_validate N/A self ptr N/A name N/A N/A self N/A N/A N/A Returns the name of this Spatial Reference. N/A N/A self projected N/A N/A N/A N/A self attr_value PROJCS N/A N/A N/A self geographic N/A N/A N/A N/A self attr_value GEOGCS N/A N/A N/A self local N/A N/A N/A N/A self attr_value LOCAL_CS N/A N/A None N/A property srid N/A N/A self N/A N/A N/A Returns the SRID of top-level authority, or None if undefined. N/A N/A N/A N/A int N/A N/A self attr_value AUTHORITY 1 N/A N/A N/A N/A TypeError ValueError N/A N/A None N/A property linear_name N/A N/A self N/A N/A N/A Returns the name of the linear units. N/A N/A units name N/A N/A capi linear_units N/A self ptr N/A byref N/A c_char_p N/A name N/A property linear_units N/A N/A self N/A N/A N/A Returns the value of the linear units. N/A N/A units name N/A N/A capi linear_units N/A self ptr N/A byref N/A c_char_p N/A units N/A property angular_name N/A N/A self N/A N/A N/A Returns the name of the angular units. N/A N/A units name N/A N/A capi angular_units N/A self ptr N/A byref N/A c_char_p N/A name N/A property angular_units N/A N/A self N/A N/A N/A Returns the value of the angular units. N/A N/A units name N/A N/A capi angular_units N/A self ptr N/A byref N/A c_char_p N/A units N/A property units N/A N/A self N/A N/A N/A 
        Returns a 2-tuple of the units value and the units name,
        and will automatically determines whether to return the linear
        or angular units.
         N/A N/A units name N/A None None N/A N/A N/A self projected N/A self local N/A N/A N/A units name N/A N/A capi linear_units N/A self ptr N/A byref N/A c_char_p N/A N/A N/A self geographic N/A N/A N/A units name N/A N/A capi angular_units N/A self ptr N/A byref N/A c_char_p N/A N/A name None N/A N/A name N/A force_text name N/A N/A units name N/A property ellipsoid N/A N/A self N/A N/A N/A 
        Returns a tuple of the ellipsoid parameters:
         (semimajor axis, semiminor axis, and inverse flattening)
         N/A N/A N/A self semi_major N/A self semi_minor N/A self inverse_flattening N/A property semi_major N/A N/A self N/A N/A N/A Returns the Semi Major Axis for this Spatial Reference. N/A N/A N/A capi semi_major N/A self ptr N/A byref N/A c_int N/A property semi_minor N/A N/A self N/A N/A N/A Returns the Semi Minor Axis for this Spatial Reference. N/A N/A N/A capi semi_minor N/A self ptr N/A byref N/A c_int N/A property inverse_flattening N/A N/A self N/A N/A N/A Returns the Inverse Flattening for this Spatial Reference. N/A N/A N/A capi invflattening N/A self ptr N/A byref N/A c_int N/A property geographic N/A N/A self N/A N/A N/A 
        Returns True if this SpatialReference is geographic
         (root node is GEOGCS).
         N/A N/A bool N/A N/A capi isgeographic N/A self ptr N/A property local N/A N/A self N/A N/A N/A Returns True if this SpatialReference is local (root node is LOCAL_CS). N/A N/A bool N/A N/A capi islocal N/A self ptr N/A property projected N/A N/A self N/A N/A N/A 
        Returns True if this SpatialReference is a projected coordinate system
         (root node is PROJCS).
         N/A N/A bool N/A N/A capi isprojected N/A self ptr N/A property import_epsg N/A N/A self epsg N/A N/A N/A Imports the Spatial Reference from the EPSG code (an integer). N/A N/A N/A capi from_epsg N/A self ptr epsg N/A import_proj N/A N/A self proj N/A N/A N/A Imports the Spatial Reference from a PROJ.4 string. N/A N/A N/A capi from_proj N/A self ptr proj N/A import_user_input N/A N/A self user_input N/A N/A N/A Imports the Spatial Reference from the given user input string. N/A N/A N/A capi from_user_input N/A self ptr N/A force_bytes user_input N/A import_wkt N/A N/A self wkt N/A N/A N/A Imports the Spatial Reference from OGC WKT (string) N/A N/A N/A capi from_wkt N/A self ptr N/A byref N/A c_char_p wkt N/A import_xml N/A N/A self xml N/A N/A N/A Imports the Spatial Reference from an XML string. N/A N/A N/A capi from_xml N/A self ptr xml N/A wkt N/A N/A self N/A N/A N/A Returns the WKT representation of this Spatial Reference. N/A N/A N/A capi to_wkt N/A self ptr N/A byref N/A c_char_p N/A property pretty_wkt N/A N/A self simplify N/A 0 N/A N/A Returns the 'pretty' representation of the WKT. N/A N/A N/A capi to_pretty_wkt N/A self ptr N/A byref N/A c_char_p simplify N/A property proj N/A N/A self N/A N/A N/A Returns the PROJ.4 representation for this Spatial Reference. N/A N/A N/A capi to_proj N/A self ptr N/A byref N/A c_char_p N/A property proj4 N/A N/A self N/A N/A N/A Alias for proj(). N/A N/A self proj N/A property xml N/A N/A self dialect N/A N/A N/A Returns the XML representation of this Spatial Reference. N/A N/A N/A capi to_xml N/A self ptr N/A byref N/A c_char_p dialect N/A property N/A CoordTransform N/A GDALBase N/A N/A The coordinate system transformation object. __init__ N/A N/A self source target N/A N/A N/A Initializes on a source and target SpatialReference objects. N/A N/A N/A N/A isinstance source SpatialReference N/A N/A isinstance target SpatialReference N/A N/A N/A TypeError source and target must be of type SpatialReference N/A N/A self ptr N/A N/A capi new_ct N/A source _ptr N/A target _ptr N/A N/A self _srs1_name N/A source name N/A N/A self _srs2_name N/A target name N/A __del__ N/A N/A self N/A N/A N/A Deletes this Coordinate Transformation object. N/A N/A N/A N/A N/A capi destroy_ct N/A self _ptr N/A N/A N/A N/A AttributeError TypeError N/A N/A N/A __str__ N/A N/A self N/A N/A N/A N/A Transform from "%s" to "%s" N/A N/A self _srs1_name N/A self _srs2_name N/A N/A