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 ...
BERA's user avatar
  • 64k
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 "...
Micha's user avatar
  • 15.3k

Only top scored, non community-wiki answers of a minimum length are eligible