wxGUI.PsMap.html 7.5 KB

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