Questions tagged [polygon]
On a map, a closed shape defined by a connected sequence of x,y coordinate pairs, where the first and last coordinate pair are the same and all other pairs are unique.
850 questions
129
votes
8
answers
401k
views
Calculating polygon areas in shapefile using QGIS
How do I calculate areas of an area shapefile in square meters (m²) or in acres (ha)?
I didn't find that functionality in the Vector Tools.
27
votes
6
answers
29k
views
Finding centrelines from polygons in QGIS
I was wondering if there is a way to create center lines from polygons in QGIS?
I have a polygon layer, but ideally need the centerlines as a separate file.
60
votes
11
answers
71k
views
Removing small spaces (slivers) between polygons
I have a set of polygons representing administrative districts. The districts were digitized by hand, and there are small spaces (slivers) between polygons where the polygons should be touching.
How ...
26
votes
6
answers
58k
views
Filling holes in polygons using QGIS
Is there an option in QGIS to fill holes in polygons automatically by setting parameters e.g. maximum area, distance between borderlines?
I want to delete/fill holes that a very "thin"/small....
50
votes
5
answers
104k
views
Smoothing/generalizing polygon in QGIS
Is it possible to smooth or generalize a polygon in QGIS, perhaps by using a plugin like the Generalizer Plugin for lines?
I could convert my polygons to lines, smooth them and convert them back to ...
38
votes
4
answers
13k
views
Separate polygons based on intersection using PostGIS
I have a PostGIS table of polygons where some intersect with one another. This is what I'm trying to do:
For a given polygon selected by id, give me all of the polygons that intersect. Basically, ...
14
votes
2
answers
61k
views
Calculating polygon areas and perimeters using QGIS
Using QGIS, if I load a polygon layer and make a new column, how do I fill that column with the area of each polygon and another column with the length of the perimeter of each polygon?
10
votes
2
answers
10k
views
Calculating proportional area of polygon within another layer's polygon using QGIS
I have two polygon layers, 'model' and 'ntem', whose features overlap and intersect one another.
I would like to calculate the proportion of the area of the 'model' polygons which fit within each '...
10
votes
4
answers
8k
views
Dissolving polygons in QGIS or GRASS to new polygons of defined population sizes
I have a shapefile with 3800 polygons representing the smallest administrative areas in Ireland. Many of these, in rural areas, have tiny populations, under 100 people. In urban areas, all would have ...
22
votes
5
answers
21k
views
Calculating roundness/compactness of polygon?
I am trying to find ways to quantitatively describe the shapes of various polygons. For my project, these polygons represent lakes, rivers, lagoons, and parks. So they can be almost any shape. One ...
20
votes
7
answers
27k
views
Splitting polygon into equal area polygons using QGIS
There is a Plugin in QGIS 2.18 called "Polygon Divider" which divides an irregular polygon into smaller equal-area polygons of a specified/custom-sized but in QGIS 3.x version there is no &...
50
votes
11
answers
101k
views
Is there a way of auto_increment for the ID column in QGIS
I'm creating a fictive map and so I need to create lots of points, lines and for sure polygons. Later on I export my data as geojson. But before that I aways have to go and give every element an ...
16
votes
4
answers
47k
views
Transforming polygon to linestring in QGIS
I have a polygon, imported from a shapefile in QGIS. I would like transform it to a linestring instead so I can save it as a GPX file later.
How can I transform a polygon to a linestring in QGIS?
15
votes
4
answers
3k
views
Convert vertices of polygon features to points using Virtual Layer in QGIS
I have a polygon layer and want to use a Virtual Layer that creates points from the vertices of the polygon layer. The question is how to write a query that does this?
I am aware of the tool "...
11
votes
3
answers
6k
views
Summing up values of overlapping polygons in QGIS
I have large single layers with many features overlapping.
Simplified example with 50% transparency:
Where the features overlap I want the attributes added together. I manually created the output I ...