MCPcopy
hub / github.com/django/django / read

Method read

django/contrib/gis/geos/io.py:20–22  ·  view source on GitHub ↗

Return a GEOSGeometry for the given WKB buffer.

(self, wkb)

Source from the content-addressed store, hash-verified

18# Public classes for (WKB|WKT)Reader, which return GEOSGeometry
19class WKBReader(_WKBReader):
20 def read(self, wkb):
21 "Return a GEOSGeometry for the given WKB buffer."
22 return GEOSGeometry(super().read(wkb))
23
24
25class WKTReader(_WKTReader):

Callers 13

test03_wkbreaderMethod · 0.95
loadMethod · 0.45
_post_processMethod · 0.45
read_manifestMethod · 0.45
compress_kmlFunction · 0.45
readMethod · 0.45
_from_pickle_wkbMethod · 0.45
_from_wkbMethod · 0.45
_from_wktMethod · 0.45
__init__Method · 0.45
fromfileFunction · 0.45
convert_extentMethod · 0.45

Calls 1

GEOSGeometryClass · 0.90

Tested by 1

test03_wkbreaderMethod · 0.76