QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Go to the documentation of this file.
1 #include "qgscontexthelp.h"
2 #include <QCoreApplication>
4 QHash<QString, QString> QgsContextHelp::gContextHelpTexts;
7 {
8  if( !gContextHelpTexts.isEmpty() )
9  return;
11  gContextHelpTexts.insert( "HeatmapGui", QCoreApplication::translate( "context_help", "<h1>Heatmap Plugin Help</h1>\n"
12 "<p>The Heatmap plugin uses Kernel Density Estimation to create a density (heatmap)\n"
13 "raster of an input point vector layer. The density is calculated based on the\n"
14 "number of points in a location, with larger numbers of clustered points resulting\n"
15 "in larger values. Heatmaps allow easy identification of \"hotspots\" and\n"
16 "clustering of points.</p>\n"
17 "\n"
18 "<h2>Dialog Parameters</h2>\n"
19 "\n"
20 "<h3>Input point layer</h3>\n"
21 "<p>The input is always a vector layer of point type. All the point vector layers that are currently loaded in the canvas are shown in the drop-down list. Click the dropdown button and select the desired layer.</p>\n"
22 "\n"
23 "<h3>Output raster</h3>\n"
24 "<p>The output raster location and filename can be set by clicking the <label>...</label> button next to the output raster textbox.<br/>\n"
25 "<b>Note:</b> The file format is automatically added depending upon the output format selected, if not explicitly given.</p>\n"
26 "\n"
27 "<h3>Output format</h3>\n"
28 "<p>All the file creation supporting GDAL formats are available in the drop down list. Click and select the required output format for your file.<br/>\n"
29 "<b>Note:</b> GeoTiff and ERDAS Imagine .img formats are recommended. Some formats make the application crash. Kindly stick to the recommended formats until the crash issue is resolved or use other formats if you know GDAL supports it completely.</p>\n"
30 "\n"
31 "<h3>Radius (bandwidth)</h3>\n"
32 "<p>Used to specify the heatmap search radius (or kernel bandwidth) in meters or map units. The radius specifies the distance around a point at which the influence\n"
33 " of the point will be felt. Larger values result in greater smoothing, but smaller values may show finer details and variation in point density.</p>\n"
34 "\n"
35 "<h3>Advanced Options</h3>\n"
36 "\n"
37 "<h4>Rows and Columns</h4>\n"
38 "<p>Used to change the dimensions of the output raster file. These values are also linked to the <b>Cell size X</b> and <b>Cell size Y</b> values. \n"
39 "Increasing the number of rows or colums will decrease the cell size and increase the file size of the output file. The values in Rows and Columns\n"
40 "are also linked, so doubling the number of rows will automatically double the number of columns and the cell sizes will also be halved. The geographical area of the output raster will remain the same!</p>\n"
41 "\n"
42 "<h4>Cell size X and Y</h4>\n"
43 "<p>Control the geographic size of each pixel in the output raster. Changing these values will also change the number of Rows and Columns in the output\n"
44 " raster.</p>\n"
45 " \n"
46 "<h4>Kernel shape</h4>\n"
47 "<p>The kernel shape controls the rate at which the influence of a point decreases as the distance from the point increases. Different kernels decay at\n"
48 "different rates, so a triweight kernel gives features greater weight for distances closer to the point than the Epanechnikov kernel does. Consequently,\n"
49 "triweight results in \"sharper\" hotspots, and Epanechnikov results in \"smoother\" hotspots. A number of standard kernel functions are available in QGIS,\n"
50 "which are described and illustrated on <a href=\"http://en.wikipedia.org/wiki/Kernel_(statistics)#Kernel_functions_in_common_use\">Wikipedia</a>.</p>\n"
51 "\n"
52 "<h4>Decay ratio</h4>\n"
53 "<p>For triangular kernels, the decay ratio defines amount of influence that applies to the outermost pixels in the buffer radius. A value of 0 reflects a standard triangular kernel, where the influences drops to zero as the distance from the pixel to the point approaches the specified radius. In contrast, a value of 1 indicates that no falloff occurs as the distance from the point increases.</p>\n"
54 "\n"
55 "<h4>Use radius from field</h4>\n"
56 "<p>Optionally, the value in a specified field can be used to control the kernel radius for each point in the input layer.</p>\n"
57 "\n"
58 "<h4>Use weight from field</h4>\n"
59 "<p>Optionally, a attribute containing weights for points can be used to weight some points in the input layer more than others.</p>\n"
60 "\n"
61 "<h2>Further Details</h2>\n"
62 "<p>Contact the author through aruntheguy at gmail dot com</p>\n"
63 "\n"
64 "") );
65  gContextHelpTexts.insert( "PythonConsole", QCoreApplication::translate( "context_help", "<h1>Python Console for QGIS</h1>\n"
66 "<a href=\"#console\">Console</a><br>\n"
67 "<a href=\"#editor\">Editor</a><br>\n"
68 "<a href=\"#settings\">Settings</a><br><br>\n"
69 "<table>\n"
70 "<tr>\n"
71 "<td>\n"
72 "The QGIS Python Console is an interactive shell for the python command executions. \n"
73 "It also has a python file editor that allows you to edit and save your python scripts. \n"
74 "Both console and editor are based on PyQScintilla2 package.<br>\n"
75 "The console is split in two main panes, top and bottom one \n"
76 "resizable by using the horizontal splitter. Output area pane is a widget read-only which \n"
77 "shows the commands output. You can drag and drop or copy and paste text into input area and \n"
78 "execute code snippets from the output pane by selecting some text and clicking on the \n"
79 "<label>Enter selected</label> command from the context menu. \n"
80 "No matter if selected text contains the interpreter prompt (>>>, ...). Input area pane is the interactive \n"
81 "python shell for input commands.<br>To access to the python file editor use the \n"
82 "<label>Show editor</label> button \n"
83 "from the toolbar. The editor allows editing and saving python files and it offers basic functionality \n"
84 "for managing your code (comment and \n"
85 "uncomment code, check syntax, share the code via codepad.org and much more).\n"
86 "</p>\n"
87 "</td>\n"
88 "</tr>\n"
89 "</table>\n"
90 "<a name=\"console\">\n"
91 "<h4>Console</h4>\n"
92 "</a>\n"
93 "<b><i>Main features:</i></b>\n"
94 "<table>\n"
95 "<tr>\n"
96 "<td>\n"
97 "<ul>\n"
98 "<li>Code completion, highlighting syntax and calltips for the following APIs:\n"
99 "<ol>\n"
100 "<li>Python</li>\n"
101 "<li>PyQGIS</li>\n"
102 "<li>PyQt4</li>\n"
103 "<li>QScintilla2</li>\n"
104 "<li>osgeo-gdal-ogr</li>\n"
105 "</ol>\n"
106 "</li>\n"
107 "<br>\n"
108 "<li><label>Ctrl+Alt+Space</label> to view the auto-completion list.</li>\n"
109 "<br>\n"
110 "<li><label>Ctrl+Shift+Space</label> to view the command history list.</li>\n"
111 "<br>\n"
112 "<li>Execute code snippets with the <label>Enter selected</label> command from output pane.</li>\n"
113 "<br>\n"
114 "<li>Open QGIS API documentation by typing <label>_api</label>.</li>\n"
115 "<br>\n"
116 "<li>Open PyQGIS Cookbook by typing <label>_pyqgis</label>.</li>\n"
117 "<br>\n"
118 "<li>Save and clear the command history accessing from context menu of input pane. \n"
119 "The history will be saved into the file ~/.qgis2/console_history.txt</li>\n"
120 "<br>\n"
121 "</ul>\n"
122 "</td>\n"
123 "<td><img src=\"qrc:/images/themes/default/console/consoleHelp.png\" /></td>\n"
124 "</tr>\n"
125 "<table>\n"
126 "<b><i>Toolbar:</i></b>\n"
127 "<table width=\"100%\" id='toolbarConsole'>\n"
128 "<tr>\n"
129 "<td><img src=\"qrc:/images/themes/default/console/iconClearConsole.png\" /></td>\n"
130 "<td colspan=\"2\">Clear python console</td>\n"
131 "</tr>\n"
132 "<tr>\n"
133 "<td><img src=\"qrc:/images/themes/default/console/iconClassConsole.png\" /></td>\n"
134 "<td><img src=\"qrc:/images/themes/default/console/iconProcessingConsole.png\" /></td>\n"
135 "<td>Import Processing class</td>\n"
136 "</tr>\n"
137 "<tr>\n"
138 "<td></td>\n"
139 "<td><img src=\"qrc:/images/themes/default/console/iconQtCoreConsole.png\" /></td>\n"
140 "<td>Import PyQt4.QtCore class</td>\n"
141 "</tr>\n"
142 "<tr>\n"
143 "<td></td>\n"
144 "<td><img src=\"qrc:/images/themes/default/console/iconQtGuiConsole.png\" /></td>\n"
145 "<td>Tool to import PyQt4.QtGui class</td>\n"
146 "</tr>\n"
147 "<tr>\n"
148 "<td><img src=\"qrc:/images/themes/default/console/iconRunConsole.png\" /></td>\n"
149 "<td colspan=\"2\">Run command (like Enter key pressed)</td>\n"
150 "</tr>\n"
151 "<tr>\n"
152 "<td><img src=\"qrc:/images/themes/default/console/iconSettingsConsole.png\" /></td>\n"
153 "<td colspan=\"2\">Settings</td>\n"
154 "</tr>\n"
155 "<tr>\n"
156 "<td><img src=\"qrc:/images/themes/default/console/iconHelpConsole.png\" /></td>\n"
157 "<td colspan=\"2\">Help</td>\n"
158 "</tr>\n"
159 "</table>\n"
160 "<a name=\"editor\">\n"
161 "<h4>Editor</h4>\n"
162 "</a>\n"
163 "<b><i>Main features:</i></b>\n"
164 "<table>\n"
165 "<tr>\n"
166 "<td>\n"
167 "<img src=\"qrc:/images/themes/default/console/editorHelp.png\" />\n"
168 "<img src=\"qrc:/images/themes/default/console/classBrowserHelp.png\" />\n"
169 "</td>\n"
170 "<td>\n"
171 "<ul>\n"
172 "<li>Code completion, highlighting syntax and calltips for the following APIs:\n"
173 "<ol>\n"
174 "<li>Python</li>\n"
175 "<li>PyQGIS</li>\n"
176 "<li>PyQt4</li>\n"
177 "<li>QScintilla2</li>\n"
178 "<li>osgeo-gdal-ogr</li>\n"
179 "</ol>\n"
180 "</li>\n"
181 "<br>\n"
182 "<li><label>Ctrl+Space</label> to view the auto-completion list.</li>\n"
183 "<br>\n"
184 "<li>Sharing code snippets via codepad.org.</li>\n"
185 "<br>\n"
186 "<li><label>Ctrl+4</label> Syntax check.</li> \n"
187 "<br>\n"
188 "<li>Object inspector: a class and function browser.</li>\n"
189 "<br>\n"
190 "<li>Go to an object definition with a mouse click. (from Object inspector)</li>\n"
191 "<br>\n"
192 "<li>Execute code snippets with the <label>Enter selected</label> command.</li>\n"
193 "<br>\n"
194 "<li>Execute the whole script with the <label>Run script</label> command \n"
195 "(this creates a byte-compiled file with the extension .pyc)</li>\n"
196 "<br>\n"
197 "</ul>\n"
198 "</td>\n"
199 "</tr>\n"
200 "</table>\n"
201 "<a name=\"settings\">\n"
202 "<h4>Settings</h4>\n"
203 "</a>\n"
204 "<b><i>Further settings for python console:</i></b>\n"
205 "<ul>\n"
206 "<li><label>Autocompletion:</label> If checked the code completion is enabled. You can get autocompletion\n"
207 "from current document, from installed APIs and both from APIs and current document</li>\n"
208 "<br>\n"
209 "<li><label>Autocompletion threshold:</label> Sets the threshold to display the autocompletion list (in chars typed)</li>\n"
210 "<br>\n"
211 "<li><label>Automatic parentheses insertion:</label> If checked enables the autoclosing for bracket</li>\n"
212 "<br>\n"
213 "<li><label>Auto-save script before running:</label> Allows you to save automatically the\n"
214 "script to be executed in order to avoid to save it after any modification.\n"
215 "This action will store a temporary file into the temporary system directory \n"
216 "that will be automatically deleted after running.</li>\n"
217 "<br>\n"
218 "<li><label>Using preloaded APIs file:</label> You can choose whether use the preload APIs file or load some APIs files saved on your system.</li>\n"
219 "<br>\n"
220 "<li><label>Using prepared APIs file:</label> If checked the *.pap file will be used for code completion. To generate a prepared APIs file you have to load least an *.api file and then compile it by clicking on <label>Compile Apis...</label> button.</li>\n"
221 "</ul>\n"
222 "<p style='border: 1px solid; background:#f6f6f6;' align='justify'>\n"
223 "<b>Note:</b> To save the state of console's widgets you have to close the Python Console \n"
224 "from the close button. This allows you to save the geometry to be restored to the next start.\n"
225 "</p>\n"
226 "") );
227  gContextHelpTexts.insert( "QgsAttributeTableDialog", QCoreApplication::translate( "context_help", "<h3>Attribute table</h3>\n"
228 "The attribute table displays features of a selected layer. Each row in the table represents one map feature with its attributes shown in several columns. The features in the table can be searched, selected, moved or even edited. By default the attribute table is a separate window. If you opened it and cannot see it anymore, it is most likely hidden under the main QGIS window. You can make it also a docked window, by checking <label>Open attribute table in a dock window</label> in <label>Settings > Options > General</label>.<p>\n"
229 "\n"
230 "The number of total number of layer features, filtered features and selected features is printed on the window header.<p>\n"
231 "<p>\n"
232 "<a href=\"#Selecting\">Selecting</a><br/>\n"
233 "<a href=\"#Sorting\">Sorting</a><br/>\n"
234 "<a href=\"#Filtering\">Filtering</a><br/>\n"
235 "<a href=\"#Editing\">Editing</a><br/>\n"
236 "<a href=\"#FieldCalc\">Field Calculator</a><br/>\n"
237 "\n"
238 "<a name=\"Selecting\">\n"
239 "<h4>Selecting</h4>\n"
240 "</a>\n"
241 "Rows can be selected by clicking on the row number on the left side of the row. Subsequent rows can be selected by holding the mouse button down and moving the mouse to the other end of the selection. Multiple non-subsequent rows can be selected by holding the <label>Ctrl</label> key.<br>\n"
242 "A continuous selection can be made by holding the <label>Shift</label> key and clicking on several row headers on the left side of the rows. All rows between the current cursor position and the clicked row are selected.\n"
243 "\n"
244 "<a name=\"Sorting\">\n"
245 "<h4>Sorting</h4>\n"
246 "</a>\n"
247 "Each column can be sorted by clicking on its column header. A small arrow indicates the sort order (downward pointing means descending values from the top row down, upward pointing means ascending values from the top row down).<br>\n"
248 "Activate the <label>Selected on top</label> button to show the selected rows always on top, regardless of the current sort column.\n"
249 "\n"
250 "<a name=\"Filtering\">\n"
251 "<h4>Filtering</h4>\n"
252 "</a>\n"
253 "To only navigate through parts of your data, you can use the filter button on the bottom left. The following options are available.\n"
254 "<h5>Show All Features</h5>\n"
255 "Shows all features of the layer.\n"
256 "<h5>Show Selected Features</h5>\n"
257 "Shows all features which are currently selected.\n"
258 "<h5>Show Features Visible on Map</h5>\n"
259 "Shows all features which are currently visible on the map canvas, taking the currently visible extent and scale based visibility into account.\n"
260 "<h5>Show Edited and New Features</h5>\n"
261 "Shows only edited and new features. In this mode, features with uncommitted changes are shown and this is therefore a good filter to review changes, before committing them. Please note, that deleted features are not shown in this mode.\n"
262 "<h5>Column Filter</h5>\n"
263 "A simple filter, which lets you filter by an attribute. If the attribute contains text, it looks for sub-strings also. Searching for <b>man</b> will therefore also show records containing <b>woman</b>. After changing the filter text, press <label>Enter</label> or click on <label>Apply</label>. You can also toggle the check-box <label>Case sensitive</label>, so your filter will also match <b>Night</b> when your search text is <b>night</b>. \n"
264 "<h5>Advanced Filter</h5>\n"
265 "For more complex searches, this mode offers a powerful expression builder, which is similar to a SQL WHERE clause. Please refer to the built-in help of the expression builder for details on the syntax.\n"
266 "\n"
267 "<a name=\"Editing\">\n"
268 "<h4>Editing</h4>\n"
269 "</a>\n"
270 "To edit values, you first have to switch the layer to editing mode. To switch to editing mode click on the <label>Toggle editing mode</label> (pencil) button or press <label>Ctrl + E</label>. Afterwards double-click on the value you want to edit or place the cursor on it and use the <label>Space</label>-Key. You can customize the widgets used for field editing in <label>Vector Layer Properties > Fields</label> \n"
271 "\n"
272 "<a name=\"FieldCalc\">\n"
273 "<h4>Field Calculator</h4>\n"
274 "</a>\n"
275 "The <label>Field Calculator</label> button in the attribute table allows performing calculations on basis of existing attribute values or defined functions, e.g. to calculate length or area of geometry features.<br>\n"
276 "The results can be written to a new attribute column or it can be used to update values in an already existing column.<br>\n"
277 "The vector layer needs to be in editing mode, before you can click on the <label>Field calculator</label> icon to open the dialog.\n"
278 "") );
279  gContextHelpTexts.insert( "QgsBookmarks", QCoreApplication::translate( "context_help", "<h3>Spatial Bookmarks</h3>\n"
280 "Spatial Bookmarks allow you to \"bookmark\" a geographic location and return to it later.\n"
281 "<p>\n"
282 "<a href=\"#creating\">Creating a Bookmark</a><br/>\n"
283 "<a href=\"#working\">Working with Bookmarks</a><br/>\n"
284 "<a href=\"#zooming\">Zooming to a Bookmark</a><br/>\n"
285 "<a href=\"#deleting\">Deleting a Bookmark</a><br/>\n"
286 "<a href=\"#updating\">Updating a Bookmark</a><br/>\n"
287 "\n"
288 "<a name=\"creating\">\n"
289 "<h4>Creating a Bookmark</h4>\n"
290 "</a>\n"
291 "To create a bookmark:\n"
292 "<ol>\n"
293 "<li>Zoom or pan to the area of interest.\n"
294 "<li>Click on the <label>New bookmark</label> or type Ctrl-B.\n"
295 "<li>Enter a descriptive name for the bookmark (up to 255 characters).\n"
296 "<li>Click <label>OK</label> to add the bookmark or <label>Cancel</label> to exit without adding the bookmark.\n"
297 "</ol>\n"
298 "Note that you can have multiple bookmarks with the same name.\n"
299 "<a name=\"working\">\n"
300 "<h4>Working with Bookmarks</h4>\n"
301 "</a>\n"
302 "To use or manage bookmarks, click on the <label>Show bookmarks</label> button or choose <label>Show Bookmarks</label> from the <label>View</label> menu. The bookmarks dialog allows you to zoom to or delete a bookmark. You can not edit the bookmark name or coordinates.\n"
303 "<a name=\"zooming\">\n"
304 "<h5>Zooming to a Bookmark</h5>\n"
305 "</a>\n"
306 "From the Geo spatial Bookmarks dialog, select the desired bookmark by clicking on it, then click the <label>Zoom to</label> button.\n"
307 "<p>\n"
308 "You can also zoom to a bookmark by double-clicking on it.\n"
309 "<a name=\"deleting\">\n"
310 "<h5>Deleting a Bookmark</h5>\n"
311 "</a>\n"
312 "To delete a bookmark from the Bookmarks dialog, click on it then click the <label>Delete</label> button. Confirm your choice by clicking <label>OK</label> or cancel the delete by clicking <label>Cancel</label>.\n"
313 "<a name=\"updating\">\n"
314 "<h5>Updating a Bookmark</h5>\n"
315 "</a>\n"
316 "To update the extent of a bookmark, click on it then click the <label>Update</label> button. Confirm your choice by clicking <label>OK</label> or cancel the update by clicking <label>Cancel</label>.\n"
317 "\n"
318 "") );
319  gContextHelpTexts.insert( "QgsComposer", QCoreApplication::translate( "context_help", "<h3>Print Composer</h3>\n"
320 "\n"
321 "<p>\n"
322 "The print composer lets you arrange items onto a page, which can then be printed. Items include the content of the map canvas, the scale bar, the legend, and arbitrary images.\n"
323 "</p>\n"
324 "\n"
325 "<p>\n"
326 "Click on one of the icons along the top of the composer window to select what type of item to place on the page, then click and draw on the page to place the item. The size of some items, such as the map canvas and scale bar can be set by clicking and dragging on the page. Other items have a fixed size, but which can be changed later on by highlighting the item and then adjusting the size fields in the left hand pane.\n"
327 "\n"
328 "</p>\n"
329 "\n"
330 "") );
331  gContextHelpTexts.insert( "QgsCustomProjectionDialog", QCoreApplication::translate( "context_help", "<h3>Custom Coordinate Reference System Definition</h3>\n"
332 "If QGIS does not provide the coordinate reference system you need, you can define a custom CRS. <p>\n"
333 "To define a CRS, select <label>Custom CRS</label> from the <label>Edit</label> (Gnome, OSX) or <label>Settings</label> (KDE, Windows) menu. Custom CRS are stored in your QGIS user database. In addition to your custom CRS, this database also contains your spatial bookmarks and other custom data.\n"
334 "\n"
335 "<h4>Define</h4>\n"
336 "To create a new CRS, click the <label>New</label> button and enter:\n"
337 "<ul>\n"
338 "<li>descriptive name \n"
339 "<li>CRS parameters\n"
340 "</ul>\n"
341 "Note that the Parameters must begin with a +proj=-block, to represent the new coordinate reference\n"
342 "system.\n"
343 "<p>\n"
344 "Defining a custom CRS in QGIS requires a good understanding of the Proj.4 projection library. To begin, refer to the <a href=\"ftp://ftp.remotesensing.org/proj/OF90-284.pdf\">Cartographic Projection Procedures for the UNIX Environment</a> - A User's Manual by Gerald I. Evenden, U.S. Geological Survey Open-File Report 90-284, 1990. This manual describes the use of the <i>proj.4</i> and related command line utilities. The cartographic parameters used with <i>proj.4</i> are described in the user manual, and are the same as those used by QGIS.\n"
345 "") );
346  gContextHelpTexts.insert( "QgsDecorationCopyrightDialog", QCoreApplication::translate( "context_help", "<h3>Copyright Label</h3>\n"
347 "Draws a copyright label with information.<br/>\n"
348 "You can add any random text to the map not only a copyright label.\n"
349 "<p>\n"
350 "<a href=\"#howto\">How to</a><br/>\n"
351 "<a href=\"#text\">Text formatting</a><br/>\n"
352 "\n"
353 "<a name=\"howto\">\n"
354 "<h4>How to</h4>\n"
355 "</a>\n"
356 "<ol>\n"
357 "<li>Make sure the plugin is loaded.\n"
358 "<li>Click on <label>View > Decorations > Copyright Label</label>.\n"
359 "<li>Enter the text you want to place on the map. You can use HTML.\n"
360 "<li>Choose the placement of the label from the <label>Placement Bottom Right</label> drop-down box.\n"
361 "<li>Make sure the <label>Enable Copyright Label check box</label> is checked.\n"
362 "<li>Click <label>OK</label>.\n"
363 "</ol>\n"
364 "<a name=\"text\">\n"
365 "<h4> Text formatting </h4>\n"
366 "</a>\n"
367 "This plugin supports basic HTML markup tags for formatting text. For example:\n"
368 "\n"
369 "<ul>\n"
370 "<li>&lt;B&gt;<b> Bold text </b>&lt;/B&gt;\n"
371 "</li>\n"
372 "<li>&lt;I&gt;<i> Italics </i>&lt;/I&gt;\n"
373 "</li>\n"
374 "<li>&lt;U&gt;<u> Underlined text </u>&lt;/U&gt;\n"
375 "</li>\n"
376 "</ul>\n"
377 "") );
378  gContextHelpTexts.insert( "QgsDecorationNorthArrowDialog", QCoreApplication::translate( "context_help", "<h3> North Arrow Plugin</h3>\n"
379 "Displays a north arrow overlayed onto the map.\n"
380 "<p>\n"
381 "At present there is only one style available. You can adjust the angle of the arrow or let QGIS set the direction automatically. If you choose to let QGIS determine the direction, it makes its best guess as to how the arrow should be oriented. For placement of the arrow you have four options, corresponding to the four corners of the map canvas.") );
382  gContextHelpTexts.insert( "QgsDecorationScaleBarDialog", QCoreApplication::translate( "context_help", "<h3>Scale bar Plugin</h3>\n"
383 "Draws a scale bar on the map.\n"
384 "<p>\n"
385 "You can control the style and placement, as well as the labeling of the bar.\n"
386 "QGIS only supports displaying the scale in the same units as your map frame. So\n"
387 "if the units of your layers are in meters, you can't create a scale bar in\n"
388 "feet. Likewise if you are using decimal degrees, you can't create a scale bar\n"
389 "to display distance in meters.</p> <p>\n"
390 "To add a scale bar:\n"
391 "<ol>\n"
392 "<li>Choose the placement from the <label>Placement</label> drop-down list.</li>\n"
393 "<li>Choose the style from the <label>Scale bar style</label> list.</li>\n"
394 "<li>Select the color for the bar <label>Color of bar</label> or use the default black color.</li>\n"
395 "<li>Set the size of the bar and its label <label>Size of bar</label>. </li>\n"
396 "<li>Make sure the <label>Enable scale bar</label> checkbox is checked.</li>\n"
397 "<li>Optionally choose to automatically snap to a round number when the canvas is resized <label>Automatically snap to round number on resize</label>.</li>\n"
398 "<li>Click <label>OK</label>.</li>\n"
399 "</ol>\n"
400 "") );
401  gContextHelpTexts.insert( "QgsDelimitedTextSourceSelect", QCoreApplication::translate( "context_help", "<h3>Delimited Text File Layer</h3>\n"
402 "Loads and displays delimited text files\n"
403 "<p>\n"
404 "<a href=\"#re\">Overview</a><br/>\n"
405 "<a href=\"#creating\">Creating a delimited text layer</a><br/>\n"
406 "<a href=\"#csv\">How the delimiter, quote, and escape characters work</a><br />\n"
407 "<a href=\"#regexp\">How regular expression delimiters work</a><br />\n"
408 "<a href=\"#wkt\">How WKT text is interpreted</a><br />\n"
409 "<a href=\"#attributes\">Attributes in delimited text files</a><br />\n"
410 "<a href=\"#example\">Example of a text file with X,Y point coordinates</a><br/>\n"
411 "<a href=\"#wkt_example\">Example of a text file with WKT geometries</a><br/>\n"
412 "<a href=\"#python\">Using delimited text layers in Python</a><br/>\n"
413 "</p>\n"
414 "\n"
415 "<h4><a name=\"re\">Overview</a></h4>\n"
416 "<p>A &quot;delimited text file&quot; contains data in which each record starts on a new line, and \n"
417 "is split into fields by a delimiter such as a comma. \n"
418 "This type of file is commonly exported from spreadsheets (for example CSV files) or databases. \n"
419 "Typically the first line of a delimited text file contains the names of the fields. \n"
420 "</p>\n"
421 "<p>\n"
422 "Delimited text files can be loaded into QGIS as a layer. \n"
423 "The records can be displayed spatially either as a point\n"
424 "defined by X and Y coordinates, or using a Well Known Text (WKT) definition of a geometry which may\n"
425 "describe points, lines, and polygons of arbitrary complexity. The file can also be loaded as an attribute\n"
426 "only table, which can then be joined to other tables in QGIS.\n"
427 "</p>\n"
428 "<p>\n"
429 "In addition to the geometry definition the file can contain text, integer, and real number fields. By default \n"
430 "QGIS will choose the type of field based on its the non blank values of the field. If all can be interpreted\n"
431 "as integer then the type will be integer, if all can be interpreted as real numbers then the type will\n"
432 "be double, otherwise the type will be text.\n"
433 "</p>\n"
434 "<p>\n"
435 "QGIS can also read the types from an OGR CSV driver compatible &quot;csvt&quot; file. \n"
436 "This is a file alongside the data file, but with a &quot;t&quot; appended to the file name. \n"
437 "The file should just contain one linewhich lists the type of each field. \n"
438 "Valid types are &quot;integer&quot;, &quot;real&quot;, &quot;string&quot;, &quot;date&quot;, &quot;time&quot;, and &quot;datetime&quot;. The date, time, and datetime types are treated as strings in QGIS.\n"
439 "Each type may be followed by a width and precision, for example &quot;real(10.4)&quot;.\n"
440 "The list of types are separated by commas, regardless of the delimiter used in the data file. An\n"
441 "example of a valid format file would be:\n"
442 "</p>\n"
443 "\n"
444 "<pre>\n"
445 "&quot;integer&quot;,&quot;string&quot;,&quot;string(20)&quot;,&quot;real(20.4)&quot;\n"
446 "</pre>\n"
447 "\n"
448 "<h4><a name=\"creating\">Creating a delimited text layer</a></h4>\n"
449 "<p>Creating a delimited text layer involves choosing the data file, defining the format (how each record is to\n"
450 "be split into fields), and defining the geometry is represented. \n"
451 "This is managed with the delimited text dialog as detailed below. \n"
452 "The dialog box displays a sample from the beginning of the file which shows how the format\n"
453 "options have been applied.\n"
454 "</p>\n"
455 "<h5>Choosing the data file</h5>\n"
456 "<p>Use the &quot;Browse...&quot; button to select the data file. Once the file is selected the\n"
457 "layer name will automatically be populated based on the file name. The layer name is used to represent\n"
458 "the data in the QGIS legend. \n"
459 "</p>\n"
460 "<p>\n"
461 "By default files are assumed to be encoded as UTF-8. However other file\n"
462 "encodings can be selected. For example &quot;System&quot; uses the default encoding for the operating system. \n"
463 "It is safer to use an explicit coding if the QGIS project needs to be portable.\n"
464 "</p>\n"
465 "<h5>Specifying the file format</h5>\n"
466 "<p>The file format can be one of\n"
467 "<ul>\n"
468 " <li>CSV file format. This is a format commonly used by spreadsheets, in which fields are delimited\n"
469 " by a comma character, and quoted using a &quot;(quote) character. Within quoted fields, a quote\n"
470 " mark is entered as &quot;&quot;.</li>\n"
471 " <li>Selected delimiters. Each record is split into fields using one or more delimiter character.\n"
472 " Quote characters are used for fields which may contain delimiters. Escape characters may be used \n"
473 " to treat the following character as a normal character (ie to include delimiter, quote, and \n"
474 " new line characters in text fields). The use of delimiter, quote, and escape characters is detailed <a href=\"#csv\">below</a>.\n"
475 " <li>Regular expression. Each line is split into fields using a &quot;regular expression&quot; delimiter.\n"
476 " The use of regular expressions is details <a href=\"#regexp\">below</a>.\n"
477 "</ul>\n"
478 "<h5>Record and field options</h5>\n"
479 "<p>The following options affect the selection of records and fields from the data file</p>\n"
480 "<ul>\n"
481 " <li>Number of header lines to discard: used to ignore header lines at the beginning of the text file</li>\n"
482 " <li>First record has fields names: if selected then the first record in the file (after the discarded lines) is interpreted as names of fields, rather than as a data record.</li>\n"
483 " <li>Trim fields: if selected then leading and trailing whitespace characters will be removed from each field (except quoted fields). </li>\n"
484 " <li>Discard empty fields: if selected then empty fields (after trimming) will be discard. This \n"
485 " affects the alignment of data into fields and is equivalent to treating consecutive delimiters as a \n"
486 " single delimiter. Quoted fields are never discarded.</li>\n"
487 " <li>Decimal separator is comma: if selected then commas instead of points are used as the decimal separator in real numbers. For\n"
488 " example <tt>-51,354</tt> is equivalent to -51.354.\n"
489 " </li>\n"
490 "</ul>\n"
491 "<h5>Geometry definition</h5>\n"
492 "<p>The geometry is can be define as one of</p>\n"
493 "<ul>\n"
494 " <li>Point coordinates: each feature is represented as a point defined by X and Y coordinates.</li>\n"
495 " <li>Well known text (WKT) geometry: each feature is represented as a well known text string, for example\n"
496 " <tt>POINT(1.525622 51.20836)</tt>. See details of the <a href=\"#wkt\">well known text</a> format.\n"
497 " <li>No geometry (attribute only table): records will not be displayed on the map, but can be viewed\n"
498 " in the attribute table and joined to other layers in QGIS</li>\n"
499 "</ul>\n"
500 "<p>For point coordinates the following options apply:</p>\n"
501 "<ul>\n"
502 " <li>X field: specifies the field containing the X coordinate</li>\n"
503 " <li>Y field: specifies the field containing the Y coordinate</li>\n"
504 " <li>DMS angles: if selected coordinates are represented as degrees/minutes/seconds\n"
505 " or degrees/minutes. QGIS is quite permissive in its interpretation of degrees/minutes/seconds.\n"
506 " A valid DMS coordinate will contain three numeric fields with an optional hemisphere prefix or suffix\n"
507 " (N, E, or + are positive, S, W, or - are negative). Additional non numeric characters are \n"
508 " generally discarded. For example <tt>N41d54'01.54&quot;</tt> is a valid coordinate.\n"
509 " </li>\n"
510 "</ul>\n"
511 "<p>For well known text geometry the following options apply:</p>\n"
512 "<ul>\n"
513 " <li>Geometry field: the field containing the well known text definition.</li>\n"
514 " <li>Geometry type: one of &quot;Detect&quot; (detect), &quot;Point&quot;, &quot;Line&quot;, or &quot;Polygon&quot;.\n"
515 " QGIS layers can only display one type of geometry feature (point, line, or polygon). This option selects\n"
516 " which geometry type is displayed in text files containing multiple geometry types. Records containing\n"
517 " other geometry types are discarded. \n"
518 " If &quot;Detect&quot; is selected then the type of the first geometry in the file will be used.\n"
519 " &quot;Point&quot; includes POINT and MULTIPOINT WKT types, &quot;Line&quot; includes LINESTRING and\n"
520 " MULTLINESTRING WKT types, and &quot;Polygon&quot; includes POLYGON and MULTIPOLYGON WKT types.\n"
521 "</ul>\n"
522 "<h5>Layer settings</h5>\n"
523 "<p>Layer settings control the way the layer is managed in QGIS. The options available are:</p>\n"
524 "<ul>\n"
525 "<li>Use spatial index. Create a spatial index to improve the performance of displaying and selecting spatial objects.\n"
526 "This option may be useful for files larger than a few megabytes in size.</li>\n"
527 "<li>Use subset index. Create an index if a subset of records is being used (either by explicitly setting a subset string \n"
528 "from the layer properties dialog, or an implicit subset of features for which the geometry is valid in files\n"
529 "for which all not geometries are valid). The index will only be created when a subset is defined.</li>\n"
530 "<li>Watch file. If this options is selected QGIS will watch the file for changes by other applications, and \n"
531 "reload the file when it is changed. The map will not be updated until refreshed by the user, but indexes and\n"
532 "extents will be reloaded. This option should be selected if indexes are used and it is likely that another\n"
533 "application will change the file. </li>\n"
534 "</ul>\n"
535 "\n"
536 "<h4><a name=\"csv\">How the delimiter, quote, and escape characters work</a></h4>\n"
537 "<p>Records are split into fields using three character sets: \n"
538 "delimiter characters, quote characters, and escape characters. \n"
539 "Other characters in the record are considered as data, split into\n"
540 "fields by delimiter characters. \n"
541 "Quote characters occur in pairs and cause the text between them to be treated as a data. Escape characters cause the character following them to be treated as data. \n"
542 "</p>\n"
543 "<p>\n"
544 "Quote and escape characters cannot be the same as delimiter characters - they\n"
545 "will be ignored if they are. Escape characters can be the same as quote characters, but behave differently\n"
546 "if they are.</p>\n"
547 "<p>The delimiter characters are used to mark the end of each field. If more than one delimiter character\n"
548 "is defined then any one of the characters can mark the end of a field. The quote and escape characters \n"
549 "can override the delimiter character, so that it is treated as a normal data character.</p>\n"
550 "<p>Quote characters may be used to mark the beginning and end of quoted fields. Quoted fields can \n"
551 "contain delimiters and may span multiple lines in the text file. If a field is quoted then it must\n"
552 "start and end with the same quote character. Quote characters cannot occur within a field unless they\n"
553 "are escaped.</p>\n"
554 "<p>Escape characters which are not quote characters force the following character to be treated as data. \n"
555 "(that is, to stop it being treated as a new line, delimiter, or quote character). \n"
556 "</p>\n"
557 "<p>Escape characters that are also quote characters have much more limited effect. They only apply within quotes and only escape themselves. For example, if \n"
558 "<tt>'</tt> is a quote and escape character, then the string\n"
559 "<tt>'Smith''s&nbsp;Creek'</tt> will represent the value Smith's&nbsp;Creek.\n"
560 "</p>\n"
561 "\n"
562 "\n"
563 "<h4><a name=\"regexp\">How regular expression delimiters work</a></h4>\n"
564 "<p>Regular expressions are mini-language used to represent character patterns. There are many variations\n"
565 "of regular expression syntax - QGIS uses the syntax provided by the <a href=\"http://qt-project.org/doc/qt-4.8/qregexp.html\">QRegExp</a> class of the <a href=\"http://qt.digia.com\">Qt</a> framework.</p>\n"
566 "<p>In a regular expression delimited file each line is treated as a record. Each match of the regular expression in the line is treated as the end of a field. \n"
567 "If the regular expression contains capture groups (eg <tt>(cat|dog)</tt>)\n"
568 " then these are extracted as fields. \n"
569 " If this is not desired then use non-capturing groups (eg <tt>(?:cat|dog)</tt>).\n"
570 "</p>\n"
571 "<p>The regular expression is treated differently if it is anchored to the start of the line (that is, the pattern starts with <tt>^</tt>).\n"
572 "In this case the regular expression is matched against each line. If the line does not match it is discarded\n"
573 "as an invalid record. Each capture group in the expression is treated as a field. The regular expression\n"
574 "is invalid if it does not have capture groups. As an example this can be used as a (somewhat \n"
575 "unintuitive) means of loading data with fixed width fields. For example the \n"
576 "expression\n"
577 "<pre>\n"
578 "^(.{5})(.{10})(.{20})(.{20})\n"
579 "</pre>\n"
580 "<p>will extract four fields of widths 5, 10, 20, and 20 characters from each line. \n"
581 "Lines less than 55 characters long will be discarded.\n"
582 "</p>\n"
583 "\n"
584 "\n"
585 "<h4><a name=\"wkt\">How WKT text is interpreted</a></h4>\n"
586 "<p>\n"
587 "The delimited text layer recognizes the following \n"
588 "<a href=\"http://en.wikipedia.org/wiki/Well-known_text\">well known text</a> types - \n"
589 "<tt>POINT</tt>, <tt>MULTIPOINT</tt>, <tt>LINESTRING</tt>, <tt>MULTILINESTRING</tt>, <tt>POLYGON</tt>, and <tt>MULTIPOLYGON</tt>. \n"
590 "It will accept geometries with\n"
591 "a Z coordinate (eg <tt>POINT&nbsp;Z</tt>), a measure (<tt>POINT&nbsp;M</tt>), or both (<tt>POINT&nbsp;ZM</tt>).\n"
592 "</p>\n"
593 "<p>\n"
594 "It can also handle the PostGIS EWKT variation, in which the geometry is preceded by an spatial reference \n"
595 "system id (eg <tt>SRID=4326;POINT(175.3&nbsp;41.2)</tt>), and a variant used by Informix in which the WKT is \n"
596 "preceded by an integer spatial reference id (eg <tt>1 POINT(175.3&nbsp;41.2)</tt>).\n"
597 "In both cases the SRID is ignored.\n"
598 "</p>\n"
599 "\n"
600 "\n"
601 "\n"
602 "<h4><a name=\"attributes\">Attributes in delimited text files</a></h4> \n"
603 "<p>Each record in the delimited text file is split into fields representing\n"
604 "attributes of the record. Usually the attribute names are taken from the first\n"
605 "data record in the file. However if this does not contain attribute names, then they will be named <tt>field_1</tt>, <tt>field_2</tt>, and so on. \n"
606 "Also if records have more fields than are defined in the header record then these\n"
607 "will be named <tt>field_#</tt>, where # is the field number (note that empty fields at the end of a record are ignored).\n"
608 "QGIS may override \n"
609 "the names in the text file if they are numbers, or have names like <tt>field_#</tt>,\n"
610 "or are duplicated.\n"
611 "</p>\n"
612 "<p>\n"
613 "In addition to the attributes explicitly in the data file QGIS assigns a unique \n"
614 "feature id to each record which is the line number in the source file on which\n"
615 "the record starts. \n"
616 "</p>\n"
617 "<p>\n"
618 "Each attribute also has a data type, one of string (text), integer, or real number.\n"
619 "The data type is inferred from the content of the fields - if every non blank value\n"
620 "is a valid integer then the type is integer, otherwise if it is a valid real\n"
621 "number then the type is real, otherwise the type is string. Note that this is\n"
622 "based on the content of the fields - quoting fields does not change the way they\n"
623 "are interpreted.\n"
624 "</p>\n"
625 "\n"
626 "\n"
627 "<h4><a name=\"example\">Example of a text file with X,Y point coordinates</a></h4> \n"
628 "<pre>\n"
629 "X;Y;ELEV\n"
630 "-300120;7689960;13\n"
631 "-654360;7562040;52\n"
632 "1640;7512840;3\n"
633 "</pre>\n"
634 "<p>This file:</p>\n"
635 "<ul>\n"
636 "<li> Uses <b>;</b> as delimiter. Any character can be used to delimit the fields.</li>\n"
637 "<li>The first row is the header row. It contains the field names X, Y and ELEV.</li>\n"
638 "<li>The x coordinates are contained in the X field.</li>\n"
639 "<li>The y coordinates are contained in the Y field.</li>\n"
640 "</ul>\n"
641 "<h4><a name=\"wkt_example\">Example of a text file with WKT geometries</a></h4>\n"
642 "<pre>\n"
643 "id|wkt\n"
644 "1|POINT(172.0702250 -43.6031036)\n"
645 "2|POINT(172.0702250 -43.6031036)\n"
646 "3|POINT(172.1543206 -43.5731302)\n"
647 "4|POINT(171.9282585 -43.5493308)\n"
648 "5|POINT(171.8827359 -43.5875983)\n"
649 "</pre>\n"
650 "<p>This file:</p>\n"
651 "<ul>\n"
652 " <li>Has two fields defined in the header row: id and wkt.\n"
653 " <li>Uses <b>|</b> as a delimiter.</li>\n"
654 " <li>Specifies each point using the WKT notation\n"
655 "</ul>\n"
656 "\n"
657 "<h4><a name=\"python\">Using delimited text layers in Python</a></h4>\n"
658 "<p>Delimited text data sources can be creating from Python in a similar way to other vector layers.\n"
659 "The pattern is:\n"
660 "</p>\n"
661 "<pre>\n"
662 "from PyQt4.QtCore import QUrl, QString\n"
663 "from qgis.core import QgsVectorLayer, QgsMapLayerRegistry\n"
664 "\n"
665 "# Define the data source\n"
666 "filename=\"test.csv\"\n"
667 "uri=QUrl.fromLocalFile(filename)\n"
668 "uri.addQueryItem(\"type\",\"csv\")\n"
669 "uri.addQueryItem(\"delimiter\",\"|\")\n"
670 "uri.addQueryItem(\"wktField\",\"wkt\")\n"
671 "# ... other delimited text parameters\n"
672 "layer=QgsVectorLayer(QString(uri.toEncoded()),\"Test CSV layer\",\"delimitedtext\")\n"
673 "# Add the layer to the map\n"
674 "if layer.isValid():\n"
675 " QgsMapLayerRegistry.instance().addMapLayer( layer )\n"
676 "</pre>\n"
677 "<p>This could be used to load the second example file above.</p>\n"
678 "<p>The configuration of the delimited text layer is defined by adding query items to the uri.\n"
679 "The following options can be added\n"
680 "</p>\n"
681 "<ul>\n"
682 " <li><tt>encoding=..</tt> defines the file encoding. The default is &quot;UTF-8&quot;</li>\n"
683 " <li><tt>type=(csv|regexp|whitespace)</tt> defines the delimiter type. Valid values are csv, \n"
684 " regexp, and whitespace (which is just a special case of regexp). The default is csv.</li>\n"
685 " <li><tt>delimiter=...</tt> defines the delimiters that will be used for csv formatted files, \n"
686 " or the regular expression for regexp formatted files. The default is , for CSV files. There is\n"
687 " no default for regexp files.</li>\n"
688 " <li><tt>quote=..</tt> (for csv files) defines the characters used to quote fields. The default is &quot;</li>\n"
689 " <li><tt>escape=..</tt> (for csv files) defines the characters used to escape the special meaning of the next character. The default is &quot;</li>\n"
690 " <li><tt>skipLines=#</tt> defines the number of lines to discard from the beginning of the file. The default is 0.</li>\n"
691 " <li><tt>useHeader=(yes|no)</tt> defines whether the first data record contains the names of the data fields. The default is yes.</li>\n"
692 " <li><tt>trimFields=(yes|no)</tt> defines whether leading and trailing whitespace is to be removed from unquoted fields. The default is no.</li>\n"
693 " <li><tt>maxFields=#</tt> defines the maximum number of fields that will be loaded from the file. \n"
694 " Additional fields in each record will be discarded. The default is 0 - include all fields.\n"
695 " (This option is not available from the delimited text layer dialog box).</li>\n"
696 " <li><tt>skipEmptyFields=(yes|no)</tt> defines whether empty unquoted fields will be discarded (applied after trimFields). The default is no.</li>\n"
697 " <li><tt>decimalPoint=.</tt> specifies an alternative character that may be used as a decimal point in numeric fields. The default is a point (full stop) character.</li>\n"
698 " <li><tt>wktField=fieldname</tt> specifies the name or number (starting at 1) of the field containing a well known text geometry definition</li>\n"
699 " <li><tt>xField=fieldname</tt> specifies the name or number (starting at 1) of the field the X coordinate (only applies if wktField is not defined)</li>\n"
700 " <li><tt>yField=fieldname</tt> specifies the name or number (starting at 1) of the field the Y coordinate (only applies if wktField is not defined)</li>\n"
701 " <li><tt>geomType=(auto|point|line|polygon|none)</tt> specifies type of geometry for wkt fields, or none to load the file as an attribute-only table. The default is auto.</li>\n"
702 " <li><tt>subset=expression</tt> specifies an expression used to identify a subset of the records that will be \n"
703 " used.</li>\n"
704 " <li><tt>crs=...</tt> specifies the coordinate system to use for the vector layer, in a format accepted by QgsCoordinateReferenceSystem.createFromString (for example &quot;EPSG:4167&quot;). If this is not \n"
705 " specified then a dialog box may request this information from the user\n"
706 " when the layer is loaded (depending on QGIS CRS settings).</li>\n"
707 " <li><tt>subsetIndex=(yes|no)</tt> specifies whether the provider should build an index to define subset during the initial file scan. The index will apply both for explicitly defined subsets, and for the implicit subset of features for which the geometry definition is valid. By default the subset index is built if it is applicable.</li>\n"
708 " <li><tt>spatialIndex=(yes|no)</tt> specifies whether the provider should build a spatial index during the initial file scan. By default the spatial index is not built. </li>\n"
709 " <li><tt>watchFile=(yes|no)</tt> specifies whether the provider should use a file system watcher to monitor for changes to the file.</li>\n"
710 " <li><tt>quiet=(yes|no)</tt> specifies whether errors encountered loading the layer are presented in a dialog box (they will be written to the QGIS log in any case). The default is no. This option is not available from the GUI</li>\n"
711 "</ul>\n"
712 "\n"
713 "\n"
714 "") );
715  gContextHelpTexts.insert( "QgsFieldCalculator", QCoreApplication::translate( "context_help", "<h3>Field Calculator</h3>\n"
716 "The field calculator allows you to update fields with expressions.\n"
717 "\n"
718 "<h4>Supported Operations</h4>\n"
719 "\n"
720 "<table border=1>\n"
721 "<tr>\n"
722 " <th>Operation</th>\n"
723 " <th>Description</th>\n"
724 "</tr>\n"
725 "<tr>\n"
726 " <td>\n"
727 " <tt>column_name</tt><br>\n"
728 " <tt>\"column_name\"</tt>\n"
729 " </td>\n"
730 " <td>value of field <tt>column_name</tt></td>\n"
731 "</tr>\n"
732 "<tr><td>'<tt>string</tt>'</td><td>literal string value</td></tr>\n"
733 "<tr><td><tt>number</tt></td><td>number</td></tr>\n"
734 "<tr><td>NULL</td><td>null value</td></tr>\n"
735 "<tr><td>exp(<tt>a</tt>)</td><td>Euler's number e to the power of <tt>a</tt></td></tr>\n"
736 "<tr><td>ln(<tt>a</tt>)</td><td>natural log (i.e. base e) of <tt>a</tt></td></tr>\n"
737 "<tr><td>log10(<tt>a</tt>)</td><td>log base 10 of <tt>a</tt></td></tr>\n"
738 "<tr><td>log(<tt>a</tt>,<tt>b</tt>)</td><td>log base <tt>b</tt> of <tt>a</tt></td></tr>\n"
739 "<tr><td>sqrt(<tt>a</tt>)</td><td>square root</td></tr>\n"
740 "<tr><td>sin(<tt>a</tt>)</td><td>sine of <tt>a</tt></td></tr>\n"
741 "<tr><td>cos(<tt>a</tt>)</td><td>cosine of <tt>b</tt></td></tr>\n"
742 "<tr><td>tan(<tt>a</tt>)</td><td>tangent of <tt>a</tt></td></tr>\n"
743 "<tr><td>asin(<tt>a</tt>)</td><td>inverse sine of <tt>a</tt></td></tr>\n"
744 "<tr><td>acos(<tt>a</tt>)</td><td>inverse cosine of <tt>a</tt></td></tr>\n"
745 "<tr><td>atan(<tt>a</tt>)</td><td>inverse tangent of <tt>a</tt></td></tr>\n"
746 "<tr><td>to int(<tt>a</tt>)</td><td>convert string <tt>a</tt> to integer</td></tr>\n"
747 "<tr><td>to real(<tt>a</tt>)</td><td>convert string <tt>a</tt> to real</td></tr>\n"
748 "<tr><td>to string(<tt>a</tt>)</td><td>convert number <tt>a</tt> to string</td></tr>\n"
749 "<tr><td>lower(<tt>a</tt>)</td><td>convert string <tt>a</tt> to lower case</td></tr>\n"
750 "<tr><td>upper(<tt>a</tt>)</td><td>convert string <tt>a</tt> to upper case</td></tr>\n"
751 "<tr><td>length(<tt>a</tt>)</td><td>length of string <tt>a</tt></td></tr>\n"
752 "<tr><td>atan2(<tt>y</tt>,<tt>x</tt>)</td><td>inverse tangent of <tt>y</tt>/<tt>x</tt> using the signs of the two arguments to determine the quadrant of the result.</td></tr>\n"
753 "<tr><td>replace(<tt>a</tt>,<tt>replacethis</tt>,<tt>withthat</tt>)</td><td>replace <tt>replacethis</tt> with <tt>withthat</tt> in string <tt>a</tt></td></td>\n"
754 "<tr><td>regexp_replace(<tt>a</tt>,<tt>replacethis</tt>,<tt>withthat</tt>)</td><td>replace the regular expression <tt>replacethis</tt> with <tt>withthat</tt> in string <tt>a</tt></td></td>\n"
755 "<tr><td>substr(<tt>a</tt>,<tt>from</tt>,<tt>len</tt>)</td><td><tt>len</tt> characters of string <tt>a</tt> starting from <tt>from</tt> (first character index is 1)</td></td>\n"
756 "<tr><td><tt>a</tt> || <tt>b</tt></td><td>concatenate strings <tt>a</tt> and <tt>b</tt></td></tr>\n"
757 "<tr><td>$rownum</td><td>number current row</td></tr>\n"
758 "<tr><td>$area</td><td>area of polygon</td></tr>\n"
759 "<tr><td>$perimeter</td><td>perimeter of polygon</td></tr>\n"
760 "<tr><td>$length</td><td>area of line</td></tr>\n"
761 "<tr><td>$id</td><td>feature id</td></tr>\n"
762 "<tr><td>$x</td><td>x coordinate of point</td></tr>\n"
763 "<tr><td>$y</td><td>y coordinate of point</td></tr>\n"
764 "<tr><td>xat(<tt>n</tt>)</td><td>x coordinate of <tt>n</tt>th point of a line (indices start at 0; negative values apply to the last index)</td></tr>\n"
765 "<tr><td>yat(<tt>n</tt>)</td><td>y coordinate of <tt>n</tt>th point of a line (indices start at 0; negative values apply to the last index)</td></tr>\n"
766 "<tr><td><tt>a</tt> ^ <tt>b</tt></td><td><tt>a</tt> raised to the power of <tt>b</tt></td></tr>\n"
767 "<tr><td><tt>a</tt> * <tt>b</tt></td><td><tt>a</tt> multiplied by <tt>b</tt></td></tr>\n"
768 "<tr><td><tt>a</tt> / <tt>b</tt></td><td><tt>a</tt> divided by <tt>b</tt></td></tr>\n"
769 "<tr><td><tt>a</tt> + <tt>b</tt></td><td><tt>a</tt> plus <tt>b</tt></td></tr>\n"
770 "<tr><td><tt>a</tt> - <tt>b</tt></td><td><tt>a</tt> minus <tt>b</tt></td></tr>\n"
771 "<tr><td>+<tt>a</tt></td><td>positive sign</td></tr>\n"
772 "<tr><td>-<tt>a</tt></td><td>negative value of <tt>a</tt></td></tr>\n"
773 "</table>\n"
774 "") );
775  gContextHelpTexts.insert( "QgsGPSPluginGui", QCoreApplication::translate( "context_help", "<h3>GPS Plugin</h3>\n"
776 "\n"
777 "") );
778  gContextHelpTexts.insert( "QgsIdentifyResultsDialog", QCoreApplication::translate( "context_help", "<h3>Identify Features</h3>\n"
779 "<p>\n"
780 "The results dialog shows all the features identified within the search tolerance. To see the results details, expand the feature information on the left of each feature.\n"
781 "</p>\n"
782 "<p>\n"
783 "The search radius can be set in the options dialog <label>Settings > Options > Map tools</label>, Identify section, as a percentage of map width. In this section you may also set identify mode to <label>Current layer</label>, <label>Top down, stop at first</label>, <label>Top down</label>. <br>\n"
784 "You may also tick an <label>Open feature form, if a single feature is identified</label> option.<br>\n"
785 "Identifiable layers can be set in the Project Properties dialog <label>Settings > Project Properties > Identifiable layers</label> where all the layers names are listed, their type (vector, raster, etc.) and ability to be identified.\n"
786 "</p>\n"
787 "") );
788  gContextHelpTexts.insert( "QgsMeasureDialog", QCoreApplication::translate( "context_help", "<h3>Measure Tools</h3>\n"
789 "There are two measure tools: length and area. With them, you can measure both distances and areas on the map canvas. Currently the tools provide results in metric units only. A single right mouse click stops the measuring, while two right mouse clicks starts measuring anew.\n"
790 "<h4>Measuring Lengths</h4>\n"
791 "To measure lengths, select the tool and click along the path you want to measure. The length of each segment is displayed as is the total length for the path.\n"
792 "<h4>Measuring Areas</h4>\n"
793 "To measure areas, select the tool and click to create the area. The total area is dynamically displayed as you click.\n"
794 "") );
795  gContextHelpTexts.insert( "QgsNewOgrConnection", QCoreApplication::translate( "context_help", "<h3>New OGR Database Connection Dialog</h3>\n"
796 "") );
797  gContextHelpTexts.insert( "QgsNewSpatialiteLayerDialog", QCoreApplication::translate( "context_help", "<h3>Create a New SpatiaLite Layer</h3>\n"
798 "You can use this dialog to create a new SpatiaLite database and/or an empty SpatiaLite layer for editing. See below for an explanation of the dialog inputs.\n"
799 "<h4>Database</h4>\n"
800 "Choose the database from the drop-down list. This list is created from your saved SpatiaLite connections. If you don't have a saved connection or want to create a new database, click on the button (<label>...</label>) to the right of the drop-down.\n"
801 "<h4>Layer name</h4>\n"
802 "Enter a name for the layer you want to create. The name should be one word. You can use underscores in the name if you like.\n"
803 "<h4>Geometry column</h4>\n"
804 "Enter a name for the geometry column or accept the default.\n"
805 "<h4>Type</h4>\n"
806 "Choose the type of layer you want to create. \n"
807 "<h4>EPSG SRID</h4>\n"
808 "Enter the EPSG number for the spatial reference id (SRID). By default the SRID for WGS 84 is filled in for you. Click on <label>Find SRID</label> button to change the coordinate reference system of the layer if needed. The SRID must exist within the spatial_ref_sys in your SpatiaLite database. You can search for the SRID using partial matches on both name and SRID.\n"
809 "<h4>Create an auto-incrementing Primary Key</h4>\n"
810 "Clicking this check box will add a primary key to the new layer. This key field will be auto-incrementing, meaning you don't have to enter a value for it when adding features to the attribute table of the layer.\n"
811 "<h4>New attribute</h4>\n"
812 "Add the desired attributes by clicking on the <label>Add to attributes list</label> button after you have specified a name and type for the attribute. Only real, integer, and string attributes are supported.<br/>\n"
813 "Width and precision are irrelevant in a SpatiaLite database so you do not have to specify these.\n"
814 "<h4>Attributes list</h4>\n"
815 "In this section you can see the list of attributes. To delete one of them, click on it and choose <label>Remove selected attribute</label> button.\n"
816 "\n"
817 "<p>\n"
818 "Click on <label>OK</label> to create the layer and close the dialog.\n"
819 "<label>Cancel</label> will close the layer without further changes.\n"
820 "") );
821  gContextHelpTexts.insert( "QgsNewVectorLayerDialog", QCoreApplication::translate( "context_help", "<h3>Create New Vector Layer</h3>\n"
822 "To create a new layer for editing, choose <label>New Vector Layer</label> from the <label>Layer</label> menu.<br/>\n"
823 "With this dialog you can create a shape file layer.\n"
824 "<h4>Type</h4>\n"
825 "Choose the type of layer <label>Point</label>, <label>Line</label> or <label>Polygon</label>.<br/>\n"
826 "Click on <label>Specify CRS</label> button to change the coordinate reference system of the layer if needed.\n"
827 "<h4>New attribute</h4>\n"
828 "Add the desired attributes by clicking on the <label>Add to attributes list</label> button after you have specified a name and type for the attribute. Only real, integer, and string attributes are supported.<br/>\n"
829 "You can also define the width and precision of the new attribute column.\n"
830 "<h4>Attributes list</h4>\n"
831 "In this section you can see the list of attributes. To delete one of them, click on it and choose <label>Remove selected attribute</label> button.\n"
832 "") );
833  gContextHelpTexts.insert( "QgsOpenVectorLayerDialog", QCoreApplication::translate( "context_help", "<h3>Open Vector Layer Dialog</h3>\n"
834 "\n"
835 "The open vector layer dialog is used to add vector data to the QGIS map view. Vector data are spatial data described using geometries of points, lines and polygons (enclosed areas).</p>\n"
836 "QGIS supports vector data in a number of formats, including those supported by the OGR library data provider plugin, such as ESRI shape files, MapInfo MIF (interchange format) and MapInfo TAB (native format).</p>\n"
837 "QGIS supports PostGIS layers in a PostgreSQL database and SpatiaLite layers. Support for additional data types (eg. delimited text) is provided by additional data provider plugins. A list of OGR supported vector formats can be found in Appendix A.1 of the User Guide.</p>\n"
838 "Detailed description how to proceed with vector data is described in chapter 5 'Working with Vector Data'.\n"
839 "") );
840  gContextHelpTexts.insert( "QgsOptions", QCoreApplication::translate( "context_help", "<h3>Options</h3>\n"
841 "This dialog allows you to select some basic options for QGIS. There are eight tabs:\n"
842 "<p>\n"
843 "\n"
844 "<a href=\"#general\">General</a><br/>\n"
845 "<a href=\"#ren\">Rendering & SVG</a><br/>\n"
846 "<a href=\"#map\">Map tools</a><br/>\n"
847 "<a href=\"#over\">Overlay</a><br/>\n"
848 "<a href=\"#digit\">Digitizing</a><br/>\n"
849 "<a href=\"#crs\">CRS</a><br/>\n"
850 "<a href=\"#loc\">Locale</a><br/>\n"
851 "<a href=\"#net\">Network & Proxy</a><br/>\n"
852 "\n"
853 "<a name=\"general\">\n"
854 "<h4>General</h4>\n"
855 "</a>\n"
856 "On this tab you can set general options for project behavior on opening/saving, default map appearance, your favorite icon theme and many others.\n"
857 "<a name=\"ren\">\n"
858 "<h4>Rendering & SVG</h4>\n"
859 "</a>\n"
860 "Within this tab you can set general rendering options for map layers.<br>\n"
861 "By default, QGIS renders all visible layers whenever the map canvas must be refreshed. The events that trigger a refresh of the map canvas include:\n"
862 "<ul>\n"
863 "<li>Adding a layer\n"
864 "<li>Panning or zooming\n"
865 "<li>Resizing the QGIS window\n"
866 "<li>Changing the visibility of a layer or layers\n"
867 "</ul>\n"
868 "QGIS allows you to control the rendering process in a number of ways:<p>\n"
869 "You can set an option to always load new layers without drawing them.<br>\n"
870 "This means the layer will be added to the map, but its visibility check box in the legend will be unchecked by default. To set this option, uncheck the <label>By default new layers added to the map should be displayed</label> check box.<p>\n"
871 "You can set an option to update the map display as features are drawn. <br>\n"
872 "By default, QGIS does not display any features for a layer until the entire layer has been rendered. To update the display as features are read from the data store, set the <label>Number of features to draw before updating the display</label> to an appropriate value. Setting a value of 0 disables update during drawing (this is the default). Setting a value too low will result in poor performance as the map canvas is continually updated during the reading of the features. A suggested value to start with is 500.\n"
873 "<a name=\"map\">\n"
874 "<h4>Map tools</h4>\n"
875 "</a>\n"
876 "<h5>Identify</h5>\n"
877 "The <label>Mode</label> setting determines which layers will be shown by the <label>Identify</label> tool. By switching to <label>Top down</label> instead of <label>Current layer</label> attributes for all identifiable layers will be shown with the <label>Identify</label> tool.\n"
878 "<h5>Measure tool</h5>\n"
879 "Here you can set an ellipsoid for distance calculations, measurement units and preferred color of rubber band.\n"
880 "<h5>Panning and zooming</h5>\n"
881 "Allows defining mouse wheel action and zoom factor.\n"
882 "<a name=\"over\">\n"
883 "<h4>Overlay</h4>\n"
884 "</a>\n"
885 "Define placement algorithm for labels. Choose between <label>central point (fastest)</label>, <label>chain (fast)</label>, <label>popmusic tabu chain (slow)</label>, <label>popmusic tabu (slow)</label> and <label>popmusic chain (very slow)</label>.\n"
886 "\n"
887 "<a name=\"digit\">\n"
888 "<h4>Digitizing</h4>\n"
889 "</a>\n"
890 "<h5>Rubber band</h5>\n"
891 "In the <label>Digitizing</label> tab you can define settings for digitizing line width and color.\n"
892 "<h5>Snapping</h5>\n"
893 "Here you can define a general, project wide snapping tolerance. <p>\n"
894 "You can select between <label>To vertex</label>, <label>To segment</label> or <label>To vertex and segment</label> as default snap mode. You can also define a default snapping tolerance and a search radius for vertex edits. The tolerance can be set either in map units or in pixels. The advantage of choosing pixels, is that the snapping tolerance doesn't have to be changed after zoom operations.<p>\n"
895 "A layer based snapping tolerance can be defined by choosing <label>Settings</label> (or <label>File</label>) > <label>Project Properties...</label>. In the <label>General</label> tab, section <label>Digitize</label> you can click on <label>Snapping options...</label> to enable and adjust snapping mode and tolerance on a layer basis.\n"
896 "<h5>Vertex markers</h5>\n"
897 "You can define marker style as <label>Semi transparent circle</label>, <label>Cross</label> or <label>None</label> and size; you can also set showing markers only for selected features.\n"
898 "<h5>Enter attribute values</h5>\n"
899 "By default, after digitizing a new feature, QGIS asks you to enter attribute values for that feature. Ticking <label>Suppress attributes pop-up windows after each created feature</label> allows you to enter the attributes later.\n"
900 "<a name=\"crs\">\n"
901 "<h4>CRS</h4>\n"
902 "</a>\n"
903 "QGIS no longer sets the map CRS to the coordinate reference system of the first layer loaded. When you start a QGIS session with layers that do not have a CRS, you need to check and define the CRS definition for these layers. This can be done globally on this tab.<p>\n"
904 "The global default CRS <i>proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs</i> comes predefined in QGIS but can of course be changed, and the new definition will be saved for subsequent QGIS sessions.\n"
905 "<a name=\"lov\">\n"
906 "<h4>Locale</h4>\n"
907 "</a>\n"
908 "Informs you about active system locale. To change it tick <label>Override system locale</label> and restart QGIS.\n"
909 "<a name=\"net\">\n"
910 "<h4>Network & Proxy</h4>\n"
911 "</a>\n"
912 "Tick <label>Use proxy for web access</label> to define host, port, user, and password.\n"
913 "") );
914  gContextHelpTexts.insert( "QgsOracleNewConnection", QCoreApplication::translate( "context_help", "<h3>Create a New Oracle Connection</h3>\n"
915 "This dialog allows you to define the settings for a connection to a Oracle database.\n"
916 "<p>\n"
917 "<ul>\n"
918 "<li> <label>Name</label> A name to identify the connection settings.\n"
919 "\n"
920 "<li> <label>Database</label> SID or SERVICE_NAME of the Oracle instance.\n"
921 "\n"
922 "<li> <label>Host</label> Name or IP address of the computer hosting the database server\n"
923 "\n"
924 "<li> <label>Port</label> IP port used by the database server\n"
925 "\n"
926 "<li> <label>Username</label> Database user name.\n"
927 "<li> <label>Password</label> Database password.\n"
928 "\n"
929 "<li> <label>Save Username</label> Indicates whether to save the database user name in the connection configuration.\n"
930 "\n"
931 "<li> <label>Save Password</label> Indicates whether to save the database password in the connection settings. <font color=\"red\">Passwords are saved in <strong>clear text</strong> in the system configuration and in the project files!</font>\n"
932 "\n"
933 "<li> <label>Only look in meta data table</label> Restricts the displayed tables to those that are in the all_sdo_geom_metadata view. This can speed up the initial display of spatial tables.\n"
934 "\n"
935 "<li> <label>Only look for user's tables</label> When searching for spatial tables restrict the search to tables that are owner by the user.\n"
936 "\n"
937 "<li> <label>Also list tables with no geometry</label> Indicates that tables without geometry should also be listed by default.\n"
938 "\n"
939 "<li> <label>Use estimated table statistics for the layer metadata</label> When\n"
940 "the layer is setup various metadata is required for the Oracle table. This\n"
941 "includes information such as the table row count, geometry type and spatial\n"
942 "extents of the data in the geometry column. If the table contains a large\n"
943 "number of rows determining this metadata is time consuming. By activating this\n"
944 "option the following fast table metadata operations are done: Row count is\n"
945 "determined from all_tables.num_rows. Table extents are always determined with\n"
946 "the SDO_TUNE.EXTENTS_OF function even if a layer filter is applied. The table\n"
947 "geometry is determined from the first 100 non-null geometry rows in the table.\n"
948 "\n"
949 "<li> <label>Only existing geometry types</label> Only list the existing\n"
950 "geometry types and don't offer to add others.\n"
951 "\n"
952 "</ul>\n"
953 "") );
954  gContextHelpTexts.insert( "QgsPgNewConnection", QCoreApplication::translate( "context_help", "<h3>Create a New PostGIS Connection</h3>\n"
955 "This dialog allows you to define the settings for a connection to a PostgreSQL/PostGIS database.\n"
956 "<p>\n"
957 "<ul>\n"
958 "<li> <label>Name</label> A name to identify the connection settings.\n"
959 "\n"
960 "<li> <label>Service</label> A name of a service listed in the <a href=\"http://www.postgresql.org/docs/current/static/libpq-pgservice.html\">Connection Service File</a>.\n"
961 "\n"
962 "<li> <label>Host</label> Name or IP address of the computer hosting the database server (leave blank for local connections or services).\n"
963 "\n"
964 "<li> <label>Port</label> IP port used by the database server (leave blank for local connections or to use default port 5432).\n"
965 "\n"
966 "<li> <label>Database</label> Name of the database (leave blank for default database).\n"
967 "\n"
968 "<li> <label>SSL mode</label> <a href=\"http://www.postgresql.org/docs/9.0/static/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS\">SSL mode</a> of the connection\n"
969 "\n"
970 "<li> <label>Username</label> Database user name.\n"
971 "<li> <label>Password</label> Database password.\n"
972 "\n"
973 "<li> <label>Save Username</label> Indicates whether to save the database user name in the connection configuration.\n"
974 "\n"
975 "<li> <label>Save Password</label> Indicates whether to save the database password in the connection settings. <font color=\"red\">Passwords are saved in <strong>clear text</strong> in the system configuration and in the project files!</font>\n"
976 "\n"
977 "<li> <label>Only look in the geometry_columns table</label> Indicates that only \"listed\" geometry columns should be used - opposed to scanning all tables for geometry columns.\n"
978 "\n"
979 "<li> <label>Only look in the 'public' schema</label> Indicates that only tables in the 'public' schema should be considers - opposed to all accessible tables.\n"
980 "\n"
981 "<li> <label>Also list tables with no geometry</label> Indicates that tables without geometry should also be listed by default.\n"
982 "\n"
983 "<li> <label>Use estimated table metadata</label> When initializing layers, various queries may be needed to establish the characteristics of the geometries stored in the database table. When this option is checked, these queries examine only a sample of the rows and use the table statistics, rather than the entire table. This can drastically speed up operations on large datasets, but may result in incorrect characterization of layers (eg. the <font color=\"red\">feature count</font> of filtered layers will not be accurately determined).\n"
984 "\n"
985 "</ul>\n"
986 "") );
987  gContextHelpTexts.insert( "QgsPgSourceSelect", QCoreApplication::translate( "context_help", "<h3>Add PostGIS Tables</h3>\n"
988 "This dialog allows you to add PostGIS layers (tables with a geometry column) to the QGIS map canvas.\n"
989 "<p>\n"
990 "<a href=\"#connect\">Connections</a><br/>\n"
991 "<a href=\"#add\">Adding Layers</a><br/>\n"
992 "<a href=\"#filter\">Filtering a Layer</a><br/>\n"
993 "<a href=\"#search\">Search options</a><br/>\n"
994 "\n"
995 "<a href=\"#connect\">\n"
996 "<h4>Connections</h4>\n"
997 "</a>\n"
998 "<ul>\n"
999 "<li>Choose the connection to use from the drop-down box and click <label>Connect</label>.\n"
1000 "<li>If there are no connections, use the <label>New</label> button to create a connection.\n"
1001 "<li>To modify a connection, click the <label>Edit</label> button.\n"
1002 "</ul>\n"
1003 "<a name=\"add\">\n"
1004 "<h4>Adding Layers</h4>\n"
1005 "</a>\n"
1006 "To add a layer:\n"
1007 "<ol>\n"
1008 "<li>Choose the desired connection from the drop-down box.\n"
1009 "<li>Click <label>Connect</label>.\n"
1010 "<li>Find the layer you want to add in the list and click on it to select it.\n"
1011 "<li>You can select additional layers by holding down the Ctrl key and clicking.\n"
1012 "<li>Click <label>Add</label> to add the layer(s) to the map.\n"
1013 "</ol>\n"
1014 "<a name=\"filter\">\n"
1015 "<h4>Filtering a Layer</h4>\n"
1016 "</a>\n"
1017 "To filter a layer before adding it to the map, double click on its name or use <label>Build query</label> button. This will open the Query Builder, allowing you to build up a SQL statement to use in filtering the records.\n"
1018 "\n"
1019 "<a name=\"search\">\n"
1020 "<h4>Search options</h4>\n"
1021 "</a>\n"
1022 "Ticking <label>Search options</label> enables additional options for searching in different column types and using 2 search modes: <label>Wildcard</label> or <label>RegExp</label>.\n"
1023 "") );
1024  gContextHelpTexts.insert( "QgsPluginManager", QCoreApplication::translate( "context_help", "<h3>Manage and install Plugins</h3>\n"
1025 "\n"
1026 "<p>\n"
1027 "Manage and install plugins.\n"
1028 "</p>\n"
1029 "\n"
1030 "\n"
1031 "<a href=\"#installedtab\">Installed tab</a><br/>\n"
1032 "<a href=\"#getmoretab\">Get more tab</a><br/>\n"
1033 "<a href=\"#newtab\">New tab</a><br/>\n"
1034 "<a href=\"#upgradabletab\">Upgradable tab</a><br/>\n"
1035 "<a href=\"#invalidtab\">Invalid tab</a><br/>\n"
1036 "<a href=\"#settingstab\">Settings tab</a><br/>\n"
1037 "\n"
1038 "<a name=\"installedtab\">\n"
1039 "<h4>Installed tab</h4>\n"
1040 "</a>\n"
1041 "<p>\n"
1042 "This tab shows you the list of currently installed plugins on your system. Both\n"
1043 "python and C++ plugins are listed.\n"
1044 "</p>\n"
1045 "<p>\n"
1046 "You can enable or disable them by clicking the checkbox in front of the name.<br/>\n"
1047 "Selecting an item show the plugin information in the detail pane.\n"
1048 "</p>\n"
1049 "<p>\n"
1050 "There is a context menu (right click) available, to change the sorting on:\n"
1051 "name, number of downloads, votes and status.\n"
1052 "</p>\n"
1053 "\n"
1054 "\n"
1055 "<a name=\"getmoretab\">\n"
1056 "<h4>Get more tab</h4>\n"
1057 "</a>\n"
1058 "<p>\n"
1059 "This tab shows you the list of available plugins from the remote repositories.\n"
1060 "It is downloaded once if you start up. But you can change that in the Settings\n"
1061 "</p>\n"
1062 "<p>\n"
1063 "Selecting an item shows you the plugin information in the detail pane.\n"
1064 "</p>\n"
1065 "\n"
1066 "<a name=\"newtab\">\n"
1067 "<h4>New tab</h4>\n"
1068 "</a>\n"
1069 "<p>\n"
1070 "This tab will be shown when a new plugin is made available! It will be shown\n"
1071 "just once.\n"
1072 "</p>\n"
1073 "\n"
1074 "<a name=\"upgradabletab\">\n"
1075 "<h4>Upgradable tab</h4>\n"
1076 "</a>\n"
1077 "<p>\n"
1078 "This tab is only available if one of your installed plugins can be upgraded\n"
1079 "from the remote repositories.\n"
1080 "</p>\n"
1081 "\n"
1082 "<a name=\"Invalid tab\">\n"
1083 "<h4>Invalid tab</h4>\n"
1084 "</a>\n"
1085 "<p>\n"
1086 "This tab is only available if there is a invalid plugin. Mostly caused by an error \n"
1087 "during loading the plugin.\n"
1088 "</p>\n"
1089 "\n"
1090 "<a name=\"settingstab\">\n"
1091 "<h4>Settings tab</h4>\n"
1092 "</a>\n"
1093 "<p>\n"
1094 "In this tab you can change the Settings for the plugin manager.\n"
1095 "</p>\n"
1096 "<p>\n"
1097 "It is possible to check how often QGIS will download the list and update information \n"
1098 "from the available repositories.\n"
1099 "</p>\n"
1100 "<p>\n"
1101 "By checking the 'Show experimental plugins' checkbox, all plugins will be shown\n"
1102 "in the lists, even the ones that are considered 'experimental' by the author.\n"
1103 "\n"
1104 "<table border=1 width='95%' align='center'><tr><td>\n"
1105 "Note: Experimental plugins are generally unsuitable for production use. These plugins are in the early stages of development, and should be considered \"incomplete\" or \"proof of concept\" tools. The QGIS development team does not recommend installing these plugins unless you intend to use them for testing purposes.\n"
1106 "</td></tr></table>\n"
1107 "\n"
1108 "</p>\n"
1109 "") );
1110  gContextHelpTexts.insert( "QgsProjectProperties", QCoreApplication::translate( "context_help", "<h3>Project Properties</h3>\n"
1111 "This dialog allows you to set a number of properties related to the <label>Project</label>. A Project is a saved set of layers and their settings, as well as other information required to restore the project from disk.<p>\n"
1112 "\n"
1113 "<a href=\"#general\">General Tab</a><br/>\n"
1114 "<a href=\"#crs\">Coordinate Reference System (CRS) Tab</a><br/>\n"
1115 "<a href=\"#layers\">Identifiable layers Tab</a><br/>\n"
1116 "\n"
1117 "<a name=\"general\">\n"
1118 "<h4>General Tab</h4>\n"
1119 "</a>\n"
1120 "<table border=1>\n"
1121 "<tr><td><label>Project title</label></td><td>A descriptive title for the project. This title will be displayed in the title bar of the QGIS window</td></tr>\n"
1122 "<tr><td><label>Selection color</label></td><td>Selected features are displayed on the map using this color.</td></tr>\n"
1123 "<tr><td><label>Background color</label></td><td>The color of the map canvas.</td></tr>\n"
1124 "<tr><td><label>Save paths</label></td><td>Ability to save the paths as absolute or relative.</td></tr>\n"
1125 "<tr><td><label>Layer units</label></td><td>Choose the units appropriate for the layers in the project.</td></tr>\n"
1126 "<tr><td><label>Precision</label></td><td>Use the manual setting to set the precision of the display in the status bar. As the mouse is moved over the map canvas, the coordinates are updated and displayed in the status bar using the precision you choose. Automatic (the default) results in a default precision based on the map units.</td></tr>\n"
1127 "<tr><td><label>Digitizing</label></td><td>The option <label> Enable topological editing</label> enables editing and maintaining common boundaries in polygon mosaics. Editing a vertex in shared boundary will result in updating both boundaries.<p>\n"
1128 "To avoid digitizing all vertices of the common boundary select <label>Avoid intersections of new polygons</label>. In the dialog window tick appropriate layers to which the new polygon will be adjusted. Draw the new polygon in the way it overlap the existing one, it will be cut automatically. <p>\n"
1129 "<label>Snapping options</label> allows you to set the snapping tolerance in pixels or map units and the snapping mode: <label>to vertex</label>, <label>to segment</label>, <label>to vertex and segment</label> for every layer separately.</td></tr>\n"
1130 "\n"
1131 "</table>\n"
1132 "<a name=\"crs\">\n"
1133 "<h4>Coordinate Reference System (CRS) Tab</h4>\n"
1134 "</a>\n"
1135 "The Coordinate Reference System (CRS) tab allows you to set the projection for the current project and enable on the fly transformation. You do not need to have a saved project to setup and enable 'on the fly' CRS transformation.\n"
1136 "<p>To use 'on the fly' CRS transformation, click the <label>Enable 'on the fly' CRS transformation</label> check box. Then choose the projection for the project (map canvas) from the list of Geographic or Projected coordinate systems.\n"
1137 "<p>You can find a coordinate system by entering its name, EPSG code or the QGIS ID and clicking the <label>Find</label> button.\n"
1138 "<p>The list of recently used coordinate systems will be available on the bottom for quick access.\n"
1139 "\n"
1140 "<a name=\"layers\">\n"
1141 "<h4>Identifiable layers Tab</h4>\n"
1142 "</a>\n"
1143 "On this tab you can choose on which layers the identify tool will work.\n"
1144 "") );
1145  gContextHelpTexts.insert( "QgsQueryBuilder", QCoreApplication::translate( "context_help", "<h3>Query Builder</h3>\n"
1146 "The query builder allows you to create provider specific filter expressions.\n"
1147 "\n"
1148 "These are usually evaluated much faster than the generic QGIS expressions, but\n"
1149 "are sometimes limited (e.g. for shape files) or behave diffently.\n"
1150 "\n"
1151 "<h4>Providers</h4>\n"
1152 "\n"
1153 "<table border=1>\n"
1154 "<tr>\n"
1155 " <th>Provider</th>\n"
1156 " <th>Documentation</th>\n"
1157 "</tr>\n"
1158 "<tr>\n"
1159 " <td>OGR</td>\n"
1160 " <td>where clauses depending on the\n"
1161 " <a href=\"http://www.gdal.org/ogr/ogr_formats.html\">format</a> (eg.\n"
1162 " <a href=\"http://www.gdal.org/ogr/ogr_sql.html\">OGR SQL</a>\n"
1163 " for shape files)\n"
1164 " </td>\n"
1165 "</tr>\n"
1166 "<tr>\n"
1167 " <td>PostgreSQL/PostGIS</td>\n"
1168 " <td>where clauses using\n"
1169 " <a href=\"http://www.postgresql.org/docs/\">PostgreSQL</a> and\n"
1170 " <a href=\"http://postgis.net/documentation\">PostGIS</a> \n"
1171 " </td>\n"
1172 "</tr>\n"
1173 "<tr>\n"
1174 " <td>SpatiaLite</td>\n"
1175 " <td>where clauses using\n"
1176 " <a href=\"http://www.sqlite.org/lang_select.html\">SQLite</a> and\n"
1177 " <a href=\"http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.1.0.html\">SpatiaLite</a>\n"
1178 " </td>\n"
1179 "</tr>\n"
1180 "<tr>\n"
1181 " <td>Oracle Spatial/Locator</td>\n"
1182 " <td>where clauses using\n"
1183 " <a href=\"http://docs.oracle.com/cd/B28359_01/appdev.111/b28400/sdo_index_query.htm#autoId9\">Oracle Spatial/Locator</a>\n"
1184 " </td>\n"
1185 "</tr>\n"
1186 "<tr>\n"
1187 " <td colspan=2>...</td>\n"
1188 "</tr>\n"
1189 "</table>\n"
1190 "") );
1191  gContextHelpTexts.insert( "QgsSpatiaLiteSourceSelect", QCoreApplication::translate( "context_help", "<h3>Add SpatiaLite Tables</h3>\n"
1192 "To define a new connection, click on <label>New</label> button and use the file browser to point to your SpatiaLite database, which is a file with a <i>.sqlite</i> extension.<p>\n"
1193 "The connections you define will be remembered for further use and available to choose from the drop down menu.\n"
1194 "") );
1195  gContextHelpTexts.insert( "QgsStyleV2ManagerDialog", QCoreApplication::translate( "context_help", "<h3>Style Manager</h3>\n"
1196 "") );
1197  gContextHelpTexts.insert( "QgsVectorLayerProperties", QCoreApplication::translate( "context_help", "<h3>Vector Layer Properties</h3>\n"
1198 "This dialog allows you to work with vector layer settings and properties. There are seven tabs:\n"
1199 "<p>\n"
1200 "<a href=\"#symbology\">Symbology</a><br/>\n"
1201 "<a href=\"#labels\">Labels</a><br/>\n"
1202 "<a href=\"#attributes\">Attributes</a><br/>\n"
1203 "<a href=\"#general\">General</a><br/>\n"
1204 "<a href=\"#metadata\">Metadata</a><br/>\n"
1205 "<a href=\"#actions\">Actions</a><br/>\n"
1206 "<a href=\"#diagram\">Diagram Overlay</a><br/>\n"
1207 "\n"
1208 "<a name=\"symbology\">\n"
1209 "<h4>Symbology</h4>\n"
1210 "</a>\n"
1211 "To change the symbology for a layer, simply double click on its legend entry and the vector <label>Layer Properties</label> dialog will be shown.<p>\n"
1212 "Within this dialog you can style your vector layer. Depending on the selected rendering option you have the possibility to also classify your map features.\n"
1213 "\n"
1214 "<h5>Legend type</h5>\n"
1215 "QGIS supports a number of symbology renderers to control how vector features are displayed. Currently the following renderers are available:\n"
1216 "<ul>\n"
1217 "<li><label>Single symbol</label> - a single style is applied to every object in the layer.\n"
1218 "<li><label>Graduated symbol</label> - objects within the layer are displayed with different symbols classified by the values of a particular field.\n"
1219 "<li><label>Continuous color</label> - objects within the layer are displayed with a spread of colors classified by the numerical values within a specified field.\n"
1220 "<li><label>Unique value</label> - objects are classified by the unique values within a specified field with each value having a different symbol.\n"
1221 "</ul>\n"
1222 "\n"
1223 "<h5>New symbology</h5>\n"
1224 "Click <label>New symbology</label> button to use new symbology implementation for the layer.\n"
1225 "\n"
1226 "<h5>Vector transparency</h5>\n"
1227 "QGIS allows setting a transparency for every vector layer. This can be done with the slider <label>Transparency</label>. This is very useful for overlaying several vector layers.\n"
1228 "\n"
1229 "<h5>Saving styles</h5>\n"
1230 "Once you have styled your layer you also could save your layer-style to a separate file (with *.qml ending). To do this, use the button <label>Save Style...</label>. No need to say that <label>Load Style...</label> loads your saved layer-style-file.<br/>\n"
1231 "If you wish to always use a particular style whenever the layer is loaded, use the <label>Save As Default</label> button to make your style the default. Also, if you make changes to the style that you are not happy with, use the <label>Restore Default Style</label> button to revert to your default style.\n"
1232 "\n"
1233 "<a name=\"labels\">\n"
1234 "<h4>Labels</h4>\n"
1235 "</a>\n"
1236 "The Labels tab allows you to enable labeling features and control a number of options related to fonts, placement, style, alignment and buffering.<br/>\n"
1237 "Check the <label>Display labels</label> check box to enable labeling.\n"
1238 "\n"
1239 "<h5>Basic Label options</h5>\n"
1240 "Choose the field to label with.<p>\n"
1241 "Select the use the <label>Font</label> and <label>Color</label> buttons to set the font and color. You can also change the angle and the placement of the text-label.<p>\n"
1242 "If have labels extending over several lines, check <label>Multiline labels?</label>. QGIS will check for a true line return in your label field and insert the line breaks accordingly. A true line return is a single character &#92;n, (not two separate characters, like a backslash &#92; followed by the character n).\n"
1243 "\n"
1244 "<h5>Placement</h5>\n"
1245 "Change the label placement by selecting one of the radio buttons in the <label>Placement</label> group.\n"
1246 "\n"
1247 "<h5>Font size units</h5>\n"
1248 "The <label>Font size units</label> allows you to select between <label>Points</label> or <label>Map units</label>.\n"
1249 "\n"
1250 "<h5>Buffer labels</h5>\n"
1251 "To buffer the labels means putting a backdrop around them to make them stand out better. To buffer the lakes labels:\n"
1252 "<ol>\n"
1253 "<li>Click the <label>Buffer Labels</label> check box to enable buffering.\n"
1254 "<li>Choose a size for the buffer using the spin box.\n"
1255 "<li>Choose a color by clicking on <label>Color</label> and choosing your favorite from the color selector. You can also set some transparency for the buffer if you prefer.\n"
1256 "<li>Click <label>Apply</label> to see if you like the changes.\n"
1257 "</ol>\n"
1258 "Notice you can also specify the buffer size in map \n"
1259 "units if that works out better for you.\n"
1260 "\n"
1261 "<h5>Data defined placement, properties, buffer, position</h5>\n"
1262 "The remaining entries inside the <label>Label</label> tab allow you control the appearance of the labels using attributes stored in the layer. The entries beginning with <label>Data defined</label> allow you to set all the parameters for the labels using fields in the layer.\n"
1263 "\n"
1264 "\n"
1265 "<a name=\"attributes\">\n"
1266 "<h4>Attributes</h4>\n"
1267 "</a>\n"
1268 "Within the <label>Attributes</label> tab the attributes of the selected data set can be manipulated. The buttons <label>New Column</label> and <label>Delete Column</label> can be used, when the data set is in editing mode. The OGR library supports to add new columns, but not to remove them, if you have a GDAL version >= 1.6 installed. Otherwise only columns from PostGIS layers can be edited.<p>\n"
1269 "The <label>Toggle editing mode</label> button toggles this mode.<p>\n"
1270 "Within the Attributes tab you also find an edit widget column. This column can be used to define values or a range of values that are allowed to be added to the specific attribute table column. If you click on the <label>edit widget</label> button, a dialog opens, where you can define different widgets. These widgets are:<br/>\n"
1271 "<ul>\n"
1272 "<li><label>Line edit</label> an edit field which allows entering simple text (or restrict to numbers for numeric attributes).\n"
1273 "<li><label>Classification</label> Displays a combo box with the values used for classification, if you have chosen <label>unique value</label> as legend type in the symbology tab of the properties dialog.\n"
1274 "<li><label>Range</label> Allows setting of numeric values from a specific range. The edit widget can be either a slider or a spin box.\n"
1275 "<li><label>Unique value</label> The user can select one of the values already used in the attribute table. If <label>editable</label> is activated, a line edit is shown with auto completion support, but additional values are possible, otherwise a combo box is used.\n"
1276 "<li><label>File name</label> Simplifies the selection by adding a file chooser dialog.\n"
1277 "<li><label>Value map</label> a combo box with predefined items. The value is stored in the attribute, the description is shown in the combo box. You can define values manually or load them from a layer or a csv file.\n"
1278 "<li><label>Enumeration</label> Opens a combo box with values that can be used within the columns type. This is currently only supported by the Postgres provider.\n"
1279 "<li><label>Immutable</label> The immutable attribute column is read-only. The user is not able to modify the content.\n"
1280 "<li><label>Hidden</label> A hidden attribute column is invisible to the user.\n"
1281 "<li><label>Checkbox</label> A check box is shown. The value representing the state of the check box in the attribute has to be entered.\n"
1282 "<li><label>Text edit</label> A text edit field is shown, that allows entering multiline text.\n"
1283 "</ul>\n"
1284 "\n"
1285 "<a name=\"general\">\n"
1286 "<h4>General</h4>\n"
1287 "</a>\n"
1288 "The General tab allows you to change the display name, set scale dependent rendering options, create a spatial index of the vector file (only for OGR supported formats and PostGIS) and view or change the projection of the specific vector layer.<p>\n"
1289 "You can also set a provider specific filter expressions using the <label>Query Builder</label>.\n"
1290 "\n"
1291 "<h5>Subset</h5>\n"
1292 "The <label>Query Builder</label> button allows you to limit the features of a layer to a subset matching an provider specific filter expression.\n"
1293 "\n"
1294 "<a name=\"metadata\">\n"
1295 "<h4>Metadata</h4>\n"
1296 "</a>\n"
1297 "The <label>Metadata</label> tab contains information about the layer, including specifics about the type and location, number of features, feature type, and the editing capabilities. The Layer Spatial Reference System section, providing projection information, is displayed on this tab. This is a quick way to get information about the layer.\n"
1298 "\n"
1299 "<a name=\"actions\">\n"
1300 "<h4>Actions</h4>\n"
1301 "</a>\n"
1302 "QGIS provides the ability to perform an action based on the attributes of a feature. This can be used to perform any number of actions, for example, running a program with arguments built from the attributes of a feature or passing parameters to a web reporting tool. <br/>\n"
1303 "Actions are useful when you frequently want to run an external application or view a web page based on one or more values in your vector layer.<p>\n"
1304 "\n"
1305 "The new implementation of actions uses the QGIS expression engine to do evaluations. Each expression is evaluated and replaced by its result at runtime.<p>\n"
1306 "An expression must be enclosed between <code>[%</code> and <code>%]</code> - the GUI has some buttons which do that for you automatically. \n"
1307 "The <label>Insert expression...</label> button launches the <label>Expression builder</label> which allows writing an expression easily, the <label>Insert field</label> button inserts into the action a placeholder like <code>[% \"fieldname\" %]</code> where fieldname is the name of the field selected in the field dropdown list.<p>\n"
1308 "\n"
1309 "See the User Guide for further information.\n"
1310 "\n"
1311 "<h5>Using Actions</h5>\n"
1312 "Actions can be invoked from the <label>Identify Results</label> dialog or using the <label>Run feature action</label> tool on the toolbar.<p>\n"
1313 "\n"
1314 "Each action adds a little set of custom expressions to the default set available in the <label>Expression builder</label>.<br/>\n"
1315 "While running actions from the <label>Identify Results</label> dialog the custom expression <code>$currfield</code> will be replaced with the value of the selected field in the dialog, using the <label>Run feature action</label> tool the following custom expressions are available (instead of $currfield):\n"
1316 "<ul>\n"
1317 "<li><code>$clickx</code> returns the x coordinate of the click position on the canvas</li>\n"
1318 "<li><code>$clicky</code> returns the y coordinate of the click position on the canvas</li>\n"
1319 "<li><code>$layerid</code> returns the ID of the selected layer in the legend</li>\n"
1320 "</ul>\n"
1321 "\n"
1322 "Note: the <label>Run feature action</label> tool executes the actions on all the matching features, where as <label>Identify Results</label> allows you to select which specific feature to run action on.<p>\n"
1323 "\n"
1324 "\n"
1325 "<h5>Action Examples</h5>\n"
1326 "You can add some example actions by clicking on the <label>Add default actions</label> button.\n"
1327 "\n"
1328 "\n"
1329 "<a name=\"diagram\">\n"
1330 "<h4>Diagram Overlay</h4>\n"
1331 "</a>\n"
1332 "The Diagram tab allows you to add a graphic overlay to a vector layer. To activate this feature, open the <label>Plugin Manager</label> and select the <label>Diagram Overlay</label> plugin. After this, there is a new tab in the vector <label>Layer Properties</label> dialog where the settings for diagrams may be entered.<p>\n"
1333 "The current implementation of diagrams provides support for pie- and bar charts and for linear scaling\n"
1334 "of the diagram size according to a classification attribute.\n"
1335 "") );
1336  gContextHelpTexts.insert( "QgsVectorLayerSaveAsDialog", QCoreApplication::translate( "context_help", "<h3>Save vector layer as...</h3>\n"
1337 "\n"
1338 "<p>This dialog allows you to save vector data in various formats using GDAL/OGR.\n"
1339 "\n"
1340 "<ul>\n"
1341 "<li>From the <label>Format</label> list you can select the destination format (as advertised by OGR).\n"
1342 "<li>At <label>Save as</label> you can enter a destination files name or select one using the <label>Browse</label> button.\n"
1343 "<li>In the <label>Encoding</label> list you can define in which encoding the data should be saved.\n"
1344 "<li>Using the <label>CRS</label> you can select a CRS into which the data about to be saved should be reprojected.\n"
1345 "<li>OGR also has various options for the different formats it supports. Use the <label>datasource</label> creation field to set the datasource options and the <label>layer</label> creation options. Enter one options per line (e.g. <code>SPATIALITE=yes</code> in the <label>datasource</label> to create a spatialite database using the SQLite driver).\n"
1346 "</ul>\n"
1347 "\n"
1348 "See <a href=\"http://gdal.org/ogr/ogr_formats.html\">OGR Vector formats</a> for a list of supported formats and the available options.\n"
1349 "") );
1350  gContextHelpTexts.insert( "QgsWMSSourceSelect", QCoreApplication::translate( "context_help", "<h3>Create a new WMS connection</h3>\n"
1351 "WMS layers can be added quite simply, as long as you know the URL to access the WMS server, you have a serviceable connection to that server, and the server understands HTTP as the data transport mechanism.<p>\n"
1352 "QGIS currently can act as a WMS client that understands WMS 1.1, 1.1.1 and 1.3 servers.\n"
1353 "<p>\n"
1354 "<a href=\"#serv\">Servers</a><br/>\n"
1355 "<a href=\"#load\">Loading WMS Layers</a><br/>\n"
1356 "<a href=\"#lay\">Layer Order</a><br/>\n"
1357 "<a href=\"#search\">Server Search</a><br/>\n"
1358 "\n"
1359 "<a name=\"serv\">\n"
1360 "<h4>Servers</h4>\n"
1361 "</a>\n"
1362 "To define a new WMS server in the <label>Server Connections</label> section, select <label>New</label>. Then enter the parameters to connect to your desired WMS server.<p>\n"
1363 "You can add some servers to play with by clicking the <label>Add default servers</label> button. This will add at least three WMS servers for you to use.<p>\n"
1364 "Once the new WMS Server connection has been created, it will be preserved for future QGIS sessions.\n"
1365 "\n"
1366 "<a name=\"load\">\n"
1367 "<h5>Loading WMS Layers</h5>\n"
1368 "</a>\n"
1369 "Select the <label>Connect</label> button to retrieve the capabilities of the selected server. This includes the Image encoding, Layers, Layer Styles and Projections.<br/>\n"
1370 "While downloading data from the WMS server, the download progress is visualized in the left bottom of the WMS Plugin dialog.<p>\n"
1371 "The <label>Image encoding</label> section now lists the formats that are supported by both the client and server.<br/>\n"
1372 "Choose one depending on your image accuracy requirements.<p>\n"
1373 "You can select several layers at once, they will be combined at the WMS Server and transmitted to QGIS in one go.<p>\n"
1374 "Each WMS Layer can be presented in multiple CRSs, depending on the capability of the WMS server. To choose a CRS, select <label>Change...</label>\n"
1375 "\n"
1376 "<a name=\"lay\">\n"
1377 "<h4>Layer Order</h4>\n"
1378 "</a>\n"
1379 "On this tab you can change the order of loaded WMS layers.\n"
1380 "\n"
1381 "<a name=\"search\">\n"
1382 "<h4>Server Search</h4>\n"
1383 "</a>\n"
1384 "On this tab you can search for WMS servers. It is possible to enter a search-string in the text field an hit the <label>Search</label> button.<p>\n"
1385 "To visualize the results, select an table entry, press the <label>Add selected row to WMS list</label> button and change back to the <label>Servers</label> tab.<p>\n"
1386 "You only need to request the list of layers by clicking the <label>Connect</label> button.\n"
1387 "") );
1388  gContextHelpTexts.insert( "RgSettingsDlg", QCoreApplication::translate( "context_help", "<h3>Road graph plugin settings</h3>\n"
1389 "<p>Road graph is a C++ plugin for QGIS, that calculates the shortest path between two points on any polyline layer and plots this path over the road network.</p>\n"
1390 "<p>\n"
1391 "<a href=\"#creating\">Plugin units</a><br/>\n"
1392 "<a href=\"#topologyTolerance\">Topology tolerance</a><br/>\n"
1393 "<a href=\"#layerSettings\">Transport layer settings</a><br/>\n"
1394 "</p>\n"
1395 "\n"
1396 "<a name=\"creating\">\n"
1397 "<h4>Plugin units</h4>\n"
1398 "</a>\n"
1399 "<p>You can adjust the units of the calculated distance and time of the path. Select the units in <label>Distance unit</label> and <label>Time unit</label>.</p>\n"
1400 "\n"
1401 "<a name=\"topologyTolerance\">\n"
1402 "<h4>Topology tolerance</h4>\n"
1403 "</a>\n"
1404 "<p><label>Topology tolerance</label> - the distance in units of the project. If the distance of two points falls short the topological tolerance, they are considered to be the vertex. A topological tolerance value greater than zero slows down the plugin, but you can use not ideal data sources.</p>\n"
1405 "\n"
1406 "<h5>Note</h5>\n"
1407 "<p>The Road graph plugin considers two roads as linked, if they have a common node. A Node is uniquely identified by it's coordinates. However, in the process of digitizing errors may occur. The errors sometimes occur when the network is transformed from one coordinate reference system to another. This might cause the Road graph plugin to consider connected roads as disconnected. In that case the topological tolerance should be set to a value greater than zero.</p>\n"
1408 "\n"
1409 "<a name=\"LayerSettings\">\n"
1410 "<h4>Transport layer settings</h4>\n"
1411 "</a>\n"
1412 "<p><label>Layer</label> - the data layer of roads.</p>\n"
1413 "<p><label>Field direction</label> - the value of this field indicates how to interpret the Road graph plugin layers feature. <label>Value for forward direction</label> - the direction of movement corresponds to the order of points in a feature. <label>Value for reverse direction</label> - the direction of movement corresponds to the reverse order of points in the feature. <label>Value for two-way direction</label> - both possible.</p>\n"
1414 "<p>Speed field</p> - field containing the recorded speed on the road.</p>\n"
1415 "\n"
1416 "<h5>Default settings</h5>\n"
1417 "<p>If the attribute table of your linear layer does not contain the required fields or fields contain unexpected values, the plugin will use default values. You can set them in the default tab <label>Default settings</label>.</p>\n"
1418 "") );
1419  gContextHelpTexts.insert( "RgShortestPathWidget", QCoreApplication::translate( "context_help", "<h3>Finding shortest path</h3>\n"
1420 "<p>Road graph is a C++ plugin for QGIS, that calculates the shortest path between two points on any line layer and plots this path over the road network. Before using the plugin to configure it. This can be done in the menu <label>Vector &rarr; Road graph &rarr; Settings</label></p>\n"
1421 "<p>\n"
1422 "<a href=\"#howto\">How to</a><br/>\n"
1423 "</p>\n"
1424 "\n"
1425 "<a name=\"howto\">\n"
1426 "<h4>How to</h4>\n"
1427 "</a>\n"
1428 "<p>You can select start and end points with the select buttons next to the fields.\n"
1429 "Pressing the <label>Calculate</label> button will run the shortest path calculation using the optimization criterion selected in the <label>Criterion</label> combobox. The <label>Export</label> button allow you to export a calculated path to a new vector layer, and the button <label>Clear</label> will erase all fields and remove the points and calculated path from map canvas.</p>\n"
1430 "\n"
1431 "<h5>Note</h5>\n"
1432 "<p>In order to bind the start and stop points of the route to the road network Road graph selects the nearest point or arc of the graph. In fact it can bind to any part of the road network. Nevertheless, their route and its characteristics do not take into account the distance from the starting point to the road network and of the road network to the stopping point.</p>\n"
1433 "") );
1434  gContextHelpTexts.insert( "eVisDatabaseConnectionGui", QCoreApplication::translate( "context_help", "<h3>Database connection</h3>\n"
1435 "") );
1436 }
static QHash< QString, QString > gContextHelpTexts