1wxGUI.psmap(1) GRASS GIS User's Manual wxGUI.psmap(1)
2
3
4
7 wxGUI Cartographic Composer also called wx.psmap is a wxGUI extension
8 which allows the user to create interactively hardcopy map outputs.
9 This tool generates ps.map configuration file and then runs ps.map to
10 create PostScript output. There are two modes - Draft mode for map com‐
11 posing and Preview mode (requires Python Imaging Library) to see how
12 the result will look like. In draft mode map features (like legend or
13 scalebar) are represented by a colored rectangle with a label.
14
15 Possible output files:
16
17 • ps.map instructions file
18
19 • PostScript/EPS file
20
21 • PDF (using ps2pdf)
22
23 Cartographic Composer enables to load in saved instructions file.
24 Loading instruction files created by Cartographic Composer is more ro‐
25 bust, as opposed to loading files created manually.
26
27 Currently supported ps.map instructions:
28
29 • paper
30
31 • maploc
32
33 • scale
34
35 • border
36
37 • raster
38
39 • colortable
40
41 • vpoints
42
43 • vlines
44
45 • vareas
46
47 • vlegend
48
49 • text
50
51 • scalebar
52
53 • mapinfo
54
55 • point
56
57 • line
58
59 • rectangle
60
61 • labels
62
63 CARTOGRAPHIC COMPOSER TOOLBAR
64 Â Generate instructions file
65 Generates and saves text file with mapping instructions.
66
67 Â Load instructions file
68 Load text file with mapping instructions.
69
70 Â Page setup
71 Specify paper size, margins and orientation.
72
73 Â Pointer
74 Select object on the paper by clicking, drag the cursor while
75 pressing the left mouse button to move it or resize object (cur‐
76 rently only map frame) by clicking on a small black box in its bot‐
77 tom right corner. Double click to show object properties dialog
78
79 Â Pan
80 Drag the pan cursor while pressing the left mouse button to move
81 your view.
82
83 Â Zoom in
84 Interactive zooming with the mouse in both draft and preview mode.
85 Drawing a box or just a left click with the mouse and zoom-in cur‐
86 sor causes the display to zoom in so that the area defined by the
87 box fills the display.
88
89 Â Zoom out
90 Interactive zooming with the mouse in both draft and preview mode.
91 Drawing a box or just a left click with the mouse and zoom-out cur‐
92 sor causes the display to zoom out so that the area displayed
93 shrinks to fill the area defined by the box.
94
95 Â Zoom to page
96 Zoom to display the entire page
97
98 Â Map frame
99 Click and drag to place map frame. If map frame is already drawn,
100 open a dialog to set its properties.
101
102 Â Raster map
103 Shows a dialog to add or change the raster map.
104
105 Â Vector map
106 Shows a dialog to add or change current vector maps and their prop‐
107 erties:
108
109 Data selection
110 Select data to draw:
111
112 Feature type
113 Select which data type to draw. In case of point data, points or
114 centroids can be drawn, in case of line data, lines or boundaries.
115
116 Layer selection
117 Select layer and limit data by a SQL query or chose only certain
118 categories.
119
120 Mask
121 Whether to use mask or not.
122
123 Colors
124 Color settings:
125
126 Outline
127 Select outline color and width in points. In case of lines, outline
128 means highlighting.
129
130 Fill
131 Select fill color, one color for all vector elements or color from
132 rgb column.
133
134 Size and style
135 Sets size, style, symbols, pattern; depends on data type:
136
137 Symbology
138 Available for point data. Choose symbol or EPS file to draw points
139 with.
140
141 Line style
142 Available for line data. Select line style (solid, dashed, ...) and
143 the look of the ends of the line (butt, round, ...)
144
145 Pattern
146 Available for areas. Choose pattern file and set the width of the
147 pattern.
148
149 Size
150 Available for point data. Choose size (number of times larger than
151 the size in the icon file) as a single value or take the size from
152 a map table column.
153
154 Rotation
155 Available for point data. Rotate symbols counterclockwise with the
156 given value or with the value from a map table column
157
158 Width
159 Available for line data. Set line width in points or take the value
160 from a map table column.
161
162 Â Add overlays
163 Add overlays: vector labels, grid (not yet implemented)
164
165 Â Add labels
166 Add vector labels created beforehand by v.label module.
167
168 Â Add map elements
169 Add map elements: legend, scalebar, map info, text
170
171 Â Add legend
172 Add raster or vector legend or edit their properties.
173
174 Â Add map info
175 Add information about region, grid and scale or edit map info prop‐
176 erties.
177
178 Â Add scalebar
179 Add scalebar or edit its properties.
180
181 Â Add text
182 Add text label.
183
184 Â Remove selected element
185 Select an object and remove it. Pressing Delete key does the same.
186
187 Â Show preview
188 Generates output and switches to Preview mode to see the result. Be
189 patient, it can take a while.
190
191 Â Generate hardcopy map output in PS
192 Generates hardcopy map output in PostScript/EPS file.
193
194 Â Generate hardcopy map output in PDF
195 Generates hardcopy map output in PDF using ps2pdf.
196
198 wxGUI
199 wxGUI components
200
201 See also wiki page.
202
204 Anna Kratochvilova, Czech Technical University in Prague, Czech Repub‐
205 lic (bachelor’s final project 2011, mentor: Martin Landa)
206
208 Available at: wxGUI Cartographic Composer source code (history)
209
210 Accessed: Saturday Jan 21 20:42:04 2023
211
212 Main index | GUI index | Topics index | Keywords index | Graphical in‐
213 dex | Full index
214
215 © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
216
217
218
219GRASS 8.2.1 wxGUI.psmap(1)