Geospatial mailing list archives

geospatial@odoo-community.org

Avatar

Re: From geoPoint to LatLog

by
Acsone SA/NV, Laurent Mignon
- 08/02/2018 12:07:48
Hi,

You can use SQL operators provided by postgis...
ST_X(ST_TRANSFORM(my_col_point, srid)) -> longitude
ST_Y(ST_TRANSFORM(my_col_point, srid)) ->latitude

Regards

lmi

On Thu, Feb 8, 2018 at 11:01 AM, Giuseppe Flammia <giuseppe.flammia@iquadro.net> wrote:
Goodmorning,

my question is:

I have a GeoPoint and I wish to convert it in Lat/long for maps of Google.

In the source code of geoengine I don't found a function that transforms 
geopoint in lat/long.

Is there a function or something that convert GeoPoint in Lat/Long ?


Thanks

_______________________________________________
Mailing-List: https://odoo-community.org/groups/geospatial-48
Post to: mailto:geospatial@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe




--
Laurent Mignon
Senior software engineer

Tel: +352 20 21 10 20 32
Fax: +352 20 21 10 21
Email: laurent.mignon@acsone.eu


Acsone SA, Succursale de Luxembourg 
22, Zone Industrielle
​ ​
​| L-8287 Kehlen, Luxembourg
TVA LU24733605
​ | ​RCS B160400​

Acsone sa/nv
Waterloo Atrium, Drève Richelle 167
 | B-1410 Waterloo
RPM Bruxelles 0835.207.216 RPR Brussel  




Reference