class SpatialRefSysMixin:
Known subclasses: django.contrib.gis.db.backends.oracle.models.OracleSpatialRefSys
, django.contrib.gis.db.backends.postgis.models.PostGISSpatialRefSys
, django.contrib.gis.db.backends.spatialite.models.SpatialiteSpatialRefSys
Class Method | get_spheroid |
Class method used by GeometryField on initialization to retrieve the SPHEROID[..] parameters from the given WKT. |
Class Method | get_units |
Return a tuple of (unit_value, unit_name) for the given WKT without using any of the database fields. |
Method | __str__ |
Return the string representation, a 'pretty' OGC WKT. |
Property | angular_name |
Return the name of the angular units. |
Property | angular_units |
Return the angular units. |
Property | datum |
Return the datum for this spatial reference. |
Property | ellipsoid |
Return a tuple of the ellipsoid parameters: (semimajor axis, semiminor axis, and inverse flattening). |
Property | geographic |
Is this Spatial Reference geographic? |
Property | linear_name |
Return the linear units name. |
Property | linear_units |
Return the linear units. |
Property | local |
Is this Spatial Reference local? |
Property | name |
Return the projection name. |
Property | projected |
Is this Spatial Reference projected? |
Property | spheroid |
Return the spheroid name for this spatial reference. |
Property | srs |
Return a GDAL SpatialReference object. |
Property | units |
Return a tuple of the units and the name. |
SPHEROID[..]
parameters from the given WKT.