3

Here is my question:

  • I have a polygon shapefile represent the whole country area.
  • A polyline shapefile(with a bunch of line boundaries) represent the province boundaries

So, how to decompose the polygon by the polyline inside and get the shapefile file with each province independently?

I'm a new user of QGIS.

I have done the work of combine inner/outer boundaries using MMQGIS->merge layershows like this:

http://i4.tietuku.com/cfcd52e6886109fa.png

But the next step Change this polylines into polygons I can't cope with

  • The post about cut the shapefile using digitizing tools didn't work for me
  • When I use vector -> Geometry tools -> polyline to polygon, the result shows like this:

http://i4.tietuku.com/7bcda0980879ff24.png

It seems that the inner boundaries had none effect.

Han Zhengzu
  • 355
  • 4
  • 14
  • 2
  • 1
    Most welcome! The tool suggested in the post allows for selected polygons to be split by a single line. If you have multiple lines in your line layer, you could dissolve them into a single line. – Joseph Jan 15 '16 at 11:57
  • 2
    If both the polygon and the interior polylines are not coming from the same data source it is very likely to deal with precision issues. Eg polylines actually do not touch or cross the boundary. In this case it might be an option to convert the polygon to polylines, construct a topological correct polyline mesh, and convert to polygons. Dangling lines, undershot are keywords to search for. – Detlev Jan 15 '16 at 16:46

1 Answers1

1

I think you're asking the same thing here as in your other question How to combine two polyline shapefile together. See my answer to that question.

SpatialSuccess
  • 545
  • 2
  • 10