New answers tagged

0 votes

Speeding up the vector clip in QGIS

Came here with the same question. In my case, I'm comparing a vectorized CORINE raster (500,000 features) to the outline of Scotland (1 feature) The reason for this is how spatial indexes work. Even ...
user avatar
  • 19.8k
1 vote
Accepted

v.out.ogr -c flag in GRASS GIS is filling islands

In GRASS GIS the concept of "island" refers to any area that is within another area, and does not touch any of the boundaries. Typically, as the warning message points out, these islands are ...
user avatar
  • 14.2k
1 vote
Accepted

Fixing"FeatureCollection (Error) Image.reduceToVectors: First band ('rh100') of image must be integral"

You only need '.toInt' method in gedi variable. As referenceData feature collection is very huge (it has 463611 features), you cannot use print statement. It is necessary to export directly to Drive ...
user avatar
  • 26.2k
1 vote

Creating horizontal legend bar in ArcMap

There's a blog post, Raster enhancement: The horizontal legend, which shows how to do this. I tried it and within a couple of minutes, I got 90% there. What I got: I think the only thing you'll need ...
user avatar
  • 21.3k
2 votes

Randomly sample points within polygons

You can achieve this using a virtual layer. Go to the menu Layer > Add Layer > Add/Edit Virtual Layer... and enter the following query. Feel free to add/remove any field of interest from the two ...
user avatar
  • 34.6k
5 votes
Accepted

Adding/concatenating multiple values in column when using line intersections in QGIS

Use the Field Calculator with this expression: array_to_string( array_sort( array_distinct( overlay_touches( layer:='lines_layer_name', --specify the name of your line layer ...
user avatar
  • 24k
4 votes

Use polygon lines to create masks

Even if it's located in Vector tools, you can extract the extent of your tile with this tool : "Extract layer extent". The result will be a rectangle (polygon) of the extent. Split this ...
user avatar
  • 12.1k
2 votes
Accepted

Calculate average value of raster within polygons based on type

The solution would be to Dissolve (Processing Toolbox -> Vector Geometry) your polygon layer using the landuse as the "Dissolve field(s)". By doing this you will have one polygon layer ...
user avatar
  • 211

Top 50 recent answers are included