g.gui.psmap(1grass)
π g.gui.psmap β the GRASS User's Manual, bestie edition π
okay so. welcome to g.gui.psmap(1grass), the manual page for the tool that makes your maps look like actual art instead of a screenshot. buckle up, we're doing cartography π
β¨ NAME β¨
g.gui.psmap β the Tool for creating hardcopy map outputs. that's it. that's the whole job. and she EATS every time. π
π·οΈ KEYWORDS π·οΈ
general, GUI, printing β the vibes, the interface, and the moment it hits paper. π¨οΈβ¨
π SYNOPSIS π
g.gui.psmap
g.gui.psmap --help
g.gui.psmap [file=name] [--help] [--verbose] [--quiet] [--ui]
π© Flags:
--helpβ Print usage summary. she explains herself π--verboseβ Verbose module output. she tells you everything--quietβ Quiet module output. she's mysterious now π€«--uiβ Force launching GUI dialog. okay fine we're opening the window πͺ
π Parameters:
file=nameβ File containing mapping instructions to load. Seeps.mapmanual for details. (yes, go readps.map, she's the blueprint) π
πΈ DESCRIPTION πΈ
wxGUI Cartographic Composer, also called wx.psmap, is a wxGUI extension that lets you create hardcopy map outputs interactively. it's giving main character energy for your map π
This tool generates a ps.map configuration file and then runs ps.map to create PostScript output. no cap, that's the pipeline π₯
There are two modes:
- Draft mode β for map composing π¨
- Preview mode β requires the Python Imaging Library, so you can see how the result will look like. π
And in draft mode, map features (like legend or scalebar) are represented by a colored rectangle with a label. lowkey genius, highkey helpful.
π¦ Possible output files:
ps.mapinstructions file- PostScript/EPS file
- PDF (using
ps2pdf)
Cartographic Composer enables you to load in a saved instructions file. and bestie, listen: Loading instruction files created by Cartographic Composer is more robust, as opposed to loading files created manually. so let the tool write its own homework, fr fr π
π¦ Currently supported ps.map instructions:
papermaplocscaleborderrastercolortablevpointsvlinesvareasvlegendtextscalebarmapinfopointlinerectanglelabels
that's seventeen. iconic. periodt. π
π οΈ CARTOGRAPHIC COMPOSER TOOLBAR π οΈ
every button on this bar, explained, because you deserve to know π
- 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). π¨οΈ
okay real talk: that preview button? be patient. it can take a while. don't click it five times and then get mad at me π
π 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, we stan π«Ά
π 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
and that's a wrap on g.gui.psmap, bestie π go make something gorgeous. mwah. π
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual β and this whole page came to you taggedGRASS 8.5.0at the bottom, fromg.gui.psmap(1grass). slay. π β¨π¦
π¦ 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