Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 4 down vote accepted

The 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


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.