I have to two polygon layers, the red layer is the the bottom layer.

enter image description here

The second layer covers most of the bottom layer

enter image description here

I would like to know if there is a tool that will create a polygon layer of just the red parts showing in the second photo.

The parts of image one that are visible in image two?

  • Can you give details?What values do you have to your second image for each color??
    – geo_dd
    Commented Mar 9, 2015 at 9:20
  • pink = road, blue = path
    – Data_101
    Commented Mar 9, 2015 at 9:30
  • Don't you have values(eg road=10)? Perhaps if your files are rasters you can use raster calculator. With an expression you can choose only the red.(eg blue=1, red=2,pink=3. to raster calculator the x_output would be something like: "file_2==2".) If is that all you want to do.
    – geo_dd
    Commented Mar 9, 2015 at 9:37
  • they are both polygon layers
    – Data_101
    Commented Mar 9, 2015 at 9:40

2 Answers 2


If you have an Advanced license, you can use Erase. If you don't, Union is an option: run the tool then delete resulting features with attributes from both inputs and with attributes from the second layer only.


If you're using QGIS you can use the toll Difference that will give you the difference between the two shapes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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