I am trying to make polygons from a set of boundaries from an SVG file with closed polylines I downloaded off wikipedia.

1) convert SVG to DXF via Inkscape 2) import into QGIS (shows polyline data) 3) Lines > Polygon

somehow the result seems to generate these bad polygons with defects - I attach a screenshot here

I tried re-exporting the file to DXF again, and putting it into a 3d CAD suite (rhino 5). I managed to join the lines without any changes. re-export to DXF, reimport into QGIS, remake polyllines and I get the same result

does anyone have any ideas?

enter image description here

  • This is symptomatic of double digitized points and/or bowtie intersections. There is a really good post gis.stackexchange.com/questions/84820/… that will help you. When faced with this in ArcMap a repair geometry will usually fix the lines before importing. Another trick that can help is putting a fishnet over it and intersecting (leave the lines in), this will break the lines down into smaller chunks so you can find the bad parts quicker and fix in the original. – Michael Stimson Jun 29 '15 at 0:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.