write(geom)
Returns the WKB of the given geometry as a Python buffer
object. Example:
1 2 3 4 5 | >>> from django.contrib.gis.geos import Point, WKBWriter >>> pnt = Point( 1 , 1 ) >>> wkb_w = WKBWriter() >>> wkb_w.write(pnt) <read - only buffer for 0x103a898f0 , size - 1 , offset 0 at 0x103a89930 > |
Please login to continue.