Changes between Version 22 and Version 23 of GSoC/2016/BasicCartographySuiteInGRASS
- Timestamp:
- 06/26/16 18:57:03 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GSoC/2016/BasicCartographySuiteInGRASS
v22 v23 59 59 Draft of legend implementation. Please edit or change completely. 60 60 61 * 1st prototype 62 * d.legend.vector 63 * in: list of d.vect commands from layer manager 64 * Python 65 * extract: symbol color1 color2 size width text 66 * symbol 61 * d.legend.vect in C 62 * input csv file: vector symbol color fill_color size width label 67 63 * symbols for lines and areas must be created 68 * icon if v.info returns lines, then use the new symbol for lines69 * icon if v.info returns areas, then use the new symbol for areas70 * use icon for points71 * use icon when explicitly specified (there is a default but GUI does not put it there unlike history)72 64 * if mixed feature types, either special symbols or separate entries or just use symbol (needs to be decided) 73 * color1=color 74 * color2=fill_color 75 * size=size 76 * width=width 77 * text=title or name 78 * generates d.graph file 79 * GUI takes d.vect commands, calls this module and uses the output in d.graph when rendering 80 * 2nd stage 81 * text format for customization 82 * `symbol color1 color2 size width text...` 83 * `legend/lines_z` red none 5 2 State border 65 * d.vect - add new parameters for specifying legend, d.vect would have a flag to write a file with this specification 66 * for example new parameter `legend_label` 67 * GUI takes files generated by d.vect commands, and puts them together and calls d.legend.vect to render the legend 68 * the same could be done for d.vect thematic 69 * users can also customize the input text file - a special widget needs to be developed to simplify it. 70 * d.legend.vect should have `vector` parameter - only those will be rendered 84 71 85 72 G7:d.graph code: