Geospatial mailing list archives

geospatial@odoo-community.org

Avatar

Projection and Default Extent details

by
Magnus
- 16/04/2020 07:09:28
Hi all,

I searched the web for answers but could'n find any help. Hope this is the right place.

I'm trying to develop an app for our customer using the base_geoengine module.
When opening a map view, the default view is Europe somewhere. I can see the default extent is set to ('-123164.85222423, 5574694.9538936, 1578017.6490538, 6186191.1800898'). This must form 2 corners of a rectangle I presume so I tried many things to get New Zealand to show up but didn't succeed.

Can someone explain:
1 - what coordinate system is that?
2 - what each element is (bottom x,bottom y, top x, top y)?
3 - How can I use normal decimal degrees?
4 - If the map view uses a projection of EPSG:900913 must the vector layers also use EPSG:900913?

I have tried an extent of India using this but also failed:


Thanks,


Magnus Kriel

Software Developer, Solnet


Attention: This email may contain information intended for the sole use of the original recipient. Please respect this when sharing or disclosing this email's contents with any third party. If you believe you have received this email in error, please delete it and notify the sender or postmaster@solnetsolutions.co.nz as soon as possible. The content of this email does not necessarily reflect the views of Solnet Solutions Ltd.

Follow-Ups