[postgis-users] st_makeline
Bob Pawley
rjpawley at shaw.ca
Sun May 4 15:15:05 PDT 2008
Hi
I am trying to learn the basics of Postgis by populating a table with
various geometries.
When I run this -
Insert into graphics.process (the_geom) values (st_makepoint(0 2));
it results in a point which I can see on the viewer.
However, when I run the following, or any variation of coordinate syntax to
obtain a line, I get a syntax error.
Insert into graphics.process (the_geom) values (st_makeline (0 2), (0 1));
Or
Insert into graphics.process (the_geom) values (st_makeline (0 2, 0 1));
Or
Insert into graphics.process (the_geom) values (st_makeline (0 2 0 1));
Or
Insert into graphics.process (the_geom) values (st_makeline (0, 2, 0, 1));
Or
Insert into graphics.process (the_geom) values (st_makeline (0, 2), (0, 1));
Any thoughts would be appreciated.
Bob
More information about the postgis-users
mailing list