MCPcopy
hub / github.com/django/django / geodetic

Method geodetic

django/contrib/gis/db/models/fields.py:131–136  ·  view source on GitHub ↗

Return true if this field's SRID corresponds with a coordinate system that uses non-projected units (e.g., latitude/longitude).

(self, connection)

Source from the content-addressed store, hash-verified

129 return get_srid_info(self.srid, connection).units_name
130
131 def geodetic(self, connection):
132 """
133 Return true if this field's SRID corresponds with a coordinate
134 system that uses non-projected units (e.g., latitude/longitude).
135 """
136 return get_srid_info(self.srid, connection).geodetic
137
138 def get_placeholder_sql(self, value, compiler, connection):
139 """

Callers 15

get_distanceMethod · 0.80
get_distanceMethod · 0.80
get_distanceMethod · 0.80
get_distanceMethod · 0.80
as_sqlMethod · 0.80
as_sqliteMethod · 0.80
as_postgresqlMethod · 0.80
as_sqliteMethod · 0.80
as_sqlMethod · 0.80
as_postgresqlMethod · 0.80

Calls 1

get_srid_infoFunction · 0.85

Tested by

no test coverage detected