<div dir="ltr"><div><br><br>On Mon, May 18, 2015 at 9:40 AM, Martin Landa <<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>> wrote:<br>><br>> Hi,<br>><br>> 2015-05-18 15:36 GMT+02:00 Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com">wenzeslaus@gmail.com</a>>:<br>> >> +<div class="code"><pre><br>> >> +export GRASS_RENDER_IMMEDIATE=cairo<br>> >> +export GRASS_RENDER_FILE=vectormap.svg<br>> >> +<br>> >> +g.region vector=roadsmajor<br>> >> +d.vect map=roadsmajor -c<br>> >> +</pre></div><br>> ><br>> > The syntax is not really nice. Is it possible to replace it with something<br>> > else like d.mon? Or is this the best interface we have?<br>><br>> I am not sure what you mean, but d.mon syntax could be:<br>><br>> d.mon cairo out=vectormap.svg<br>> g.region vector=roadsmajor<br>> d.vect map=roadsmajor -c<br>> d.mon -r<br><br></div>I think this is exactly what I mean. Any reason for using the variables instead of d.mon?<br><br>I know the difference is that it d.mon write to session env file thus changing the environment for all. The variables might be better for scripting but still the API is ugly. I don't have an idea what should go to the documentation.<br><div><br>> Martin<br>><br>> --<br>> Martin Landa<br>> <a href="http://geo.fsv.cvut.cz/gwiki/Landa">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>> <a href="http://gismentors.cz/mentors/landa">http://gismentors.cz/mentors/landa</a><br><br></div></div>