8
votes
Accepted
How to if a polygon is within a concave area of another?
This could work but it depends on the shape of your polygons:
Convex hull the grey polygons
Difference output with grey polygons, to create bay polygons (orange in the screenshot)
Singlepart these to ...
1
vote
Accepted
Check if a file exists in a GRASS mapset
This seems to work for me, using the bash if [ -z $variable ]; then... form:
(I have a raster named 'cov')
eval `g.findfile element=cell file=cov`
echo $name
cov
if [ -z ${name} ]; then echo "...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
grass-gis × 2210qgis × 927
raster × 287
python × 187
qgis-processing × 101
vector × 90
r × 76
dem × 75
saga × 75
grass-7.0 × 69
grass.script × 69
gdal × 66
pyqgis × 64
network × 54
qgis-3 × 51
qgis-plugins × 51
error × 47
installation × 46
qgis-grass-plugin × 44
distance × 41
coordinate-system × 39
add-ons × 39
qgis-2 × 37
topology × 36
watershed × 36