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. See ps.map manual for details. (yes, go read ps.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:

  1. Draft mode β€” for map composing 🎨
  2. 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.map instructions 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:

  • paper
  • maploc
  • scale
  • border
  • raster
  • colortable
  • vpoints
  • vlines
  • vareas
  • vlegend
  • text
  • scalebar
  • mapinfo
  • point
  • line
  • rectangle
  • labels

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.label module. 🏷️
  • 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 ps2pdf or Ghostscript gswin32c/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 tagged GRASS 8.5.0 at the bottom, from g.gui.psmap(1grass). slay. πŸ’…βœ¨πŸ¦‹
πŸ“¦ where this page comes from