Hi, I have to convert between dxf and dwf formats. When convxersion is from dxf to dwg everything is fine, geoms are valid but when i try convert the same dxf file (with EPSG:2177) to DWF then DWF is empty. From GUI everything is fine.
Moreover when dxf file is in EPSG:4326 (WGS84) crs then conversion works but geoms are invalid (simplified in some way?)
Steps dwf: KML → DXF with GDAL and then DXF → DWF with QCAD.
When i try convert dxf in EPSG:2177 to DWF then got exception
terminate called after throwing an instance of 'OdError_NotThatKindOfClass'
The DWF file loads into QCAD reporting R32 (2018) DWF Drawing (OpenDesign) (*.dwf)
You mention ‘Invalid geom’ or ‘empty’ but that file uses some kind of ‘viewportx’ block (where x counts up in the same session)
The block contains one polyline with (also) 15 nodes and is in total 0.01889777 long.
The file is probably nothing more than corrupted.
Ad frist: I export data from our gis software as kml - kml is only in WGS84, and then with gdal convert from WGS84 to EPSG:2177 and QGIS display it in proper place.
Ad second: not matter which. All are ok
Ad third: I know that DWF isn’t listed but i hope its possible…
Original dwg (from autodesk soft) converts properly to dwf with CLI.
Also dwg created with QCAD GUI can be converted to dwf with CLI.
My custom DXF converts properly to DWG with QCAD but conversion this dwg to dwf fails.
What is so special in autodesk’s dwg that it converts properly?
Additional scenario: DXF file converted to DWG with GUI and with CLI has the same size.
This one created by gui converted to dwf with CLI works perfectly but the one created with CLI doesnt… This is little sensless…