3

I have a large polygon, of about a size of a municipality and i want to split it in about 12 - 13 pieces by using a related layer of either polylines or polygons (buffered polylines).

I tried using the Digitizing tools plugin but without success. I merge all the polylines or all the buffered polylines in order to have one feature that will be used to cut my municipality-polygon but it just does not work, without even have an error message. It just loads for a sec and then the municipality - polygon in still the same.

I also tried the erase function (difference) but i do now know if there is a way to split it after it is clipped.

  • Do you have a test dataset you could share? – lynxlynxlynx May 3 '18 at 14:39
1

To split a polygon with lines, use the Split with Lines tool. This tool is available in the processing toolbox.

Lines and polygons before splitting:

enter image description here

Split with Lines Tool Settings:

enter image description here

New Split layer created by tool:

enter image description here


To split a polygon with buffered lines (i.e. another polygon layer), use the Union tool. First, add a field to the polygon layer called "source layer". Type 'polygon layer' into that field for every polygon.

Buffered lines and polygon before splitting:

enter image description here

Union tool settings:

enter image description here

Union tool output (contains features from both input layers): enter image description here

Open the attribute table for the Union layer. Select and delete all features that have null values for "source layer."

enter image description here

0

You could use symmetrical difference to cut the polygons and buffered polylines out of your municipality polygon And then copy and paste them back into your new symmetrical difference layer.

0

You could use the "Feature to Polygon" tool. The input would be both the municipality and the shapefile of what you want the municipality subdivided by.

  • Sorry MoreMeowbell but I cannot find the tool you mention. Is it in QGIS? Is it a plugin? If it is a plugin is that the official name of the plugin? – sgarapostathis May 4 '18 at 10:46
  • I don't currently have access to QGIS right now (I've used it in the past before). Have you tried the Split Polygon plugin? It seems like this would be the equivalent. Wish I could try it out in Q first before posting this though. plugins.qgis.org/plugins/SplitPolygon-master – MoreMeowbell May 4 '18 at 14:01

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.