[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:  
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'));


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

Can someone explain why that is an invalide geometery?


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

More information about the postgis-users mailing list