Drag the pan cursor while pressing the left mouse button to pan. Interactive selection of a new center of view in the active display monitor. Requires ghostscript for all output except EPS. Prints map on the UNIX lpr printer or PostScript device saves visible map display (including PostScript text and labels) to PDF or EPS file. The results of the query will be displayed in the console window, see r.what, v.what.Įxports visible map display to different raster graphic formats. Vector charts and thematic vector maps cannot be queried. Query selected raster, RGB raster (all three map channels will be queried), or vector map(s) using the mouse. Resets the region to the display resolution and extents and forces re-display and re-rendering all active layers.Įrases the currently selected map display to a white background also removes all frames, see d.erase, d.frame -e. Re-render and display all active layers and zoom to current region To test basic case, use:ĭ.Present work is available on GIS icons theme design web page.ĭisplays all active layers from layer tree at current resolution and region extents for that map display window. ![]() I did not tested new legend with other GUI tools. Įither this option or rast3d option must be specifiedĮither this option or rast option must be specified GUI section with rast and rast3d is called Input, is that correct?ĭisplays a legend for a raster or 3D raster map.ĭ.legend No explicit support for 3D raster added to GUI, this would be nice in the future. wxGUI 3D works also in the same way (wrong parameters cause segmentation fault). wxGUI 2D works the same way as before including the case of wrong legend parameters (both dialog and legend disappears but it is possible to show dialog by re-hiding and re-showing legend). Patch breaks API (backwards compatibility), so I fixed also wxGUI and d.rast.leg (which I didn't test). It adds new option rast3d to d.legend and renames option map to rast. Ps- trac wants keywords to be comma separated See also the r.stack addon module for G6, which was written to allow 'r.colors -e' to work with a series of input maps, in the original case a 3D raster cube split up into individual depth horizons, but a constant colorbar for all steps in a time series is another common reason to use it. fwiw this is why the v.colors shell script for G6 allows to make a dummy raster map with the placeholder= option. Then use d.legend with the dummy 2D raster map as the input not the real 3D raster cube. > At some point I'd like to have d.legend support vector maps and arbitrary color rules text files too.Ī simple/quick wrapper script way for a linear color scale is to make a dummy 10x10 cell raster map with both the max and min values from r3.info put in to some cells with r.mapcalc. Or if the parser can't be convinced to deal with that, add a new rast3d= option and check that one or the other has been given (sort of like g.copy et al.). ![]() I don't think this needs a separate module, rather we could add a -3 flag to the main d.legend module to tell it that it should expect a 3d raster for the map name. The wxGUI support for this will be added later.ĭ.rast3.legend map=test_1 at=10,50,30,40 use=10,20,50 The documentation and some comments are still missing but I will add them. There are no integers but categories are supported? There is actually no documentation about data types in 3D (see user and programming manuals). I'm not sure about non-floating point 3D rasters. I used the names d.legend and d.rast3d.legend. main.c is turned to the normal C file and there are two new C files with int main functions which calls the same function but with different parameter. It is created in the same way as r3.colors, i.e. I have a patch to add support for 3D rasters into d.legend module. It is not possible to show a legend for 3D raster map.
0 Comments
Leave a Reply. |