wxGUI.psmap(1)
π wxGUI Cartographic Composer π
okay bestie, welcome to the wxGUI Cartographic Composer page from the GRASS GIS User's Manual β yes, wxGUI.psmap(1), she's a whole icon, come sit with me π
β¨ DESCRIPTION β¨
so the wxGUI Cartographic Composer β also known as wx.psmap β is a wxGUI extension that lets you make hardcopy map outputs interactively, like literally building your own gorgeous printed map with your hands. π
how it works: this tool generates a ps.map configuration file and then runs ps.map to create the PostScript output. no cap.
there are two modes, bestie:
- Draft mode β for map composing
- Preview mode β requires Python Imaging Library, so you can 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. lowkey iconic, honestly.
Possible output files:
ps.mapinstructions 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. (translation: trust the composer's own files, they just behave better π«Ά)
Currently supported ps.map instructions:
papermaplocscaleborderrastercolortablevpointsvlinesvareasvlegendtextscalebarmapinfopointlinerectanglelabels
π CARTOGRAPHIC COMPOSER TOOLBAR π
the way this toolbar has SO many buttons and every single one of them is doing something. let's go one by one, bestie, no skipping π§
- 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
rgbcolumn. π¨ - 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. (fr fr, she's thinking, give her a sec π)
- 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)
π¦ SOURCE CODE π¦
Available at: wxGUI Cartographic Composer source code (history)
Accessed: Saturday Jan 17 05:42:35 2026
Main index | GUI index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page bestie, you ate it up π
β¨ sign-off time: this beauty is brought to you by the Β© 2003-2025 GRASS Development Team, straight out of the GRASS GIS 8.4.2 Reference Manual β and the page itself is filed under GRASS 8.4.2, wxGUI.psmap(1). mwah π«ΆπΈ
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· 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