How to transfer lon&lat of the table planet_osm_nodes into the right form?
I have download downloaded the osm data and import imported to my local database.There database. There is a table called planet_osm_node and two column columns lon and lat. As the descripion description of the osm doc,latitude doc, latitude and longitude are stored as scaled integers with a scale factor of 1e7, so an integer latitude of -412870685 equates to -41.2870685.But I do this to the data, there is still difference with the real coordinate,for example the data is from (485231938,1295641506) to (48.5231938,129.5641506) while the real one is (116.389456757943,39.9061897544305). Is there a function or something to transform between these two forms?forms?
Please help and thank you very much.