I need to output a PNG file of a raster map overlayed with boundaries present in a vector map. The problem is, the r.out.png script only exports a raster map. My boundaries are in a vector format. When I tried to convert the vector boundaries into a raster, in order for me to combine them, the converted raster from vector contained the filled vector boundaries. I only need the lines to be present in the raster map. Is there a way to do it? I cannot use the d.rast and d.vect since I am calling the scripts in a shell script so there would not be any GRASS windows open.
See here for an answer: http://lists.osgeo.org/pipermail/grass-user/2011-July/061498.html
"If you want to convert the boundaries to rasterized lines instead of the area, you would first need to convert the boundaries to lines and then convert the vector lines to raster.
Also make sure that the computational region is correctly set (extents at least overlapping with the vector map and the desired resolution)."