I am wondering if my code for selecting specific raster points (e.g. squares, Quadrate) has a bug. I do not want to plot all squares, because I still have not yet data for all squares.
v.extract quadrat out=quadrat_3 where=“ID_Quadrat=527190 and ID_Quadrat=569228 and ID_Quadrat=581166” --o
The resason is that I get an error on the next line
I am wondering if my code for selecting specific raster points (e.g. squares, Quadrate) has a bug. I do not want to plot all squares, because I still have not yet data for all squares.
v.extract quadrat out=quadrat_3 where=“ID_Quadrat=527190 and ID_Quadrat=569228 and ID_Quadrat=581166” --o
The where statement will result in no quadrats selected. Use ‘or’ instead of ‘and’:
v.extract quadrat out=quadrat_3 where=“ID_Quadrat=527190 or ID_Quadrat=569228 or ID_Quadrat=581166” --o
This will give you the three quadrats (or the quadrats that have those IDs, in case there are more quadrats with the same ID).
The resason is that I get an error on the next line