[GRASS-dev] [SoC] GSoC: Basic cartography suite in GRASS - Week 10

Moritz Lennert mlennert at club.worldonline.be
Mon Aug 8 08:25:11 PDT 2016


On 08/08/16 17:09, Veronica Andreo wrote:
> It works for me in the wxGUI (grass trunk r69093M).
> Did you install the add-on? It works if you also have the add-on
> installed :)


I have the addon installed in r69064.

Trying to launch it from the wxGUI console I get:

"Command 'd.legend.vect' not yet implemented in the WxGUI. Try adding it 
as a command layer instead."

I display a local mapset copy of the hospitals file from the NC dataset:

d.vect map=myhospitals at user1 type=point,line,boundary,area,face 
fill_color=red width=1 icon=basic/cross3

I then add d.legend.vect as a command layer without arguments, and I get 
the "Rendering..." info in the map display indicating rendering half-way 
through, the "operation busy"-wheel (don't know if there is an official 
name for this) turning, but nothing happening. No error message in the 
wx console or in the terminal.

When I display the same map in the wx0 monitor via the terminal and then 
launch d.legend.vect in the same terminal I get

d.legend.vect
ERROR: No legend file defined.
GRASS_INFO_WARNING(8082,1): Unsupported command d.legend.vect.
GRASS_INFO_END(8082,1)

Moritz


>
> 2016-08-08 12:04 GMT-03:00 Moritz Lennert <mlennert at club.worldonline.be
> <mailto:mlennert at club.worldonline.be>>:
>
>     On 05/08/16 04:06, Anna Petrášová wrote:
>
>         On Mon, Aug 1, 2016 at 4:34 AM, Moritz Lennert
>         <mlennert at club.worldonline.be
>         <mailto:mlennert at club.worldonline.be>> wrote:
>
>             Adam,
>
>             On 31/07/16 20:50, Adam Laža wrote:
>
>
>                 Hi all,
>
>                 below is my tenth week report.
>
>                 Best regards,
>                 Adam
>
>                 Wiki page:
>                 https://trac.osgeo.org/grass/wiki/GSoC/2016/BasicCartographySuiteInGRASS
>                 <https://trac.osgeo.org/grass/wiki/GSoC/2016/BasicCartographySuiteInGRASS>
>
>                 Week 10, July, 25 - July, 29
>
>                 1. What did you get done this week?
>                 I fixed a bug in d.legend module [1]
>                 I worked on d.legend.vect module. I implemented the
>                 vector legend for
>                 GUI and d.mon.
>                 I designed some symbols for area and line vector maps.
>
>                 2. What do you plan on doing next week?
>                 I will continue work on vector legend.
>
>
>
>             Great work on the cartography front !!
>
>             Another idea for the vector legend: add a frequency
>             histogram next to the
>             legend to see how many objects are in each class. A bit like
>             the histogram
>             feature of the raster legend for continuous data (would be
>             nice to have that
>             for categorized data as well).
>
>             Just to keep you busy ;-)
>
>
>         I suggest to create an enhancement ticket for that because we won't
>         get to it in this GSoC and this nice idea could get lost.
>
>         BTW, I committed the first version of the vector legend, so you can
>         test it in trunk. You still have to run:
>         g.extension d.legend.vect
>
>
>     I haven't been able to get it to work, neither in the wxGUI nor with
>     a d.mon wx monitor. Is there a short howto somewhere ?
>
>
>     Moritz
>
>     _______________________________________________
>     grass-dev mailing list
>     grass-dev at lists.osgeo.org <mailto:grass-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/grass-dev
>     <http://lists.osgeo.org/mailman/listinfo/grass-dev>
>
>



More information about the grass-dev mailing list