From: | J Fran <jllfnpg(at)hotmail(dot)com> |
---|---|
To: | Lista Correo PostgreSQL <pgsql-admin(at)postgresql(dot)org> |
Subject: | Problem with GeomFromText('POINT(... |
Date: | 2008-04-28 07:34:49 |
Message-ID: | BLU129-W15101F30E08EA814FE3A21BADE0@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
I'm trying upate a group of records. In the table I have 1 field geometry and 2 fields ineteger with long. and lat. everyone. I try to update the field geometry with point(long lat).
I use this update with numbers and this is ok.UPDATE public."Contenedor" SET ubicacion = GeomFromText('POINT(1.9845 49.8543)', 4326) but when i change the number by a field this is not ok. : UPDATE public."Contenedor" SET ubicacion = GeomFromText('POINT(public.Contenedor.long 49.8543)', 4326) I have this error.
ERROR: parse error - invalid geometry Estado SQL:XX000 Contexto:SQL function "geomfromtext" statement 1 Everyone can tell ma some solution please.
Thank you.
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
From | Date | Subject | |
---|---|---|---|
Next Message | Brian Modra | 2008-04-28 07:55:30 | Re: Problem with GeomFromText('POINT(... |
Previous Message | Charles Duffy | 2008-04-27 23:58:28 | Re: warm standby issues |