I'm trying to save a raster map in GRASS in jpeg/bmp format without using the GUI for d.out.file/d.save. Is there a script to do it? I tried r.out.gdal but it produced a map that is black and white.
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
|
Have a look on d.out.file command. See that page and format option. BMP is available. |
|||
|
|
|
You can use the GDAL library by:
have a look at the documentation here. |
|||||
|
|
If for some odd reason d.out.file doesn't work, you could also add the GRASS raster to a QGIS map and use the File > Save as Image command. Alternatively, add to QGIS and create a layout which you can export as an image. |
|||
|
|