MCPcopy
hub / github.com/django/django / name

Method name

django/contrib/gis/gdal/srs.py:197–206  ·  view source on GitHub ↗

Return the name of this Spatial Reference.

(self)

Source from the content-addressed store, hash-verified

195 # #### Name & SRID properties ####
196 @property
197 def name(self):
198 "Return the name of this Spatial Reference."
199 if self.projected:
200 return self.attr_value("PROJCS")
201 elif self.geographic:
202 return self.attr_value("GEOGCS")
203 elif self.local:
204 return self.attr_value("LOCAL_CS")
205 else:
206 return None
207
208 @property
209 def srid(self):

Callers

nothing calls this directly

Calls 1

attr_valueMethod · 0.95

Tested by

no test coverage detected