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.

When i load a dxf into QGIS all the layers are present in the attribute table. Is it possible to split this "entities" layer in QGIS into its component parts and save each component part as an individual shapefile.

I am at present selecting each layer and right clicking and saving as .shp. But is there a fast way because this way is time consuming and boring!

Cheers.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

You wil need to define a field to split them with, if you don't already have one.
Then use the split layer.
split layer

share|improve this answer
    
Excellent. Stupid me did not think of the dxf as a vector layer despite the fact i added it as one. Spot on. Thanks. –  Gerald Feb 8 '13 at 10:08

I do that before I load the dxf into QGIS. I use DoubleCAD XT (which is free) to export one layer at a time from the cad package.

DoubleCAD is also useful for going the other way, dxfs out of QGIS aren't very appealing to other users, but if you open them in DoubleCAD and save them as DWG I find I get better results. Often I will rebuild the layers in this way as well.

share|improve this answer
    
Good answer. However, it may be me looking for a quick way to do it, but is there a way (similar to how i can classify the layers and assign different colour) when two clicks and it dismantle the entire layer? –  Gerald Feb 7 '13 at 11:26

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.