<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 7, 2014 at 8:36 AM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I would suggest to rename `d.legend` in G7 to `d.rast.legend`. I hope<br>
that we will have soon a module which allows to display also legend<br>
for vectors. Than we could easily add a new module `d.vect.legend`.<br>
What do you think?<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div><br></div><div>We should consider that one often needs to display both legends (for multiple vectors and one or more rasters), so then you want them to show as one. This may lead to `d.rast.legend` and `d.vect.legend` and `d.legend` which may encapsulate them.<br><br>I think Hamish was saying something about having just one module for both since there would be a lot of similarities but I might be wrong. Perhaps sharing the code using a library is more appropriate considering also ps.map where you have vector and raster legends.<br></div><div><br>Note that `d.legend` supports also 3D raster, not only 2D, so it already supports two different map types. However, overlap of parameters is 100% in this case.<br><br></div><div>Vaclav<br></div><div><br><br><a href="http://trac.osgeo.org/grass/ticket/2083">http://trac.osgeo.org/grass/ticket/2083</a><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
Martin<br>
<br>
--<br>
Martin Landa<br>
<a href="http://geo.fsv.cvut.cz/gwiki/Landa" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>
<a href="http://gismentors.eu/mentors/landa" target="_blank">http://gismentors.eu/mentors/landa</a><br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</font></span></blockquote></div><br></div></div>