I have a dxf file of a town in meter coordinates. I need to extract polylines from the map and convert them to geographical coordinates. My idea is to add 3 or 4 points on the map with known coordinates. I will place them using google map as reference. These 3 or 4 points will be placed at intersections roads so I can not place them as they defined a rectangle (I think it would be simpler). I can not found out what calculation I have to do to convert all the coordinates of the objects of the map.
google map earth radius: 6378137 meter. so, If I consider 3 points, I will have 3 relations: (x1,y1) with (lat1, lng1) (x2,y2) with (lat2, lng2) (x3,y3) with (lat3, lng3)
I have done one simple conversion with only 2 points but I'd like a more accurate result. I preferably use c/c++ to do it.
example of one equivalent point: latitude: -2.148707 longitude: -79.876270 x: 2012078.15 y: 498355.88
It's not a UTM, I verify it from here. Because I do not know if it s a normalized.
I googled a lot, I found libraries, but without knowing if tmy coordinates meet a specific format, I don't think I can use one.
Anyway, thanks to read and I hope someone could help me.