[GRASS-dev] Rendering from command line does not respect size
Vaclav Petras
wenzeslaus at gmail.com
Thu Apr 30 20:24:50 PDT 2015
Hi,
I was trying to render some maps automatically but I'm having problems with
setting the size of the image. I set size like this:
export GRASS_RENDER_HEIGHT=1350
export GRASS_RENDER_WIDTH=1500
But with cairo I get still the default size:
d.mon cairo
d.rast aspect
# map.png size is now 640x480
d.mon stop=cairo
rm map.png
With png I get an error:
d.mon png
d.rast aspect
ERROR: PNG: input file has incorrect dimensions: expected: 640x480 got:
1500x1350
# map.png is now empty but it has the correct size
d.mon stop=png
rm map.png
With wx0 I get the error but also an image in GUI. The main GUI works
without any errors. I observe same behavior in 70 branch and when using
height and width parameters of d.mon. I exited the session and started
again.
Any idea what's happening or what should I try?
Thanks,
Vaclav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150430/306bc870/attachment.html>
More information about the grass-dev
mailing list