[GRASS-dev] vector legend implementation
kratochanna at gmail.com
Sat Jun 25 12:01:43 PDT 2016
On Sat, Jun 25, 2016 at 7:47 AM, Martin Landa <landa.martin at gmail.com> wrote:
> 2016-06-23 19:49 GMT+02:00 Anna Petrášová <kratochanna at gmail.com>:
>> I would like to get some feedback on the implementation of vector
>> legend which Adam will start working on soon as part of GSoC.
>> Basically, the implementation would be in Python using d.graph which
>> allows to draw shapes, symbols, lines and text.
>> The first implementation would solve only basic things.
> are you sure that it will be enough? Wouldn't be better to start
> writing this module in C?
Yes, you are right, d.graph is pretty powerful, but we will need some
low level display functions.
>> d.vect.legend (like t.vect.list)
> We don't have any d.rast.legend (what about renaming d.legend?)
>> d.legend.vect (like v.what.rast)
> + d.legend.rast ?
I agree, d.legend.rast, d.legend.vect and d.legend could become a
wrapper for backwards compatibility. We also have d.rast.leg.
We can decide this later.
> Martin Landa
More information about the grass-dev