Forum

Author Topic: Export of contours to DXF file  (Read 3696 times)

Kokoi

  • Newbie
  • *
  • Posts: 2
    • View Profile
Export of contours to DXF file
« on: August 01, 2019, 12:15:18 AM »
I have an issue with Contours exported to DXF file. When it is opened in Autocad, the units of exported file are correct in Z direction only. The polylines in the XY plane are a hundred thousand times smaller than they should be. In order to fix it, I have to create block from polylines and set up its scale in X and Y direction to 100.000. The Z axis scale remains set on 1. Than the block decompose again and that's it.

The second issue is that the polylines are exported as 3D polylines. This results in extremely large DXF file. In fact I don't understand why 3D polylines are used. All points at the polyline have the same hight and 2D polylines would be enough. In order to get the file smaller, it is necessary to use Autocad Civil and convert all 3D polylines to 2D polylines.

Am I doing something wrong or do you have any tip how to get the correct DXF file with contours in a easier way?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Export of contours to DXF file
« Reply #1 on: August 01, 2019, 09:57:44 PM »
Hello Kokoi,

I assume that the coordinate system that you are using for export is WGS84 which uses degrees as a units for X and Y coordinates (Longitude and Latitude), while Z is in meters. But Autocad is treating all XYZ values as same units, which lead to the observed issue.

I recommend to use a projected coordinate system for export (like some UTM projection related to the area) if Autocad doesn't support degrees units for X and Y.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Kokoi

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Export of contours to DXF file
« Reply #2 on: August 02, 2019, 11:35:01 PM »
Hello Alexey,

thanks a lot. It really helped. The DXF export must to be set on projected coordinate system. Now it works well.