Skip to main content

How is KML successfully converted to DWG with projected coordinates?

Converting from DWG to KML, the DWG's coordinate system is set at the reader, and the objects appear in the right place in GE when loaded. Converting it back from KML to DWG however, the objects are in the wrong place. For the DWG writer, the same coordinate system is chosen as before. I've tried using different coordinate systems in the KML reader, and also left both reader and writer empty and used the Reprojector transformer to no avail.

The digits are wrong, so it's not a scale issue.

Thanks for any help.

Hi @apprentice,

This answer here can help you with some tips for how to project KML to DWG correctly: https://knowledge.safe.com/answers/47143/view.html

A couple of noteworthy tips from the answer:

  • "I've tried using different coordinate systems in the KML reader" - setting the correct KML coordinate system is important, the standard for KML is a geographic coordinate system called LL84
  • DWG writer does not store coordinate systems by default, so in the advanced parameters of the writer you will want to specify it to store an "External PRJ" file

These suggestions should help you get the right coordinate system for your DWG output.


Reply