[OSM-talk] lat and lon in the db

Parveen Arora mail at parveenarora.in
Wed Jul 27 14:58:21 BST 2011


On Wed, Jul 27, 2011 at 1:29 PM, Kenneth Gonsalves <lawgon at gmail.com> wrote:
> hi,
>
> on querying the db, I get the lat and lon of a particular place as:
>
> lat 145921624 lon 864071554
I was having the same problem, when I have implemented search in my
map tile server.
Actually these are not the latitudes longitudes, I think these are the
x and y co-ordinates.
And these need to be converted on latitude and longitude for using it.



> but the map shows the correct figures:
>
> lat 12.9954832  lon 77.6208684
>
> can anyone explain this?
I have also made the function too convert x,y co-ordinates into lat.
long., but unfortunately I have lost that data.
But I will try to find that and will reply here back If found.


Hope it will help you.


-- 
Parveen Arora
www.parveenarora.in
E-Mail: mail at parveenarora.in



More information about the talk mailing list