2

If there is a gap between two polygons is it possible to fill it? Much like what happens using the hatch function in AutoCAD. The output would be a new polygon in place of the gap.

2

I don't know if QGIS has such tool but you can find that from OpenJUMP. The name of the tool is "Create Polygon from Closed Area.

enter image description here

For using the tool just click inside the closed area. New polygon can be created on any layer and in the image below I put into the red layer.

enter image description here

The tool is also topological and the closed area is searched by analysing all visible layers of the project. Here, find the closed area between green and red polygons and place the new polygon into orange layer.

enter image description here

OpenJUMP can save the result as shapefile or as OpenJUMP JML format. QGIS can read both and you can continue your work with QGIS, which is much more advanced software in many other areas.

1

I think this is what you're looking for: QGIS - Creating a new polygon layer from the space between other layers

Otherwise you can use the tracing tool and digitize it yourself.

1

In QGIS, I recommend Digitizing Tools plugin.

Once installed, you will see a new DigitizingTools Toolbar. enter image description here

It has many icons, but what you need is Fill gaps which is 9th icon from the left.

By clicking on a small triangle button, you can select your desired tool from two options:

enter image description here Fill gap with a new feature (interactive mode), or

enter image description here Fill all gaps between selected polygons with new features.

First one is Interactive mode which allows you to select the gap you want to fill. And the second one will fill all gaps at once.

One good thing about this tool is that the polygons surrounding the gaps do not have to be topologically correct- They can overlap each other. (Just make sure the gap is a closed area).

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.