Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Dict Assign NameStore Dict Assign NameStore Dict Assign NameStore Dict Assign NameStore Dict Assign NameStore Call NameLoad Assign NameStore Dict Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If CompareIs NameLoad AttributeLoad NameLoad attr body Return BinOpMod Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body If Call NameLoad NameLoad Str body Return Call AttributeLoad AttributeLoad NameLoad attr attr orelse TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Pass TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Pass Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body Return TupleLoad Call NameLoad Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad NameLoad attr Str orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Return NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Return NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Return NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Return NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return TupleLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign NameStore TupleLoad Call NameLoad Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str orelse Return NameLoad If UnaryOpNot NameLoad body Return TupleLoad NameLoad NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse Assign TupleStore NameStore NameStore NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list NameLoad
N/A N/A 
Base/mixin classes for the spatial backend database operations and the
`SpatialRefSys` model the backend.
 N/A re django.contrib.gis gdal django.utils six django.utils.encoding python_2_unicode_compatible BaseSpatialOperations N/A object N/A N/A 
    This module holds the base `BaseSpatialBackend` object, which is
    instantiated by each spatial database backend with the features
    it has.
     N/A distance_functions N/A N/A geometry_functions N/A N/A geometry_operators N/A N/A geography_operators N/A N/A geography_functions N/A N/A gis_terms N/A set N/A truncate_params N/A N/A postgis False N/A spatialite False N/A mysql False N/A oracle False N/A spatial_version None N/A select None N/A geography False N/A geometry False N/A area False N/A centroid False N/A difference False N/A distance False N/A distance_sphere False N/A distance_spheroid False N/A envelope False N/A force_rhr False N/A mem_size False N/A bounding_circle False N/A num_geom False N/A num_points False N/A perimeter False N/A perimeter3d False N/A point_on_surface False N/A polygonize False N/A reverse False N/A scale False N/A snap_to_grid False N/A sym_difference False N/A transform False N/A translate False N/A union False N/A collect False N/A extent False N/A extent3d False N/A make_line False N/A unionagg False N/A geohash False N/A geojson False N/A gml False N/A kml False N/A svg False N/A from_text False N/A from_wkb False convert_extent N/A N/A self box N/A N/A N/A N/A NotImplementedError Aggregate extent not implemented for this spatial backend. N/A convert_extent3d N/A N/A self box N/A N/A N/A N/A NotImplementedError Aggregate 3D extent not implemented for this spatial backend. N/A convert_geom N/A N/A self geom_val geom_field N/A N/A N/A N/A NotImplementedError Aggregate method not implemented for this spatial backend. N/A geo_quote_name N/A N/A self name N/A N/A N/A N/A '%s' name N/A geo_db_type N/A N/A self f N/A N/A N/A 
        Returns the database column type for the geometry field on
        the spatial backend.
         N/A NotImplementedError N/A get_distance N/A N/A self f value lookup_type N/A N/A N/A 
        Returns the distance parameters for the given geometry field,
        lookup value, and lookup type.
         N/A N/A NotImplementedError Distance operations not available on this spatial backend. N/A get_geom_placeholder N/A N/A self f value N/A N/A N/A 
        Returns the placeholder for the given geometry field with the given
        value.  Depending on the spatial backend, the placeholder may contain a
        stored procedure call to the transformation function of the spatial
        backend.
         N/A NotImplementedError N/A get_expression_column N/A N/A self evaluator N/A N/A N/A 
        Helper method to return the quoted column string from the evaluator
        for its expression.
         N/A N/A expr col_tup N/A evaluator cols N/A N/A N/A expr N/A evaluator expression N/A N/A N/A %s.%s N/A tuple N/A map N/A self quote_name col_tup N/A N/A Exception Could not find the column for the expression. N/A spatial_aggregate_sql N/A N/A self agg N/A N/A N/A N/A NotImplementedError Aggregate support not implemented for this spatial backend. N/A spatial_lookup_sql N/A N/A self lvalue lookup_type value field N/A N/A N/A NotImplementedError N/A geometry_columns N/A N/A self N/A N/A N/A NotImplementedError N/A spatial_ref_sys N/A N/A self N/A N/A N/A NotImplementedError N/A N/A SpatialRefSysMixin N/A object N/A N/A 
    The SpatialRefSysMixin is a class used by the database-dependent
    SpatialRefSys objects to reduce redundnant code.
     N/A spheroid_regex N/A N/A re compile .+SPHEROID\[\"(?P<name>.+)\",(?P<major>\d+(\.\d+)?),(?P<flattening>\d{3}\.\d+), N/A units_regex N/A N/A re compile .+UNIT ?\["(?P<unit_name>[\w \'\(\)]+)", ?(?P<unit>[\d\.]+)(,AUTHORITY\["(?P<unit_auth_name>[\w \'\(\)]+)","(?P<unit_auth_val>\d+)"\])?\]([\w ]+)?(,AUTHORITY\["(?P<auth_name>[\w \'\(\)]+)","(?P<auth_val>\d+)"\])?\]$ srs N/A N/A self N/A N/A N/A 
        Returns a GDAL SpatialReference object, if GDAL is installed.
         N/A N/A gdal HAS_GDAL N/A N/A N/A hasattr self _srs N/A N/A N/A N/A N/A self _srs clone N/A N/A N/A N/A N/A self _srs N/A N/A gdal SpatialReference N/A self wkt N/A N/A self srs N/A N/A N/A Exception N/A msg N/A N/A N/A N/A N/A N/A self _srs N/A N/A gdal SpatialReference N/A self proj4text N/A N/A self srs N/A N/A N/A Exception N/A msg N/A N/A N/A N/A Exception N/A Could not get OSR SpatialReference from WKT: %s
Error:
%s N/A N/A self wkt msg N/A N/A N/A Exception GDAL is not installed. 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 gdal HAS_GDAL N/A N/A N/A N/A self srs ellipsoid N/A N/A m N/A N/A N/A self spheroid_regex match N/A self wkt N/A m N/A N/A N/A N/A float N/A N/A m group major N/A float N/A N/A m group flattening N/A N/A None N/A property name N/A N/A self N/A N/A N/A Returns the projection name. N/A N/A N/A self srs name N/A property spheroid N/A N/A self N/A N/A N/A Returns the spheroid name for this spatial reference. N/A N/A N/A self srs N/A spheroid N/A property datum N/A N/A self N/A N/A N/A Returns the datum for this spatial reference. N/A N/A N/A self srs N/A datum N/A property projected N/A N/A self N/A N/A N/A Is this Spatial Reference projected? N/A N/A gdal HAS_GDAL N/A N/A N/A N/A self srs projected N/A N/A N/A N/A N/A self wkt startswith PROJCS N/A property local N/A N/A self N/A N/A N/A Is this Spatial Reference local? N/A N/A gdal HAS_GDAL N/A N/A N/A N/A self srs local N/A N/A N/A N/A N/A self wkt startswith LOCAL_CS N/A property geographic N/A N/A self N/A N/A N/A Is this Spatial Reference geographic? N/A N/A gdal HAS_GDAL N/A N/A N/A N/A self srs geographic N/A N/A N/A N/A N/A self wkt startswith GEOGCS N/A property linear_name N/A N/A self N/A N/A N/A Returns the linear units name. N/A N/A gdal HAS_GDAL N/A N/A N/A N/A self srs linear_name N/A N/A N/A self geographic N/A N/A None N/A N/A m N/A N/A N/A self units_regex match N/A self wkt N/A N/A N/A m group unit_name N/A property linear_units N/A N/A self N/A N/A N/A Returns the linear units. N/A N/A gdal HAS_GDAL N/A N/A N/A N/A self srs linear_units N/A N/A N/A self geographic N/A N/A None N/A N/A m N/A N/A N/A self units_regex match N/A self wkt N/A N/A N/A m group unit 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 gdal HAS_GDAL N/A N/A N/A N/A self srs angular_name N/A N/A N/A self projected N/A N/A None N/A N/A m N/A N/A N/A self units_regex match N/A self wkt N/A N/A N/A m group unit_name N/A property angular_units N/A N/A self N/A N/A N/A Returns the angular units. N/A N/A gdal HAS_GDAL N/A N/A N/A N/A self srs angular_units N/A N/A N/A self projected N/A N/A None N/A N/A m N/A N/A N/A self units_regex match N/A self wkt N/A N/A N/A m group unit N/A property units N/A N/A self N/A N/A N/A Returns a tuple of the units and the name. N/A N/A N/A self projected N/A self local N/A N/A N/A N/A self linear_units N/A self linear_name N/A N/A N/A self geographic N/A N/A N/A N/A self angular_units N/A self angular_name N/A N/A N/A None None N/A property get_units N/A N/A cls wkt N/A N/A N/A 
        Class method used by GeometryField on initialization to
        retrive the units on the given WKT, without having to use
        any of the database fields.
         N/A N/A gdal HAS_GDAL N/A N/A N/A N/A N/A gdal SpatialReference wkt units N/A N/A m N/A N/A N/A cls units_regex match wkt N/A N/A N/A N/A m group unit N/A N/A m group unit_name N/A classmethod get_spheroid N/A N/A cls wkt string N/A True N/A N/A 
        Class method used by GeometryField on initialization to
        retrieve the `SPHEROID[..]` parameters from the given WKT.
         N/A N/A gdal HAS_GDAL N/A N/A srs N/A N/A gdal SpatialReference wkt N/A sphere_params N/A srs ellipsoid N/A sphere_name N/A srs N/A spheroid N/A N/A m N/A N/A N/A cls spheroid_regex match wkt N/A m N/A N/A sphere_params N/A N/A float N/A N/A m group major N/A float N/A N/A m group flattening N/A sphere_name N/A N/A m group name N/A N/A None N/A N/A string N/A N/A N/A sphere_name sphere_params N/A N/A N/A N/A len sphere_params 3 N/A N/A N/A radius flattening N/A N/A sphere_params N/A 0 N/A sphere_params N/A 2 N/A N/A N/A radius flattening sphere_params N/A N/A SPHEROID["%s",%s,%s] N/A sphere_name radius flattening N/A classmethod __str__ N/A N/A self N/A N/A N/A 
        Returns the string representation.  If GDAL is installed,
        it will be 'pretty' OGC WKT.
         N/A N/A N/A N/A N/A six text_type N/A self srs N/A N/A N/A N/A N/A N/A six text_type N/A self wkt N/A N/A python_2_unicode_compatible