MCPcopy
hub / github.com/django/django / import_user_input

Method import_user_input

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

Import the Spatial Reference from the given user input string.

(self, user_input)

Source from the content-addressed store, hash-verified

311 capi.from_proj(self.ptr, proj)
312
313 def import_user_input(self, user_input):
314 "Import the Spatial Reference from the given user input string."
315 capi.from_user_input(self.ptr, force_bytes(user_input))
316
317 def import_wkt(self, wkt):
318 "Import the Spatial Reference from OGC WKT (string)"

Callers 1

__init__Method · 0.95

Calls 1

force_bytesFunction · 0.90

Tested by

no test coverage detected