wxGUI.PsMap.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <!-- meta page description: wxGUI Cartographic Composer -->
  2. <!-- meta page index: wxGUI -->
  3. <h2>DESCRIPTION</h2>
  4. <b>Note:</b> <em>wxGUI Cartographic Composer is currently under
  5. development.</em>
  6. <p>
  7. <b>wxGUI Cartographic Composer</b> also called <em>wx.psmap</em> is
  8. a <em><a href="wxGUI.html">wxGUI</a></em> extension which allows the
  9. user to create interactively hardcopy map outputs. This tool
  10. generates <em><a href="ps.map.html">ps.map</a></em> configuration file
  11. and then runs <em><a href="ps.map.html">ps.map</a></em> to create
  12. PostScript output. There are two modes - <em>Draft mode</em> for map
  13. composing and <em>Preview mode</em> to see how the result will look
  14. like. In draft mode map features (like legend or scalebar) are
  15. represented by a colored rectangle with a label.
  16. <p>
  17. Possible output files:
  18. <ul>
  19. <li> <em><a href="ps.map.html">ps.map</a></em> instructions file
  20. <li> PostScript/EPS file
  21. <li> PDF (using ps2pdf)
  22. </ul>
  23. <p>
  24. Cartographic Composer enables to load in saved instructions file. It
  25. works better with files created by wx.psmap (more tested).
  26. <p>
  27. Currently supported <em><a href="ps.map.html">ps.map</a></em> instructions:
  28. <ul>
  29. <li> paper
  30. <li> maploc
  31. <li> scale
  32. <li> border
  33. <li> raster
  34. <li> colortable
  35. <li> vpoints
  36. <li> vlines
  37. <li> vareas
  38. <li> vlegend
  39. <li> text
  40. <li> scalebar
  41. <li> mapinfo
  42. </ul>
  43. <h3>CARTOGRAPHIC COMPOSER TOOLBAR</h3>
  44. <dl>
  45. <dt><img src="icons/script-save.png">&nbsp;
  46. <em>Generate instructions file</em></dt>
  47. <dd>Generates and saves text file with mapping instructions.</dd>
  48. <dt><img src="icons/script-load.png">&nbsp;
  49. <em>Load instructions file</em></dt>
  50. <dd>Load text file with mapping instructions.</dd>
  51. <dt><img src="icons/page-settings.png">&nbsp;
  52. <em>Page setup</em></dt>
  53. <dd>Specify paper size, margins and orientation.</dd>
  54. <dt><img src="icons/pointer.png">&nbsp;
  55. <em>Pointer</em></dt>
  56. <dd>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</dd>
  57. <dt><img src="icons/pan.png">&nbsp;
  58. <em>Pan</em></dt>
  59. <dd>Drag the pan cursor while pressing the left mouse button to move your view. </dd>
  60. <dt><img src="icons/zoom-in.png">&nbsp;
  61. <em>Zoom in</em></dt>
  62. <dd>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.</dd>
  63. <dt><img src="icons/zoom-out.png">&nbsp;
  64. <em>Zoom out</em></dt>
  65. <dd>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.</dd>
  66. <dt><img src="icons/zoom-extent.png">&nbsp;
  67. <em>Zoom to page</em></dt>
  68. <dd>Zoom to display the entire page </dd>
  69. <dt><img src="icons/layer-add.png">&nbsp;
  70. <em>Map frame</em></dt>
  71. <dd>Click and drag to place map frame. If map frame is already drawn, open a dialog to set its properties. </dd>
  72. <dt><img src="icons/layer-raster-add.png">&nbsp;
  73. <em>Raster map</em></dt>
  74. <dd>Shows a dialog to add or change the raster map.</dd>
  75. <dt><img src="icons/layer-vector-add.png">&nbsp;
  76. <em>Vector map</em></dt>
  77. <dd>Shows a dialog to add or change current vector maps and their properties:
  78. <dl>
  79. <dt><em>Data selection</em></dt>
  80. <dd>Select data to draw:
  81. <dl>
  82. <dt><em>Feature type</em></dt>
  83. <dd> Select which data type to draw. In case of point data, points or centroids
  84. can be drawn, in case of line data, lines or boundaries. </dd>
  85. <dt><em>Layer selection</em></dt>
  86. <dd>Select layer and limit data by a SQL query or chose only certain categories.</dd>
  87. <dt><em>Mask</em></dt>
  88. <dd>Whether to use mask or not.</dd>
  89. </dl>
  90. </dd>
  91. <dt><em>Colors</em></dt>
  92. <dd>Color settings:
  93. <dl>
  94. <dt><em>Outline</em></dt>
  95. <dd> Select outline color and width in points. In case of lines, outline means highlighting.</dd>
  96. <dt><em>Fill</em></dt>
  97. <dd>Select fill color, one color for all vector elements or color from rgb column.</dd>
  98. </dl>
  99. </dd>
  100. <dt><em>Size and style</em></dt>
  101. <dd>
  102. Sets size, style, symbols, pattern; depends on data type:
  103. <dl>
  104. <dt><em>Symbology</em></dt>
  105. <dd> Available for point data. Choose symbol or EPS file to draw points with.</dd>
  106. <dt><em>Line style</em></dt>
  107. <dd>Available for line data. Select line style (solid, dashed, ...) and the look of the ends of the line (butt, round, ...)</dd>
  108. <dt><em>Pattern</em></dt>
  109. <dd> Available for areas. Choose pattern file and set the width of the pattern.</dd>
  110. <dt><em>Size</em></dt>
  111. <dd> 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.</dd>
  112. <dt><em>Rotation</em></dt>
  113. <dd> Available for point data. Rotate symbols counterclockwise with the given value or with the value from a map table column</dd>
  114. <dt><em>Width</em></dt>
  115. <dd> Available for line data. Set line width in points or take the value from a map table column.</dd>
  116. </dl>
  117. </dd>
  118. </dl>
  119. </dd>
  120. <dt><img src="icons/overlay-add.png">&nbsp;
  121. <em>Add map elements</em></dt>
  122. <dd>Add map elements: legend, scalebar, map info, text
  123. <dl>
  124. <dt><img src="icons/legend-add.png">&nbsp;
  125. <em>Add legend</em></dt>
  126. <dd>Add raster or vector legend or edit their properties.</dd>
  127. <dt><img src="icons/map-info.png">&nbsp;
  128. <em>Add map info</em></dt>
  129. <dd>Add information about region, grid and scale or edit map info properties.</dd>
  130. <dt><img src="icons/scalebar-add.png">&nbsp;
  131. <em>Add scalebar</em></dt>
  132. <dd>Add scalebar or edit its properties.</dd>
  133. <dt><img src="icons/text-add.png">&nbsp;
  134. <em>Add text</em></dt>
  135. <dd>Add text label.</dd>
  136. </dl>
  137. </dd>
  138. <dt><img src="icons/layer-remove.png">&nbsp;
  139. <em>Remove selected element</em></dt>
  140. <dd>Select an object and remove it. Pressing Delete key does the same. </dd>
  141. <dt><img src="icons/execute.png">&nbsp;
  142. <em>Show preview</em></dt>
  143. <dd> Generates output and switches to Preview mode to see the result. Be patient, it can take a while.</dd>
  144. <dt><img src="icons/ps-export.png">&nbsp;
  145. <em>Generate hardcopy map output in PS</em></dt>
  146. <dd> Generates hardcopy map output in PostScript/EPS file.</dd>
  147. <dt><img src="icons/pdf-export.png">&nbsp;
  148. <em>Generate hardcopy map output in PDF</em></dt>
  149. <dd> Generates hardcopy map output in PDF using ps2pdf.</dd>
  150. </dl>
  151. <h2>SEE ALSO</h2>
  152. <em>
  153. <a href="wxGUI.html">wxGUI</a>
  154. </em>
  155. <p>
  156. Other wxGUI components:<br>
  157. <em>
  158. <a href="wxGUI.Vector_Digitizer.html">Vector Digitizer</a><br>
  159. <a href="wxGUI.Attribute_Table_Manager.html">Attribute Table Manager</a><br>
  160. <a href="wxGUI.Nviz.html">3D Viewer</a><br>
  161. <a href="wxGUI.GCP_Manager.html">Manage Ground Control Points</a><br>
  162. </em>
  163. <p>
  164. See also <a href="http://grass.osgeo.org/wiki/WxGUI_Cartographic_Composer">wiki</a> page.
  165. <h2>AUTHORS</h2>
  166. Anna Kratochvilova, Czech Technical Univesity (CTU) in Prague, Czech Republic (bachelor's final project 2011, mentor: Martin Landa)
  167. <p>
  168. <i>$Date$</i>