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.

Today I was trying to import a DXF to Qgis, the result is that qgis displays everything LINES and POINTS but it only displays options for the POINT objects. When I try to export to a shapefile, it throws an error (Can't export LINES). When I try to export to geojson, that's ok, it exports everything.

What I want is to separate POINTS from LINES so I can work with them. Is there any workaround or suggestion on how to do that?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

The v.in.ogr.dxf module of GRASS (also available in QGIS trough the QGIS/GRASS plugin) works better (in same cases) than the OGR driver (that QGIS uses to handle DXFs). Once imported it in a GRASS location/mapset you can easy export by just clicking "save as...".

share|improve this answer

The dxf is an ascii file.
You probably could copy your orig dxf 2 times and then just delete the line section from one,
and the point section from the other.
should be group code 10.

dxf group codes

share|improve this answer

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.