[GIS] Polyline (shp) layer not displaying correctly in QGIS

displayqgisshapefile

I'm a new QGIS user. I'm trying to convert a polyline vector layer to polygon. I tried to it in ArcMap 10.1 but it misses a lot of polygons. So, I'm attempting to this in QGIS running the process "Lines to Polygons". However, when I load my shapefile into QGIS, it doesnt' display well. Only half of my map and some random spots are shown (I also noticed that in QGIS the attribute tables has way less lines).
I attach two screenshots from the same layer in ArcMap and QGIS.
Thanks in advance,

JF

In Arc
In QGIS

Best Answer

Converting polylines to polygons is not as straight forward operation as it may seem. The "polyline layer" in your example looks to be EXTREMELY complex. The only way for any polyline to polygon operation will succeed is if the all polylines are closed and simple. If there are any dangling lines, duplicate path segments or polylines that are not closed then a polygon will not be created.

Ensure all polylines are simple and closed and try again.