Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to convert some MapInfo files to .dxf format using OGR2OGR using the following command:

OGR2OGR -f "DXF" "input.dxf" "output.TAB" -overwrite -skiperrors

When I run this I am getting a lot of errors which say "DXF layer does not support arbitrary field creation, field 'xref' not created".

Can you not attach data to records in DXF files?

I am also getting the error "No known way to write feature with geometry 'none'" and the same for "Multi Point".

Which geometry types can DXF support?

Update: In Mapbasic the Export command allows exporting to DXF, thereby negating the need to use OGR2OGR.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Can you not attach data to records in DXF files?

Not currently. The author of the ogr dxf provider decided it was to much of a pain to handle attributes for dxfs (trying to find quote now)

Which geometry types can DXF support?

The dxf driver page has more details: http://www.gdal.org/ogr/drv_dxf.html

share|improve this answer
    
So DXF can have data attached, but OGR just can't handle it? Good answer. Thanks! –  Mr_Chimp Jan 19 '12 at 13:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.