logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Anna Kratochvilova, Czech Technical University in Prague, Czech Republic (bachelor’s final project  2011,
       mentor: Martin Landa)

Description

wxGUICartographicComposer  also  called wx.psmap is a wxGUI extension which allows the user to create
       interactively hardcopy map outputs. This tool generates ps.map configuration file and then runs ps.map to
       create PostScript output. There are two modes - Draftmode for map composing and Previewmode  (requires
       Python  Imaging Library) to see how the result will look like. In draft mode map features (like legend or
       scalebar) are represented by a colored rectangle with a label.

       Possible output files:

           •   ps.map instructions file

           •   PostScript/EPS file

           •   PDF (using ps2pdf)

       Cartographic Composer enables to load in saved instructions file.  Loading instruction files  created  by
       Cartographic Composer is more robust, as opposed to loading files created manually.

       Currently supported ps.map instructions:

           •   paper

           •   maploc

           •   scale

           •   border

           •   raster

           •   colortable

           •   vpoints

           •   vlines

           •   vareas

           •   vlegend

           •   text

           •   scalebar

           •   mapinfo

           •   point

           •   line

           •   rectangle

           •   labels

   CARTOGRAPHICCOMPOSERTOOLBARGenerateinstructionsfile
           Generates and saves text file with mapping instructions.

             Loadinstructionsfile
           Load text file with mapping instructions.

             Pagesetup
           Specify paper size, margins and orientation.

             Pointer
           Select  object on the paper by clicking, drag the cursor while pressing the left mouse button to move
           it or resize object (currently only map frame) by clicking on a small black box in its  bottom  right
           corner. Double click to show object properties dialog

             Pan
           Drag the pan cursor while pressing the left mouse button to move your view.

             Zoomin
           Interactive zooming with the mouse in both draft and preview mode. Drawing a box or just a left click
           with  the  mouse and zoom-in cursor causes the display to zoom in so that the area defined by the box
           fills the display.

             Zoomout
           Interactive zooming with the mouse in both draft and preview mode. Drawing a box or just a left click
           with the mouse and zoom-out cursor causes the display to zoom out so that the area displayed  shrinks
           to fill the area defined by the box.

             Zoomtopage
           Zoom to display the entire page

             Mapframe
           Click  and  drag  to  place  map  frame.  If  map  frame  is  already drawn, open a dialog to set its
           properties.

             Rastermap
           Shows a dialog to add or change the raster map.

             Vectormap
           Shows a dialog to add or change current vector maps and their properties:

       Dataselection
           Select data to draw:

       Featuretype
           Select which data type to draw. In case of point data, points or centroids can be drawn, in  case  of
           line data, lines or boundaries.

       Layerselection
           Select layer and limit data by a SQL query or chose only certain categories.

       Mask
           Whether to use mask or not.

       Colors
           Color settings:

       Outline
           Select outline color and width in points. In case of lines, outline means highlighting.

       Fill
           Select fill color, one color for all vector elements or color from rgb column.

       Sizeandstyle
           Sets size, style, symbols, pattern; depends on data type:

       Symbology
           Available for point data. Choose symbol or EPS file to draw points with.

       Linestyle
           Available  for line data. Select line style (solid, dashed, ...) and the look of the ends of the line
           (butt, round, ...)

       Pattern
           Available for areas. Choose pattern file and set the width of the pattern.

       Size
           Available for point data. Choose size (number of times larger than the size in the icon  file)  as  a
           single value or take the size from a map table column.

       Rotation
           Available for point data. Rotate symbols counterclockwise with the given value or with the value from
           a map table column

       Width
           Available for line data. Set line width in points or take the value from a map table column.

             Addoverlays
           Add overlays: vector labels, grid (not yet implemented)

                 Addlabels
           Add vector labels created beforehand by v.label module.

             Addmapelements
           Add map elements: legend, scalebar, map info, text

                 Addlegend
           Add raster or vector legend or edit their properties.

                 Addmapinfo
           Add information about region, grid and scale or edit map info properties.

                 Addscalebar
           Add scalebar or edit its properties.

                 Addtext
           Add text label.

             Removeselectedelement
           Select an object and remove it. Pressing Delete key does the same.

             Showpreview
           Generates output and switches to Preview mode to see the result. Be patient, it can take a while.

             GeneratehardcopymapoutputinPS
           Generates hardcopy map output in PostScript/EPS file.

             GeneratehardcopymapoutputinPDF
           Generates  hardcopy  map  output  in PDF using ps2pdf or Ghostscript gswin32c/gswin64c (OS MS Windows
           platform only).

See Also

wxGUI,wxGUIcomponents

       See also wiki page.

Source Code

       Available at: wxGUI Cartographic Composer source code (history)

       Accessed: Friday Apr 04 01:21:40 2025

       Main index | GUI index | Topics index | Keywords index | Graphical index | Full index

       © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

GRASS 8.4.1                                                                                  wxGUI.psmap(1grass)

Wxgui Cartographic Composer

See Also