Hi,
when I try to render raster and vector layer into PNG file in grass7
with d.mon, only the last layer is visible - I can see only the
vector.
I use this code in python script:
os.environ['GRASS_TRANSPARENT'] = "TRUE"
grass.run_command('d.mon', start='png', output = "testFile.png",
width = 640, height = 480, overwrite = True)
grass.run_command('d.rast', map = 'elevation')
grass.run_command('d.vect', map = 'roadsmajor', color = 'red')
grass.run_command('d.mon', stop = 'png')
Do I miss something or it's a bug?
Thanks,
Anna
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev