fromstr(string, srid=None)
Parameters: | |
---|---|
Return type: |
a |
fromstr(string, srid)
is equivalent to GEOSGeometry(string, srid)
.
Example:
>>> from django.contrib.gis.geos import fromstr >>> pnt = fromstr('POINT(-90.5 29.5)', srid=4326)
fromstr(string, srid=None)
Parameters: | |
---|---|
Return type: |
a |
fromstr(string, srid)
is equivalent to GEOSGeometry(string, srid)
.
Example:
>>> from django.contrib.gis.geos import fromstr >>> pnt = fromstr('POINT(-90.5 29.5)', srid=4326)
Please login to continue.