Hello,

I have a table "test" with 2 columns:
nom: text
localisation:    point NULL

I make this query:

INSERT INTO "test" ("nom", "localisation")
VALUES ('myName', 'ST_GeometryFromText(POINT(2.5 49.0), 4326)');

But I have this error message:

Error in query: ERROR: invalid input syntax for type point:
"ST_GeometryFromText(POINT(2.5559 49.0083), 4326)"
LINE 2: VALUES ('myName', 'ST_GeometryFromText(POINT(2.5 49.0), ...


If I edit the Point syntax, sometimes an error says "ST_GeometryFromText
does not exists"...

Where am I wrong ?
May I have to enable some postGis functions ?
-- 
View this message in context: 
http://old.nabble.com/Insert-a-point-value-%3A-ST_GeometryFromText-unknown-function-tp33073860p33073860.html
Sent from the PostGIS - User mailing list archive at Nabble.com.

_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to