Creating (manually transforming) a DXF in WGS84 lon/lat coordinates. In which coordin

المشرف العام

Administrator
طاقم الإدارة
I've got a DXF file that represent a map with lines, texts, and some symbols (blocks in DXF). I need to transform coordinates from a local cartesian system to WGS84 lon/lat coordinates, maintaining the DXF format.

I managed to change all occurrences of X and Y coordinates to Lat and Lon reading all the DXF lines and substituting the coordinates with a program written by myself.

The only problem that I still have is in BLOCKS:

there are many blocks defined in the original file, and I don't understand how can define these blocks in Lon/Lat coordinates. If I leave them as they originally are (in cartesian coord) the blocks are created enormous, but also transforming them from X and Y to Lon/Lat they are not corresponding to the original ones.

What am I missing?



أكثر...
 
أعلى