I am using the latest GRASS Gis and QGis versions.
In order for a study project, I have to rasterise a vector layer using v.to.rast. This has to be done in my already existing shell script, in which there are various other commands, for instance "mkdir" in order to create folders or ogr2ogr commmands.
Unfortunately, these two commands dont work in my general shell script, only in the grass gis cmd, which opens by opening grass gis.
Is there some command missing, like for opening Grass Gis or creating a new location? If so, how exactly is the command called?
Unfortunately these two commands dont work:
v.import input="E:\Universitaet\WS 2020 - 2021\Seminar GIS\Gruppenarbeit\Dateien\\Vegetation\Irrelevant_data_deleted\vegetation_two_columns.dbf"
v.to.rast input="vegetation_two_columns.dbf" output="E:\Universitaet\WS 2020 - 2021\Seminar GIS\Gruppenarbeit\Dateien\Wildfireanalysis\Vegetation\Rasterised\Vegetation_Santa-Cruz_rasterised"
Thanks in advance!
Unfortunately, the GDAL command Rasterise (vector ro raster) is no option either, since it doesnt allow string variables.