Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-10 Thread jean pierre huart
for such behaviour? With these tests, I have the impression that 'GRASS_RENDER_TRANSPARENT', 'GRASS_RENDER_HEIGHT', 'GRASS_RENDER_WIDTH' are not taken into account by d.mon. I still have to test all this using another location instead of the one I've set up. -- Jean Pierre Huart On 09/03/16 20:04

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread jean pierre huart
PNG 1280x960 1280x960+0+0 8-bit DirectClass 73.6KB 0.000u 0:00.000 I will test it with the NC demo soon. Jean Pierre On 09/03/16 17:44, jean pierre huart wrote: I launch a script without starting GRASS explicitly on an existing location, inspired by the solution proposed at https

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread jean pierre huart
) and white background. I will try using the internal script console and give you a feed back if it works or not on my location/mapset. Jean Pierre On 09/03/16 17:08, Moritz Lennert wrote: On 09/03/16 16:55, jean pierre huart wrote: Bingo! Thanks Moritz, - the existing file... I didn't care

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread jean pierre huart
this script in a cron, I've the feeling that the use of GRASS_RENDER_IMMEDIATE is more appropriate. By the way, the choice is simple, this solution works fine for me, but using d.mon does not. Ciao On 09/03/16 16:12, Moritz Lennert wrote: On 09/03/16 15:39, jean pierre huart wrote: Thanks Vinay

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread jean pierre huart
the image of the vector. I've the feeling that using d.mon would be preferable, but it seems that it does not take into account the environment variables (at the exception of GRASS_RENDER_FILE) that I propose. If you have other suggestions to go further I'll be very gratefull. Ciao -- Jean Pi

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-08 Thread jean pierre huart
Sorry I've forgotten to precise that I'm using Grass v7.0.3 on ubuntu 14.04. On 08/03/16 16:15, jean pierre huart wrote: Hello, I've written a python script to generate an image combining a vector map (myvector) and a raster (myraster) that has been generated using a mask. It works great

[GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-08 Thread jean pierre huart
t(myvector, self.mapset), color='white', fill_color='none') gscript.run_command('d.mon', stop="png") Thanks in advance for any advice. Ciao -- Jean Pierre Huart ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.