wxGUI.psmap(1grass)
π wxGUI Cartographic Composer π
okay so bestie, welcome to wxGUI.psmap(1grass) β this is the GRASS User's Manual page for the wxGUI Cartographic Composer, and honestly? it's iconic. let's get into it π
πΈ DESCRIPTION πΈ
The wxGUI Cartographic Composer β also called wx.psmap β is a wxGUI extension that lets you create hardcopy map outputs interactively, like you're literally arranging little map stickers on a page. This tool generates a ps.map configuration file and then runs ps.map to create PostScript output. no cap. πΊοΈβ¨
There are two modes, and yes you need to know both:
- Draft mode β for map composing. chill and fast.
- Preview mode β requires Python Imaging Library, so you can see how the result will actually look like.
In draft mode, map features (like legend or scalebar) are represented by a colored rectangle with a label. it's giving "placeholder realness" π
Possible output files, bestie:
ps.mapinstructions file- PostScript/EPS file
- PDF (using
ps2pdf)
Cartographic Composer enables you to load in a saved instructions file. Loading instruction files created by Cartographic Composer is more robust, as opposed to loading files created manually. (iykyk β handmade files can be messy π)
Currently supported ps.map instructions:
papermaplocscaleborderrastercolortablevpointsvlinesvareasvlegendtextscalebarmapinfopointlinerectanglelabels
β¨ CARTOGRAPHIC COMPOSER TOOLBAR β¨
okay this is the main character section. every button, every vibe, let's go π
- Generate instructions file β Generates and saves text file with mapping instructions.
- Load instructions file β Load text file with mapping instructions.
- Page setup β 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.
- Zoom in β 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. π
- Zoom out β 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.
- Zoom to page β Zoom to display the entire page.
- Map frame β Click and drag to place map frame. If map frame is already drawn, open a dialog to set its properties.
- Raster map β Shows a dialog to add or change the raster map.
- Vector map β Shows a dialog to add or change current vector maps and their properties:
- Data selection β Select data to draw:
- Feature type β 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.
- Layer selection β 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.
- Size and style β Sets size, style, symbols, pattern; depends on data type:
- Symbology β Available for point data. Choose symbol or EPS file to draw points with.
- Line style β 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.
- Add overlays β Add overlays: vector labels, grid (not yet implemented).
- Add labels β Add vector labels created beforehand by
v.labelmodule.
- Add labels β Add vector labels created beforehand by
- Add map elements β Add map elements: legend, scalebar, map info, text.
- Add legend β Add raster or vector legend or edit their properties.
- Add map info β Add information about region, grid and scale or edit map info properties.
- Add scalebar β Add scalebar or edit its properties.
- Add text β Add text label.
- Remove selected element β Select an object and remove it. Pressing Delete key does the same.
- Show preview β Generates output and switches to Preview mode to see the result. Be patient, it can take a while. π
- Generate hardcopy map output in PS β Generates hardcopy map output in PostScript/EPS file.
- Generate hardcopy map output in PDF β Generates hardcopy map output in PDF using
ps2pdfor Ghostscriptgswin32c/gswin64c(OS MS Windows platform only).
π¦ SEE ALSO π¦
wxGUI,wxGUI components- See also wiki page.
π AUTHOR π
Anna Kratochvilova, Czech Technical University in Prague, Czech Republic (bachelor's final project 2011, mentor: Martin Landa). absolute legend behavior π«Ά
π SOURCE CODE π
Available at: wxGUI Cartographic Composer source code (history)
Accessed: Tuesday Sep 08 11:56:21 2026
Main index | GUI index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
and that's the whole page bestie π this was wxGUI.psmap(1grass) from the GRASS User's Manual, running under GRASS 8.5.0 β accessed Tuesday Sep 08 11:56:21 2026, Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual. slay, go make a pretty map πβ¨π
π¦ where this page comes from
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms