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.

This may see like a stupid question, but I'm new to QGIS, so please bear with me.

I'm having a problem when saving as .dxf. I export a building layer (polygons) as a .dxf file However in AutoCAD it turns up as a hatch instead of as a closed polyline which is what I'm looking for. I can of course recreate the boundary in AutoCAD, but I would rather just save the data correctly in QGIS.

Can anyone help?

thank you in advance & best regards Martin

share|improve this question
    
I had the same problems, but with buildings in a polygon layer. Using vector -> geometry tools -> from polygons to lines (Using italian version, don't know if this is the exact translation) and saving the new layer as DXF solved the problem. Not much of a help if yours is a line layer already (or maybe what you call closed polylines are in fact polygons?) –  sanzoghenzo Oct 22 '13 at 9:42
    
Thanks for the answer. You're right - the issue is with polygons and not polylines. You solution almost worked, but the result was grouped seperate lines in AutoCAD in stead of the closed polylines, which is what I'm looking for. –  Martin Oct 22 '13 at 10:54
    
Strange, using this method and opening the dxf in draftsight I get polylines (non-closed polylines). You can always use the pedit command to convert lines to polylines, join and close them all at once. –  sanzoghenzo Oct 23 '13 at 13:57
    
You're right, and your answer was very useful. Now I'm just wondering if QGIS can export closed polylined instead of non-closed. I'm nitpicking I know :) –  Martin Oct 23 '13 at 15:06

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.