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