Ticket #3372 (closed defect: fixed)
dxf does not support OCS
|Reported by:||pooyapm||Owned by:||warmerdam|
Many objects in DXF file use OCS (Object Coordinate Systems) instead of WCS (World coordinate Systems). For example, "LWPOLYLINE" uses OCS for it's vertices. OCS should be converted to WCS when an OGRGeometry is creating. OCS definition is documented in DXF reference. The attached file contains the necessary code for converting OCS to WCS conversion and edited OGRDXFLayer::TranslateLWPOLYLINE() function using this conversion.