MCPcopy
hub / github.com/django/django / srid

Method srid

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

Return the SRID of top-level authority, or None if undefined.

(self)

Source from the content-addressed store, hash-verified

207
208 @property
209 def srid(self):
210 "Return the SRID of top-level authority, or None if undefined."
211 try:
212 return int(self.auth_code(target=None))
213 except (TypeError, ValueError):
214 return None
215
216 # #### Unit Properties ####
217 @property

Callers

nothing calls this directly

Calls 1

auth_codeMethod · 0.95

Tested by

no test coverage detected