[GRASS-dev] [GRASS-SVN] r65264 - grass/trunk/lib/cairodriver

Martin Landa landa.martin at gmail.com
Mon May 18 06:49:32 PDT 2015


2015-05-18 15:46 GMT+02:00 Vaclav Petras <wenzeslaus at gmail.com>:
>> 2015-05-18 15:36 GMT+02:00 Vaclav Petras <wenzeslaus at gmail.com>:
>> >> +<div class="code"><pre>
>> >> +export GRASS_RENDER_IMMEDIATE=cairo
>> >> +export GRASS_RENDER_FILE=vectormap.svg
>> >> +
>> >> +g.region vector=roadsmajor
>> >> +d.vect map=roadsmajor -c
>> >> +</pre></div>
>> >
>> > The syntax is not really nice. Is it possible to replace it with
>> > something
>> > else like d.mon? Or is this the best interface we have?
>>
>> I am not sure what you mean, but d.mon syntax could be:
>>
>> d.mon cairo out=vectormap.svg
>> g.region vector=roadsmajor
>> d.vect map=roadsmajor -c
>> d.mon -r
>
> I think this is exactly what I mean. Any reason for using the variables
> instead of d.mon?

I would say that it make sense to document the both ways
(environmental variables on display driver page and d.mon syntax on
it's own page), probably we could add note about d.mon to cairo driver
manual.

Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-dev mailing list