0

I have a number of polygons in a layer (old rehabilitation areas) and want to be able to selectively bring one to top and use this to cut a hole in the others and fill this with the cutting polygon information (rework rehabilitation). Is this easy to do in QGIS? I know I can use the add ring to put a hole in a single polygon but this uses a drawn polygon (selection of a polygon to use for cutting not available?) and produces an actual hole; similiarly add feature requires the digitising of a polygon. So I require the following:

1) Selectively bring a polygon to the top (is there a bring to front function?) 2) Select the now top polygon to use as a cutter 3) Cut top polygon shape out of underlying polys, this hole to be filled with cutting poly info. Thus leave a layer containing non-overlapping polygons.

UPDATE. I've found I can get this to work using using the Difference tool.

1) Separate the overlying polygons into their own layer 2) Make base polygon layer editable 3) Use the Difference tool to cut out the overlying polygon shapes in the base polygons 4) Copy and paste the overlying polygons into the base cutouts

Is there a quicker way? Also can this be done easily in ArcGIS? Thanks.

  • In ArcGIS it's called 'erase' and is quite easy :-) – MartinHvidberg Oct 11 '16 at 20:08
0

1) Separate the overlying polygons into their own layer 2) Make base polygon layer editable 3) Use the Difference tool to cut out the overlying polygon shapes in the base polygons 4) Copy and paste the overlying polygons into the base cutouts

  • I have tried this and get the error message: "global name 'QgsWKBTypes' is not defined, see log for more details" when I try to run the difference tool? Both polygons are in the same projection and on separate layers. Any ideas? – Lisa SH Dec 7 '16 at 13:05

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.