Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
1
vote
Merge Vector Layers fails in QGIS
I can suggest some PyQGIS but not sure if it corresponds to your requirements
layer_1 = QgsProject.instance().mapLayersByName('unit_1')[0]
layer_1_new = processing.run('qgis:deletecolumn',
{'INPU …
1
vote
Finding length and width of regular/irregular polygons in QGIS
Let's assume there is a polygon layer 'Layer_B' (green), see image below. …
3
votes
Accepted
Merge Vector Layers fails in QGIS
Let's assume there are two polygon layers 'layer_1' and 'layer_2' with its corresponding attribute tables accordingly, see image below. …
2
votes
Accepted
Distinct pattern symbols on the edges of overlapping polygons in QGIS
I can suggest using 'Geometry Generator', see image below with Geometry Generator settings:
Here are Point Pattern Fill settings:
The final output will look as following:
Note: There is one e …
12
votes
Accepted
Multiple styles in one layer in QGIS
Let's assume there is a polygon layer "Layer_A" (purple) with its corresponding attribute table accordingly, see image below. …
2
votes
Looking for GeoPandas equivalents of PostGIS "ST_DumpRings" and "ST_Dump" tools
Let's assume there is a polygon, see the image below. … = Polygon(exterior, holes=[interior, interior2])
Use either:
.interiors:
Returns a Series of List representing the inner rings of each polygon
in the GeoSeries. …
2
votes
Merging selected features based on multiple conditions using QGIS
IMHO it is a nice task for the Graphical Modeler in QGIS.
Step 1. Apply "Extract by expression"/"Select by expression" as many times as many conditions you have.
Step 2. "Dissolve" the result of each …
2
votes
Calculate distance from polygon feature centroid to coordinate in QGIS 3.18
I think you are looking for something like:
using the geom_from_wkt()
length(shortest_line(centroid($geometry), geom_from_wkt('POINT(508503.622 5406706.511)')))
or using the make_point()
length(sho …
6
votes
Prioritising polygons in QGIS
Using the CASE-statement
CASE
WHEN "Size ha" >= 10 THEN 'Prio 1'
WHEN "Size ha" > 1 AND "Size ha" < 10 THEN 'Prio 2'
WHEN "Size ha" <= 1 THEN 'Prio 3'
END
Or as was provided by @Erik, the upp …
1
vote
Assigning each point name of polygon in which it lies using QGIS?
Geometry Accessors
How to find points within a polygon in PostGIS
PostGIS Docs | ST_MakePoint
Documentation “Join Attributes by Location” QGIS 2.18 …
5
votes
Rotating by 90° one and more polygons in QGIS
Try the "Rotate" tool.
Rotates feature geometries by the specified angle clockwise. The
rotation occurs around each feature’s centroid, or optionally around a
unique preset point.
Also possible by m …
2
votes
1
answer
393
views
Inherited values between polygons in QGIS [duplicate]
References:
Calculating the area of one layer inside area of another layer QGIS
Calculating polygon area inside another polygon in QGIS
Combining data from overlapping polygons and assign
How to combine … Calculating area of polygon inside region?
Calculate proportional area of polygon within another layer's polygon …
15
votes
Accepted
Identifying polygons that intersect with another layer using QGIS
With the following Query, it is possible to add a field to the attribute layer of the vegetation layer to indicate if any part of the polygon has been treated (overlaps with a treatment layer). …
6
votes
Splitting polygon into equal area polygons using QGIS
self.layer_and_parameters()
# inheriting the output from 'categorize' method
elements_raw = self.categorize()
# creating an empty later for output
vl = QgsVectorLayer("Polygon … I am using a polygon of Corsica that was taken from Natural Earth | Admin 0 – Countries
Splitting into 2 parts with
my_class = LayerIntoParts('test_area_4', 2)
my_class.dissolve_result()
Splitting …
4
votes
Difference between "Join attributes by location" and "Join attributes by location (summary)"
.*
FROM "polygons" AS p
JOIN "points" AS poi ON st_intersects(p.geometry, poi.geometry)
So, in the result you will see polygons as many times as the intersection between point and polygon exists. … GROUP BY p.id
So, in the result you will see limited amount of polygons based on the intersection between points and polygons because the SUM()-function was applied which groups values from points per polygon …