[postgis-users] Help with simple query

Adam Vande More adam at imedmobility.com
Mon Aug 25 09:55:21 PDT 2008


 From the example here:  
http://postgis.refractions.net/documentation/manual-1.3/ch04.html#id2620496
This query works perfectly

INSERT INTO phone_points ( the_geom ) VALUES ( 
GeomFromText('POINT(-79.988 40.449)'));

However this one fails

INSERT INTO phone_points ( the_geom ) VALUES ( 
GeomFromText('POINT(-122.38 37.731'));

with

ERROR: parse error - invalid geometry
SQL state: XX000
Context: SQL function "geomfromtext" statement 1

Can someone explain why that is an invalide geometery?

Thanks

-- 
Adam Vande More
Systems Administrator
IMED Mobility
(605) 498-1610 




More information about the postgis-users mailing list