I'm exporting data in state plane coordinate system to DXF:

ogr2ogr -f 'DXF' outfile.dxf infile.shp

The units of the projection are feet, but the DXF exporter sets the $INSUNITS to inches (1). I can manually set the units by editing the file with a text editor, but is there a way to do it automatically with ogr2ogr? I see mention of using a custom header, but I don't know the the format or syntax I'd use to do that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.