Geospatial mailing list archives

geospatial@odoo-community.org

Avatar

Re: GPS translate

by
Camptocamp SA, Yannick Payot
- 05/10/2017 11:57:07
Geoengine supports a setting of srid. By default it is the 600613 srid.

For GPS the srid is 4326.

You can either use 4326 srid on the fields definition, to avoid any conversion or you should probably convert it before you send it by xmlrpc by doing a reprojection.

Note that changing the srid on existing columns is not implemented for the reprojection, thus if you have an existing database on which you want to change srid you might need to do some SQL querries.

Cheers,

Yannick Vaucher
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 30
Office: +41 21 619 10 10

On 2 October 2017 at 16:16, Giuseppe Flammia <giuseppe.flammia@iquadro.net> wrote:

Hi,

I have installed GeoEngine on Odoo 10.

I'm working with Odoo and Android.

By xml-Rpc, from my android phone, I send the lat/long of the operator that use it.

I need to translate the GPS coordinate in the format GeoPoint.

 

I don't find the function that translate:

GPS lat/long --> GeoPoint

 

can you help me ?

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


Reference