[postgis-users] Postgres Polygon to Postgis Geometry

Wagner Santos wagner.desenv at gmail.com
Tue Oct 26 18:17:04 PDT 2010


I created a Postgis Geometry from Postgres Polygon converting them  from
string and using linefromtext to create a geometry but this information
isn't geo.
I have non geo points and I want to convert to my correct position and set
SRID, for example P(70 72) to P(-54 -25), how can I do this?

Thanks!

On Tue, Oct 26, 2010 at 1:18 PM, Wagner Santos <wagner.desenv at gmail.com>wrote:

> Hello,
> I'm new with postgis and I have a legacy database with Postgres Polygon, I
> want to convert this to a Postgis Geometry. Is there a way?
> I try to do with replace string and linefromtext with sucess, but I think
> doesn't better solution because I can't set a valid SRID.
>
> Thanks!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20101026/a6cb5326/attachment.html>


More information about the postgis-users mailing list