[postgis-users] Polygon from a set of points

Leonardo Mateo leonardomateo at gmail.com
Tue Jun 12 13:43:10 PDT 2007


On 6/12/07, Kevin Neufeld <kneufeld at refractions.net> wrote:
> I see. Yes, it's certainly possible. Since you are coming straight from
> text, I think the easiest for you would be to use geomfromtext() method.
>
> SELECT GeomFromText('POLYGON((-67.84208673890122 -31.89216012405324,
> -67.84097873325344 -31.8878559482676, ...))');
>
> Note: you can optionally add the SRID of the projection you are in as a
> second parameter if you plan on performing any projection operations.
>
> Is that what you were after?
Thanx!!! That was exactly what I was after. By the way, sorry for the
cross posting, but I don't quite understand the what the SRID is for.
PostGIS docs are not really useful on this topic. Do you know some URL
or something where I can read about? Or maybe I should start another
thread for this?

Thanx a lot for your time, and sorry for the very basic questions.


-- 
Leonardo Mateo.
There's no place like ~



More information about the postgis-users mailing list