[postgis-users] ST_MakePolygon
Aglaia Ntriva
aglntriva at gmail.com
Tue Mar 22 12:53:57 PDT 2011
I am new in postgis and I have a problem.
Does anybody have an idea why I receive this error
*Syntax error at or near “ 4105011” *
* SQL state 42601*
**
when I try to execute a simple SELECT like this
"SELECT
ST_MakePolygon(ST_GeomFromText(’LINESTRING(326933 4105011, 323986 4103056,
326327 4098897, 333212 4099338, 335437 4101348, 333570 4103882, 326933
4105011)’);"
I receive the same error even with the example of the postgis documentation
"SELECT ST_MakePolygon(ST_GeomFromText(’LINESTRING(75.15 29.53,77 29,77.6
29.5, 75.15 29.53) ’));"
Aglaia.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110322/f6c29a2b/attachment.html>
More information about the postgis-users
mailing list