QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qgscontexthelp_texts.cpp
Go to the documentation of this file.
1 #include "qgscontexthelp.h"
2 #include <QCoreApplication>
3 
4 QHash<QString, QString> QgsContextHelp::gContextHelpTexts;
5 
7 {
8  if( !gContextHelpTexts.isEmpty() )
9  return;
10 
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( "QgsWMSSourceSelect", QCoreApplication::translate( "context_help", "<h3>Create a new WMS connection</h3>\n"
66 "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"
67 "QGIS currently can act as a WMS client that understands WMS 1.1, 1.1.1 and 1.3 servers.\n"
68 "<p>\n"
69 "<a href=\"#serv\">Servers</a><br/>\n"
70 "<a href=\"#load\">Loading WMS Layers</a><br/>\n"
71 "<a href=\"#lay\">Layer Order</a><br/>\n"
72 "<a href=\"#search\">Server Search</a><br/>\n"
73 "\n"
74 "<a name=\"serv\">\n"
75 "<h4>Servers</h4>\n"
76 "</a>\n"
77 "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"
78 "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"
79 "Once the new WMS Server connection has been created, it will be preserved for future QGIS sessions.\n"
80 "\n"
81 "<a name=\"load\">\n"
82 "<h5>Loading WMS Layers</h5>\n"
83 "</a>\n"
84 "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"
85 "While downloading data from the WMS server, the download progress is visualized in the left bottom of the WMS Plugin dialog.<p>\n"
86 "The <label>Image encoding</label> section now lists the formats that are supported by both the client and server.<br/>\n"
87 "Choose one depending on your image accuracy requirements.<p>\n"
88 "You can select several layers at once, they will be combined at the WMS Server and transmitted to QGIS in one go.<p>\n"
89 "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"
90 "\n"
91 "<a name=\"lay\">\n"
92 "<h4>Layer Order</h4>\n"
93 "</a>\n"
94 "On this tab you can change the order of loaded WMS layers.\n"
95 "\n"
96 "<a name=\"search\">\n"
97 "<h4>Server Search</h4>\n"
98 "</a>\n"
99 "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"
100 "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"
101 "You only need to request the list of layers by clicking the <label>Connect</label> button.\n"
102 "") );
103  gContextHelpTexts.insert( "QgsMeasureDialog", QCoreApplication::translate( "context_help", "<h3>Measure Tools</h3>\n"
104 "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"
105 "<h4>Measuring Lengths</h4>\n"
106 "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"
107 "<h4>Measuring Areas</h4>\n"
108 "To measure areas, select the tool and click to create the area. The total area is dynamically displayed as you click.\n"
109 "") );
110  gContextHelpTexts.insert( "RgShortestPathWidget", QCoreApplication::translate( "context_help", "<h3>Finding shortest path</h3>\n"
111 "<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>Plugins &rarr; Road graph &rarr; Settings</label></p>\n"
112 "<p>\n"
113 "<a href=\"#howto\">How to</a><br/>\n"
114 "</p>\n"
115 "\n"
116 "<a name=\"howto\">\n"
117 "<h4>How to</h4>\n"
118 "</a>\n"
119 "<p>You can select start and end points with the select buttons next to the fields.\n"
120 "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"
121 "\n"
122 "<h5>Note</h5>\n"
123 "<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"
124 "") );
125  gContextHelpTexts.insert( "QgsDelimitedTextSourceSelect", QCoreApplication::translate( "context_help", "<h3>Delimited Text File Layer</h3>\n"
126 "Loads and displays delimited text files\n"
127 "<p>\n"
128 "<a href=\"#re\">Overview</a><br/>\n"
129 "<a href=\"#creating\">Creating a delimited text layer</a><br/>\n"
130 "<a href=\"#csv\">How the delimiter, quote, and escape characters work</a><br />\n"
131 "<a href=\"#regexp\">How regular expression delimiters work</a><br />\n"
132 "<a href=\"#wkt\">How WKT text is interpreted</a><br />\n"
133 "<a href=\"#attributes\">Attributes in delimited text files</a><br />\n"
134 "<a href=\"#example\">Example of a text file with X,Y point coordinates</a><br/>\n"
135 "<a href=\"#wkt_example\">Example of a text file with WKT geometries</a><br/>\n"
136 "<a href=\"#python\">Using delimited text layers in Python</a><br/>\n"
137 "</p>\n"
138 "\n"
139 "<h4><a name=\"re\">Overview</a></h4>\n"
140 "<p>A &quot;delimited text file&quot; contains data in which each record starts on a new line, and \n"
141 "is split into fields by a delimiter such as a comma. \n"
142 "This type of file is commonly exported from spreadsheets (for example CSV files) or databases. \n"
143 "Typically the first line of a delimited text file contains the names of the fields. \n"
144 "</p>\n"
145 "<p>\n"
146 "Delimited text files can be loaded into QGIS as a layer. \n"
147 "The records can be displayed spatially either as a point\n"
148 "defined by X and Y coordinates, or using a Well Known Text (WKT) definition of a geometry which may\n"
149 "describe points, lines, and polygons of arbitrary complexity. The file can also be loaded as an attribute\n"
150 "only table, which can then be joined to other tables in QGIS.\n"
151 "</p>\n"
152 "<p>\n"
153 "In addition to the geometry definition the file can contain text, integer, and real number fields. By default \n"
154 "QGIS will choose the type of field based on its the non blank values of the field. If all can be interpreted\n"
155 "as integer then the type will be integer, if all can be interpreted as real numbers then the type will\n"
156 "be double, otherwise the type will be text.\n"
157 "</p>\n"
158 "<p>\n"
159 "QGIS can also read the types from an OGR CSV driver compatible &quot;csvt&quot; file. \n"
160 "This is a file alongside the data file, but with a &quot;t&quot; appended to the file name. \n"
161 "The file should just contain one linewhich lists the type of each field. \n"
162 "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"
163 "Each type may be followed by a width and precision, for example &quot;real(10.4)&quot;.\n"
164 "The list of types are separated by commas, regardless of the delimiter used in the data file. An\n"
165 "example of a valid format file would be:\n"
166 "</p>\n"
167 "\n"
168 "<pre>\n"
169 "&quot;integer&quot;,&quot;string&quot;,&quot;string(20)&quot;,&quot;real(20.4)&quot;\n"
170 "</pre>\n"
171 "\n"
172 "<h4><a name=\"creating\">Creating a delimited text layer</a></h4>\n"
173 "<p>Creating a delimited text layer involves choosing the data file, defining the format (how each record is to\n"
174 "be split into fields), and defining the geometry is represented. \n"
175 "This is managed with the delimited text dialog as detailed below. \n"
176 "The dialog box displays a sample from the beginning of the file which shows how the format\n"
177 "options have been applied.\n"
178 "</p>\n"
179 "<h5>Choosing the data file</h5>\n"
180 "<p>Use the &quot;Browse...&quot; button to select the data file. Once the file is selected the\n"
181 "layer name will automatically be populated based on the file name. The layer name is used to represent\n"
182 "the data in the QGIS legend. \n"
183 "</p>\n"
184 "<p>\n"
185 "By default files are assumed to be encoded as UTF-8. However other file\n"
186 "encodings can be selected. For example &quot;System&quot; uses the default encoding for the operating system. \n"
187 "It is safer to use an explicit coding if the QGIS project needs to be portable.\n"
188 "</p>\n"
189 "<h5>Specifying the file format</h5>\n"
190 "<p>The file format can be one of\n"
191 "<ul>\n"
192 " <li>CSV file format. This is a format commonly used by spreadsheets, in which fields are delimited\n"
193 " by a comma character, and quoted using a &quot;(quote) character. Within quoted fields, a quote\n"
194 " mark is entered as &quot;&quot;.</li>\n"
195 " <li>Selected delimiters. Each record is split into fields using one or more delimiter character.\n"
196 " Quote characters are used for fields which may contain delimiters. Escape characters may be used \n"
197 " to treat the following character as a normal character (ie to include delimiter, quote, and \n"
198 " new line characters in text fields). The use of delimiter, quote, and escape characters is detailed <a href=\"#csv\">below</a>.\n"
199 " <li>Regular expression. Each line is split into fields using a &quot;regular expression&quot; delimiter.\n"
200 " The use of regular expressions is details <a href=\"#regexp\">below</a>.\n"
201 "</ul>\n"
202 "<h5>Record and field options</h5>\n"
203 "<p>The following options affect the selection of records and fields from the data file</p>\n"
204 "<ul>\n"
205 " <li>Number of header lines to discard: used to ignore header lines at the beginning of the text file</li>\n"
206 " <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"
207 " <li>Trim fields: if selected then leading and trailing whitespace characters will be removed from each field (except quoted fields). </li>\n"
208 " <li>Discard empty fields: if selected then empty fields (after trimming) will be discard. This \n"
209 " affects the alignment of data into fields and is equivalent to treating consecutive delimiters as a \n"
210 " single delimiter. Quoted fields are never discarded.</li>\n"
211 " <li>Decimal separator is comma: if selected then commas instead of points are used as the decimal separator in real numbers. For\n"
212 " example <tt>-51,354</tt> is equivalent to -51.354.\n"
213 " </li>\n"
214 "</ul>\n"
215 "<h5>Geometry definition</h5>\n"
216 "<p>The geometry is can be define as one of</p>\n"
217 "<ul>\n"
218 " <li>Point coordinates: each feature is represented as a point defined by X and Y coordinates.</li>\n"
219 " <li>Well known text (WKT) geometry: each feature is represented as a well known text string, for example\n"
220 " <tt>POINT(1.525622 51.20836)</tt>. See details of the <a href=\"#wkt\">well known text</a> format.\n"
221 " <li>No geometry (attribute only table): records will not be displayed on the map, but can be viewed\n"
222 " in the attribute table and joined to other layers in QGIS</li>\n"
223 "</ul>\n"
224 "<p>For point coordinates the following options apply:</p>\n"
225 "<ul>\n"
226 " <li>X field: specifies the field containing the X coordinate</li>\n"
227 " <li>Y field: specifies the field containing the Y coordinate</li>\n"
228 " <li>DMS angles: if selected coordinates are represented as degrees/minutes/seconds\n"
229 " or degrees/minutes. QGIS is quite permissive in its interpretation of degrees/minutes/seconds.\n"
230 " A valid DMS coordinate will contain three numeric fields with an optional hemisphere prefix or suffix\n"
231 " (N, E, or + are positive, S, W, or - are negative). Additional non numeric characters are \n"
232 " generally discarded. For example <tt>N41d54'01.54&quot;</tt> is a valid coordinate.\n"
233 " </li>\n"
234 "</ul>\n"
235 "<p>For well known text geometry the following options apply:</p>\n"
236 "<ul>\n"
237 " <li>Geometry field: the field containing the well known text definition.</li>\n"
238 " <li>Geometry type: one of &quot;Detect&quot; (detect), &quot;Point&quot;, &quot;Line&quot;, or &quot;Polygon&quot;.\n"
239 " QGIS layers can only display one type of geometry feature (point, line, or polygon). This option selects\n"
240 " which geometry type is displayed in text files containing multiple geometry types. Records containing\n"
241 " other geometry types are discarded. \n"
242 " If &quot;Detect&quot; is selected then the type of the first geometry in the file will be used.\n"
243 " &quot;Point&quot; includes POINT and MULTIPOINT WKT types, &quot;Line&quot; includes LINESTRING and\n"
244 " MULTLINESTRING WKT types, and &quot;Polygon&quot; includes POLYGON and MULTIPOLYGON WKT types.\n"
245 "</ul>\n"
246 "<h5>Layer settings</h5>\n"
247 "<p>Layer settings control the way the layer is managed in QGIS. The options available are:</p>\n"
248 "<ul>\n"
249 "<li>Use spatial index. Create a spatial index to improve the performance of displaying and selecting spatial objects.\n"
250 "This option may be useful for files larger than a few megabytes in size.</li>\n"
251 "<li>Use subset index. Create an index if a subset of records is being used (either by explicitly setting a subset string \n"
252 "from the layer properties dialog, or an implicit subset of features for which the geometry is valid in files\n"
253 "for which all not geometries are valid). The index will only be created when a subset is defined.</li>\n"
254 "<li>Watch file. If this options is selected QGIS will watch the file for changes by other applications, and \n"
255 "reload the file when it is changed. The map will not be updated until refreshed by the user, but indexes and\n"
256 "extents will be reloaded. This option should be selected if indexes are used and it is likely that another\n"
257 "application will change the file. </li>\n"
258 "</ul>\n"
259 "\n"
260 "<h4><a name=\"csv\">How the delimiter, quote, and escape characters work</a></h4>\n"
261 "<p>Records are split into fields using three character sets: \n"
262 "delimiter characters, quote characters, and escape characters. \n"
263 "Other characters in the record are considered as data, split into\n"
264 "fields by delimiter characters. \n"
265 "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"
266 "</p>\n"
267 "<p>\n"
268 "Quote and escape characters cannot be the same as delimiter characters - they\n"
269 "will be ignored if they are. Escape characters can be the same as quote characters, but behave differently\n"
270 "if they are.</p>\n"
271 "<p>The delimiter characters are used to mark the end of each field. If more than one delimiter character\n"
272 "is defined then any one of the characters can mark the end of a field. The quote and escape characters \n"
273 "can override the delimiter character, so that it is treated as a normal data character.</p>\n"
274 "<p>Quote characters may be used to mark the beginning and end of quoted fields. Quoted fields can \n"
275 "contain delimiters and may span multiple lines in the text file. If a field is quoted then it must\n"
276 "start and end with the same quote character. Quote characters cannot occur within a field unless they\n"
277 "are escaped.</p>\n"
278 "<p>Escape characters which are not quote characters force the following character to be treated as data. \n"
279 "(that is, to stop it being treated as a new line, delimiter, or quote character). \n"
280 "</p>\n"
281 "<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"
282 "<tt>'</tt> is a quote and escape character, then the string\n"
283 "<tt>'Smith''s&nbsp;Creek'</tt> will represent the value Smith's&nbsp;Creek.\n"
284 "</p>\n"
285 "\n"
286 "\n"
287 "<h4><a name=\"regexp\">How regular expression delimiters work</a></h4>\n"
288 "<p>Regular expressions are mini-language used to represent character patterns. There are many variations\n"
289 "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"
290 "<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"
291 "If the regular expression contains capture groups (eg <tt>(cat|dog)</tt>)\n"
292 " then these are extracted as fields. \n"
293 " If this is not desired then use non-capturing groups (eg <tt>(?:cat|dog)</tt>).\n"
294 "</p>\n"
295 "<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"
296 "In this case the regular expression is matched against each line. If the line does not match it is discarded\n"
297 "as an invalid record. Each capture group in the expression is treated as a field. The regular expression\n"
298 "is invalid if it does not have capture groups. As an example this can be used as a (somewhat \n"
299 "unintuitive) means of loading data with fixed width fields. For example the \n"
300 "expression\n"
301 "<pre>\n"
302 "^(.{5})(.{10})(.{20})(.{20})\n"
303 "</pre>\n"
304 "<p>will extract four fields of widths 5, 10, 20, and 20 characters from each line. \n"
305 "Lines less than 55 characters long will be discarded.\n"
306 "</p>\n"
307 "\n"
308 "\n"
309 "<h4><a name=\"wkt\">How WKT text is interpreted</a></h4>\n"
310 "<p>\n"
311 "The delimited text layer recognizes the following \n"
312 "<a href=\"http://en.wikipedia.org/wiki/Well-known_text\">well known text</a> types - \n"
313 "<tt>POINT</tt>, <tt>MULTIPOINT</tt>, <tt>LINESTRING</tt>, <tt>MULTILINESTRING</tt>, <tt>POLYGON</tt>, and <tt>MULTIPOLYGON</tt>. \n"
314 "It will accept geometries with\n"
315 "a Z coordinate (eg <tt>POINT&nbsp;Z</tt>), a measure (<tt>POINT&nbsp;M</tt>), or both (<tt>POINT&nbsp;ZM</tt>).\n"
316 "</p>\n"
317 "<p>\n"
318 "It can also handle the PostGIS EWKT variation, in which the geometry is preceded by an spatial reference \n"
319 "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"
320 "preceded by an integer spatial reference id (eg <tt>1 POINT(175.3&nbsp;41.2)</tt>).\n"
321 "In both cases the SRID is ignored.\n"
322 "</p>\n"
323 "\n"
324 "\n"
325 "\n"
326 "<h4><a name=\"attributes\">Attributes in delimited text files</a></h4> \n"
327 "<p>Each record in the delimited text file is split into fields representing\n"
328 "attributes of the record. Usually the attribute names are taken from the first\n"
329 "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"
330 "Also if records have more fields than are defined in the header record then these\n"
331 "will be named <tt>field_#</tt>, where # is the field number (note that empty fields at the end of a record are ignored).\n"
332 "QGIS may override \n"
333 "the names in the text file if they are numbers, or have names like <tt>field_#</tt>,\n"
334 "or are duplicated.\n"
335 "</p>\n"
336 "<p>\n"
337 "In addition to the attributes explicitly in the data file QGIS assigns a unique \n"
338 "feature id to each record which is the line number in the source file on which\n"
339 "the record starts. \n"
340 "</p>\n"
341 "<p>\n"
342 "Each attribute also has a data type, one of string (text), integer, or real number.\n"
343 "The data type is inferred from the content of the fields - if every non blank value\n"
344 "is a valid integer then the type is integer, otherwise if it is a valid real\n"
345 "number then the type is real, otherwise the type is string. Note that this is\n"
346 "based on the content of the fields - quoting fields does not change the way they\n"
347 "are interpreted.\n"
348 "</p>\n"
349 "\n"
350 "\n"
351 "<h4><a name=\"example\">Example of a text file with X,Y point coordinates</a></h4> \n"
352 "<pre>\n"
353 "X;Y;ELEV\n"
354 "-300120;7689960;13\n"
355 "-654360;7562040;52\n"
356 "1640;7512840;3\n"
357 "</pre>\n"
358 "<p>This file:</p>\n"
359 "<ul>\n"
360 "<li> Uses <b>;</b> as delimiter. Any character can be used to delimit the fields.</li>\n"
361 "<li>The first row is the header row. It contains the field names X, Y and ELEV.</li>\n"
362 "<li>The x coordinates are contained in the X field.</li>\n"
363 "<li>The y coordinates are contained in the Y field.</li>\n"
364 "</ul>\n"
365 "<h4><a name=\"wkt_example\">Example of a text file with WKT geometries</a></h4>\n"
366 "<pre>\n"
367 "id|wkt\n"
368 "1|POINT(172.0702250 -43.6031036)\n"
369 "2|POINT(172.0702250 -43.6031036)\n"
370 "3|POINT(172.1543206 -43.5731302)\n"
371 "4|POINT(171.9282585 -43.5493308)\n"
372 "5|POINT(171.8827359 -43.5875983)\n"
373 "</pre>\n"
374 "<p>This file:</p>\n"
375 "<ul>\n"
376 " <li>Has two fields defined in the header row: id and wkt.\n"
377 " <li>Uses <b>|</b> as a delimiter.</li>\n"
378 " <li>Specifies each point using the WKT notation\n"
379 "</ul>\n"
380 "\n"
381 "<h4><a name=\"python\">Using delimited text layers in Python</a></h4>\n"
382 "<p>Delimited text data sources can be creating from Python in a similar way to other vector layers.\n"
383 "The pattern is:\n"
384 "</p>\n"
385 "<pre>\n"
386 "from PyQt4.QtCore import QUrl, QString\n"
387 "from qgis.core import QgsVectorLayer, QgsMapLayerRegistry\n"
388 "\n"
389 "# Define the data source\n"
390 "filename=\"test.csv\"\n"
391 "uri=QUrl.fromLocalFile(filename)\n"
392 "uri.addQueryItem(\"type\",\"csv\")\n"
393 "uri.addQueryItem(\"delimiter\",\"|\")\n"
394 "uri.addQueryItem(\"wktField\",\"wkt\")\n"
395 "# ... other delimited text parameters\n"
396 "layer=QgsVectorLayer(QString(uri.toEncoded()),\"Test CSV layer\",\"delimitedtext\")\n"
397 "# Add the layer to the map\n"
398 "if layer.isValid():\n"
399 " QgsMapLayerRegistry.instance().addMapLayer( layer )\n"
400 "</pre>\n"
401 "<p>This could be used to load the second example file above.</p>\n"
402 "<p>The configuration of the delimited text layer is defined by adding query items to the uri.\n"
403 "The following options can be added\n"
404 "</p>\n"
405 "<ul>\n"
406 " <li><tt>encoding=..</tt> defines the file encoding. The default is &quot;UTF-8&quot;</li>\n"
407 " <li><tt>type=(csv|regexp|whitespace)</tt> defines the delimiter type. Valid values are csv, \n"
408 " regexp, and whitespace (which is just a special case of regexp). The default is csv.</li>\n"
409 " <li><tt>delimiter=...</tt> defines the delimiters that will be used for csv formatted files, \n"
410 " or the regular expression for regexp formatted files. The default is , for CSV files. There is\n"
411 " no default for regexp files.</li>\n"
412 " <li><tt>quote=..</tt> (for csv files) defines the characters used to quote fields. The default is &quot;</li>\n"
413 " <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"
414 " <li><tt>skipLines=#</tt> defines the number of lines to discard from the beginning of the file. The default is 0.</li>\n"
415 " <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"
416 " <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"
417 " <li><tt>maxFields=#</tt> defines the maximum number of fields that will be loaded from the file. \n"
418 " Additional fields in each record will be discarded. The default is 0 - include all fields.\n"
419 " (This option is not available from the delimited text layer dialog box).</li>\n"
420 " <li><tt>skipEmptyFields=(yes|no)</tt> defines whether empty unquoted fields will be discarded (applied after trimFields). The default is no.</li>\n"
421 " <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"
422 " <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"
423 " <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"
424 " <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"
425 " <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"
426 " <li><tt>subset=expression</tt> specifies an expression used to identify a subset of the records that will be \n"
427 " used.</li>\n"
428 " <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"
429 " specified then a dialog box may request this information from the user\n"
430 " when the layer is loaded (depending on QGIS CRS settings).</li>\n"
431 " <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"
432 " <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"
433 " <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"
434 " <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"
435 "</ul>\n"
436 "\n"
437 "\n"
438 "") );
439  gContextHelpTexts.insert( "QgsAttributeTableDialog", QCoreApplication::translate( "context_help", "<h3>Attribute table</h3>\n"
440 "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"
441 "\n"
442 "The number of total number of layer features, filtered features and selected features is printed on the window header.<p>\n"
443 "<p>\n"
444 "<a href=\"#Selecting\">Selecting</a><br/>\n"
445 "<a href=\"#Sorting\">Sorting</a><br/>\n"
446 "<a href=\"#Filtering\">Filtering</a><br/>\n"
447 "<a href=\"#Editing\">Editing</a><br/>\n"
448 "<a href=\"#FieldCalc\">Field Calculator</a><br/>\n"
449 "\n"
450 "<a name=\"Selecting\">\n"
451 "<h4>Selecting</h4>\n"
452 "</a>\n"
453 "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"
454 "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"
455 "\n"
456 "<a name=\"Sorting\">\n"
457 "<h4>Sorting</h4>\n"
458 "</a>\n"
459 "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"
460 "Activate the <label>Selected on top</label> button to show the selected rows always on top, regardless of the current sort column.\n"
461 "\n"
462 "<a name=\"Filtering\">\n"
463 "<h4>Filtering</h4>\n"
464 "</a>\n"
465 "To only navigate through parts of your data, you can use the filter button on the bottom left. The following options are available.\n"
466 "<h5>Show All Features</h5>\n"
467 "Shows all features of the layer.\n"
468 "<h5>Show Selected Features</h5>\n"
469 "Shows all features which are currently selected.\n"
470 "<h5>Show Features Visible on Map</h5>\n"
471 "Shows all features which are currently visible on the map canvas, taking the currently visible extent and scale based visibility into account.\n"
472 "<h5>Show Edited and New Features</h5>\n"
473 "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"
474 "<h5>Column Filter</h5>\n"
475 "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"
476 "<h5>Advanced Filter</h5>\n"
477 "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"
478 "\n"
479 "<a name=\"Editing\">\n"
480 "<h4>Editing</h4>\n"
481 "</a>\n"
482 "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"
483 "\n"
484 "<a name=\"FieldCalc\">\n"
485 "<h4>Field Calculator</h4>\n"
486 "</a>\n"
487 "The <label>Field Calculator</label> button in the attribute table allows to perform calculations on basis of existing attribute values or defined functions, e.g. to calculate length or area of geometry features.<br>\n"
488 "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"
489 "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"
490 "") );
491  gContextHelpTexts.insert( "QgsOpenVectorLayerDialog", QCoreApplication::translate( "context_help", "<h3>Open Vector Layer Dialog</h3>\n"
492 "\n"
493 "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"
494 "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"
495 "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"
496 "Detailed description how to proceed with vector data is described in chapter 5 'Working with Vector Data'.\n"
497 "") );
498  gContextHelpTexts.insert( "QgsCustomProjectionDialog", QCoreApplication::translate( "context_help", "<h3>Custom Coordinate Reference System Definition</h3>\n"
499 "If QGIS does not provide the coordinate reference system you need, you can define a custom CRS. <p>\n"
500 "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"
501 "\n"
502 "<h4>Define</h4>\n"
503 "To create a new CRS, click the <label>New</label> button and enter:\n"
504 "<ul>\n"
505 "<li>descriptive name \n"
506 "<li>CRS parameters\n"
507 "</ul>\n"
508 "After that you can save your CRS by clicking the button <label>Save</label>.\n"
509 "<p>\n"
510 "Note that the Parameters must begin with a +proj=-block, to represent the new coordinate reference\n"
511 "system.\n"
512 "<p>\n"
513 "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"
514 "") );
515  gContextHelpTexts.insert( "QgsDecorationNorthArrowDialog", QCoreApplication::translate( "context_help", "<h3> North Arrow Plugin</h3>\n"
516 "Displays a north arrow overlayed onto the map.\n"
517 "<p>\n"
518 "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.") );
519  gContextHelpTexts.insert( "QgsDecorationScaleBarDialog", QCoreApplication::translate( "context_help", "<h3>Scale bar Plugin</h3>\n"
520 "Draws a scale bar on the map.\n"
521 "<p>\n"
522 "You can control the style and placement, as well as the labeling of the bar.\n"
523 "QGIS only supports displaying the scale in the same units as your map frame. So\n"
524 "if the units of your layers are in meters, you can't create a scale bar in\n"
525 "feet. Likewise if you are using decimal degrees, you can't create a scale bar\n"
526 "to display distance in meters.</p> <p>\n"
527 "To add a scale bar:\n"
528 "<ol>\n"
529 "<li>Choose the placement from the <label>Placement</label> drop-down list.</li>\n"
530 "<li>Choose the style from the <label>Scale bar style</label> list.</li>\n"
531 "<li>Select the color for the bar <label>Color of bar</label> or use the default black color.</li>\n"
532 "<li>Set the size of the bar and its label <label>Size of bar</label>. </li>\n"
533 "<li>Make sure the <label>Enable scale bar</label> checkbox is checked.</li>\n"
534 "<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"
535 "<li>Click <label>OK</label>.</li>\n"
536 "</ol>\n"
537 "") );
538  gContextHelpTexts.insert( "QgsPluginManager", QCoreApplication::translate( "context_help", "<h3>Manage and install Plugins</h3>\n"
539 "\n"
540 "<p>\n"
541 "Manage and install plugins.\n"
542 "</p>\n"
543 "\n"
544 "\n"
545 "<a href=\"#installedtab\">Installed tab</a><br/>\n"
546 "<a href=\"#getmoretab\">Get more tab</a><br/>\n"
547 "<a href=\"#newtab\">New tab</a><br/>\n"
548 "<a href=\"#upgradabletab\">Upgradable tab</a><br/>\n"
549 "<a href=\"#invalidtab\">Invalid tab</a><br/>\n"
550 "<a href=\"#settingstab\">Settings tab</a><br/>\n"
551 "\n"
552 "<a name=\"installedtab\">\n"
553 "<h4>Installed tab</h4>\n"
554 "</a>\n"
555 "<p>\n"
556 "This tab shows you the list of currently installed plugins on your system. Both\n"
557 "python and C++ plugins are listed.\n"
558 "</p>\n"
559 "<p>\n"
560 "You can enable or disable them by clicking the checkbox in front of the name.<br/>\n"
561 "Selecting an item show the plugin information in the detail pane.\n"
562 "</p>\n"
563 "<p>\n"
564 "There is a context menu (right click) available, to change the sorting on:\n"
565 "name, number of downloads, votes and status.\n"
566 "</p>\n"
567 "\n"
568 "\n"
569 "<a name=\"getmoretab\">\n"
570 "<h4>Get more tab</h4>\n"
571 "</a>\n"
572 "<p>\n"
573 "This tab shows you the list of available plugins from the remote repositories.\n"
574 "It is downloaded once if you start up. But you can change that in the Settings\n"
575 "</p>\n"
576 "<p>\n"
577 "Selecting an item shows you the plugin information in the detail pane.\n"
578 "</p>\n"
579 "\n"
580 "<a name=\"newtab\">\n"
581 "<h4>New tab</h4>\n"
582 "</a>\n"
583 "<p>\n"
584 "This tab will be shown when a new plugin is made available! It will be shown\n"
585 "just once.\n"
586 "</p>\n"
587 "\n"
588 "<a name=\"upgradabletab\">\n"
589 "<h4>Upgradable tab</h4>\n"
590 "</a>\n"
591 "<p>\n"
592 "This tab is only available if one of your installed plugins can be upgraded\n"
593 "from the remote repositories.\n"
594 "</p>\n"
595 "\n"
596 "<a name=\"Invalid tab\">\n"
597 "<h4>Invalid tab</h4>\n"
598 "</a>\n"
599 "<p>\n"
600 "This tab is only available if there is a invalid plugin. Mostly caused by an error \n"
601 "during loading the plugin.\n"
602 "</p>\n"
603 "\n"
604 "<a name=\"settingstab\">\n"
605 "<h4>Settings tab</h4>\n"
606 "</a>\n"
607 "<p>\n"
608 "In this tab you can change the Settings for the plugin manager.\n"
609 "</p>\n"
610 "<p>\n"
611 "It is possible to check how often QGIS will download the list and update information \n"
612 "from the available repositories.\n"
613 "</p>\n"
614 "<p>\n"
615 "By checking the 'Show experimental plugins' checkbox, all plugins will be shown\n"
616 "in the lists, even the ones that are considered 'experimental' by the author.\n"
617 "\n"
618 "<table border=1 width='95%' align='center'><tr><td>\n"
619 "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"
620 "</td></tr></table>\n"
621 "\n"
622 "</p>\n"
623 "") );
624  gContextHelpTexts.insert( "SaSourceSelect", QCoreApplication::translate( "context_help", "<h3>Add SQL Anywhere Tables</h3>\n"
625 "This dialog allows you to add SQL Anywhere layers (tables with a geometry column) to the QGIS map canvas.\n"
626 "<p>\n"
627 "<a href=\"#connect\">Connections</a><br/>\n"
628 "<a href=\"#add\">Adding Layers</a><br/>\n"
629 "<a href=\"#filter\">Filtering a Layer</a><br/>\n"
630 "<a href=\"#search\">Search options</a><br/>\n"
631 "\n"
632 "<a href=\"#connect\">\n"
633 "<h4>Connections</h4>\n"
634 "</a>\n"
635 "<ul>\n"
636 "<li>Choose the connection to use from the drop-down box and click <label>Connect</label>.\n"
637 "<li>If there are no connections, use the <label>New</label> button to create a connection.\n"
638 "<li>To modify or delete the selected connection, click the <label>Edit</label> or <label>Delete</label> buttons, respectively.\n"
639 "</ul>\n"
640 "<a name=\"add\">\n"
641 "<h4>Adding Layers</h4>\n"
642 "</a>\n"
643 "To add a layer:\n"
644 "<ol>\n"
645 "<li>Choose the desired connection from the drop-down box.\n"
646 "<li>Click <label>Connect</label>, which will populate the list of layers from the database. Options that affect how this list is populated are described in the help for the new connection dialogue box.\n"
647 " \n"
648 "<li>Find the layer you want to add in the list and click on it to select it.\n"
649 "<li>You can select additional layers by holding down the Ctrl key and clicking.\n"
650 "<li>Click <label>Add</label> to add the layer(s) to the map.\n"
651 "</ol>\n"
652 "<a name=\"filter\">\n"
653 "<h4>Filtering a Layer</h4>\n"
654 "</a>\n"
655 "To filter a layer before adding it to the map, either double click on its name or select it and click the <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"
656 "\n"
657 "<a name=\"search\">\n"
658 "<h4>Search options</h4>\n"
659 "</a>\n"
660 "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"
661 "") );
662  gContextHelpTexts.insert( "QgsStyleV2ManagerDialog", QCoreApplication::translate( "context_help", "<h3>Style Manager</h3>\n"
663 "") );
664  gContextHelpTexts.insert( "QgsNewVectorLayerDialog", QCoreApplication::translate( "context_help", "<h3>Create New Vector Layer</h3>\n"
665 "To create a new layer for editing, choose <label>New Vector Layer</label> from the <label>Layer</label> menu.<br/>\n"
666 "With this dialog you can create a shape file layer.\n"
667 "<h4>Type</h4>\n"
668 "Choose the type of layer <label>Point</label>, <label>Line</label> or <label>Polygon</label>.<br/>\n"
669 "Click on <label>Specify CRS</label> button to change the coordinate reference system of the layer if needed.\n"
670 "<h4>New attribute</h4>\n"
671 "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"
672 "You can also define the width and precision of the new attribute column.\n"
673 "<h4>Attributes list</h4>\n"
674 "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"
675 "") );
676  gContextHelpTexts.insert( "RgSettingsDlg", QCoreApplication::translate( "context_help", "<h3>Road graph plugin settings</h3>\n"
677 "<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"
678 "<p>\n"
679 "<a href=\"#creating\">Plugin units</a><br/>\n"
680 "<a href=\"#topologyTolerance\">Topology tolerance</a><br/>\n"
681 "<a href=\"#layerSettings\">Transport layer settings</a><br/>\n"
682 "</p>\n"
683 "\n"
684 "<a name=\"creating\">\n"
685 "<h4>Plugin units</h4>\n"
686 "</a>\n"
687 "<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"
688 "\n"
689 "<a name=\"topologyTolerance\">\n"
690 "<h4>Topology tolerance</h4>\n"
691 "</a>\n"
692 "<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"
693 "\n"
694 "<h5>Note</h5>\n"
695 "<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"
696 "\n"
697 "<a name=\"LayerSettings\">\n"
698 "<h4>Transport layer settings</h4>\n"
699 "</a>\n"
700 "<p><label>Layer</label> - the data layer of roads.</p>\n"
701 "<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"
702 "<p>Speed field</p> - field containing the recorded speed on the road.</p>\n"
703 "\n"
704 "<h5>Default settings</h5>\n"
705 "<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"
706 "") );
707  gContextHelpTexts.insert( "eVisDatabaseConnectionGui", QCoreApplication::translate( "context_help", "<h3>Database connection</h3>\n"
708 "") );
709  gContextHelpTexts.insert( "QgsVectorLayerProperties", QCoreApplication::translate( "context_help", "<h3>Vector Layer Properties</h3>\n"
710 "This dialog allows you to work with vector layer settings and properties. There are seven tabs:\n"
711 "<p>\n"
712 "<a href=\"#symbology\">Symbology</a><br/>\n"
713 "<a href=\"#labels\">Labels</a><br/>\n"
714 "<a href=\"#attributes\">Attributes</a><br/>\n"
715 "<a href=\"#general\">General</a><br/>\n"
716 "<a href=\"#metadata\">Metadata</a><br/>\n"
717 "<a href=\"#actions\">Actions</a><br/>\n"
718 "<a href=\"#diagram\">Diagram Overlay</a><br/>\n"
719 "\n"
720 "<a name=\"symbology\">\n"
721 "<h4>Symbology</h4>\n"
722 "</a>\n"
723 "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"
724 "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"
725 "\n"
726 "<h5>Legend type</h5>\n"
727 "QGIS supports a number of symbology renderers to control how vector features are displayed. Currently the following renderers are available:\n"
728 "<ul>\n"
729 "<li><label>Single symbol</label> - a single style is applied to every object in the layer.\n"
730 "<li><label>Graduated symbol</label> - objects within the layer are displayed with different symbols classified by the values of a particular field.\n"
731 "<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"
732 "<li><label>Unique value</label> - objects are classified by the unique values within a specified field with each value having a different symbol.\n"
733 "</ul>\n"
734 "\n"
735 "<h5>New symbology</h5>\n"
736 "Click <label>New symbology</label> button to use new symbology implementation for the layer.\n"
737 "\n"
738 "<h5>Vector transparency</h5>\n"
739 "QGIS allows to set 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"
740 "\n"
741 "<h5>Saving styles</h5>\n"
742 "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"
743 "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"
744 "\n"
745 "<a name=\"labels\">\n"
746 "<h4>Labels</h4>\n"
747 "</a>\n"
748 "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"
749 "Check the <label>Display labels</label> check box to enable labeling.\n"
750 "\n"
751 "<h5>Basic Label options</h5>\n"
752 "Choose the field to label with.<p>\n"
753 "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"
754 "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"
755 "\n"
756 "<h5>Placement</h5>\n"
757 "Change the label placement by selecting one of the radio buttons in the <label>Placement</label> group.\n"
758 "\n"
759 "<h5>Font size units</h5>\n"
760 "The <label>Font size units</label> allows you to select between <label>Points</label> or <label>Map units</label>.\n"
761 "\n"
762 "<h5>Buffer labels</h5>\n"
763 "To buffer the labels means putting a backdrop around them to make them stand out better. To buffer the lakes labels:\n"
764 "<ol>\n"
765 "<li>Click the <label>Buffer Labels</label> check box to enable buffering.\n"
766 "<li>Choose a size for the buffer using the spin box.\n"
767 "<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"
768 "<li>Click <label>Apply</label> to see if you like the changes.\n"
769 "</ol>\n"
770 "Notice you can also specify the buffer size in map \n"
771 "units if that works out better for you.\n"
772 "\n"
773 "<h5>Data defined placement, properties, buffer, position</h5>\n"
774 "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"
775 "\n"
776 "\n"
777 "<a name=\"attributes\">\n"
778 "<h4>Attributes</h4>\n"
779 "</a>\n"
780 "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"
781 "The <label>Toggle editing mode</label> button toggles this mode.<p>\n"
782 "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"
783 "<ul>\n"
784 "<li><label>Line edit</label> an edit field which allows to enter simple text (or restrict to numbers for numeric attributes).\n"
785 "<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"
786 "<li><label>Range</label> Allows to set numeric values from a specific range. The edit widget can be either a slider or a spin box.\n"
787 "<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"
788 "<li><label>File name</label> Simplifies the selection by adding a file chooser dialog.\n"
789 "<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"
790 "<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"
791 "<li><label>Immutable</label> The immutable attribute column is read-only. The user is not able to modify the content.\n"
792 "<li><label>Hidden</label> A hidden attribute column is invisible to the user.\n"
793 "<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"
794 "<li><label>Text edit</label> A text edit field is shown, that allows entering multiline text.\n"
795 "</ul>\n"
796 "\n"
797 "<a name=\"general\">\n"
798 "<h4>General</h4>\n"
799 "</a>\n"
800 "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"
801 "You can also set a provider specific filter expressions using the <label>Query Builder</label>.\n"
802 "\n"
803 "<h5>Subset</h5>\n"
804 "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"
805 "\n"
806 "<a name=\"metadata\">\n"
807 "<h4>Metadata</h4>\n"
808 "</a>\n"
809 "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"
810 "\n"
811 "<a name=\"actions\">\n"
812 "<h4>Actions</h4>\n"
813 "</a>\n"
814 "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"
815 "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"
816 "\n"
817 "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"
818 "An expression must be enclosed between <code>[%</code> and <code>%]</code> - the GUI has some buttons which do that for you automatically. \n"
819 "The <label>Insert expression...</label> button launches the <label>Expression builder</label> which allows to write 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"
820 "\n"
821 "See the User Guide for further information.\n"
822 "\n"
823 "<h5>Using Actions</h5>\n"
824 "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"
825 "\n"
826 "Each action adds a little set of custom expressions to the default set available in the <label>Expression builder</label>.<br/>\n"
827 "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"
828 "<ul>\n"
829 "<li><code>$clickx</code> returns the x coordinate of the click position on the canvas</li>\n"
830 "<li><code>$clicky</code> returns the y coordinate of the click position on the canvas</li>\n"
831 "<li><code>$layerid</code> returns the ID of the selected layer in the legend</li>\n"
832 "</ul>\n"
833 "\n"
834 "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"
835 "\n"
836 "\n"
837 "<h5>Action Examples</h5>\n"
838 "You can add some example actions by clicking on the <label>Add default actions</label> button.\n"
839 "\n"
840 "\n"
841 "<a name=\"diagram\">\n"
842 "<h4>Diagram Overlay</h4>\n"
843 "</a>\n"
844 "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"
845 "The current implementation of diagrams provides support for pie- and bar charts and for linear scaling\n"
846 "of the diagram size according to a classification attribute.\n"
847 "") );
848  gContextHelpTexts.insert( "SaNewConnection", QCoreApplication::translate( "context_help", "<h3>Create a New SQL Anywhere Connection</h3>\n"
849 "This dialog allows you to define the settings for a connection to a\n"
850 "SQL Anywhere database.\n"
851 "<p>\n"
852 "<ul>\n"
853 "<li> <label>Name</label> A name to identify the connection settings.\n"
854 "\n"
855 "<li> <label>Host</label> Name or IP address of the computer hosting the database server (leave blank for local connections). \n"
856 "\n"
857 "<li> <label>Port</label> IP port used by the database server (leave blank for local connections or to use default port 2638).\n"
858 "\n"
859 "<li> <label>Server</label> Name of the database server (leave blank for default server on host).\n"
860 "\n"
861 "<li> <label>Database</label> Name of the database (leave blank for default database on server).\n"
862 "\n"
863 "<li> <label>Connection Parameters</label> Additional parameters to add to the connection string (semi-colon delimitted list). See the SQL Anywhere documentation for a list and description of available connection parameters.\n"
864 "\n"
865 "<li> <label>Username</label> Database user name.\n"
866 "<li> <label>Password</label> Database password.\n"
867 "\n"
868 "<li> <label>Save Username</label> Indicates whether to save the database user name in the connection configuration.\n"
869 "\n"
870 "<li> <label>Save Password</label> Indicates whether to save the database password in the connection settings. <em>Passwords are saved in <strong>clear text</strong> in the system configuration!</em>\n"
871 "\n"
872 "<li> <label>Simple Encryption</label> Secure the connection to the database using simple encryption.\n"
873 "\n"
874 "<li> <label>Estimate 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, rather than the entire table. This can significantly speed up layer initialization, but may result in incorrect characterization of layers containing heterogenous types.\n"
875 "\n"
876 "<li> <label>Search other users' tables</label> Indicates that the layer list should be populated from all layers stored in the database. When unchecked (the default), only layers stored in tables owned by the connected user are displayed.\n"
877 "\n"
878 "</ul>\n"
879 "") );
880  gContextHelpTexts.insert( "QgsPgNewConnection", QCoreApplication::translate( "context_help", "<h3>Create a New PostgreSQL Connection</h3>\n"
881 "This dialog allows you to define the settings for a connection to a PostgreSQL database.\n"
882 "<p>\n"
883 "<ul>\n"
884 "<li> <label>Name</label> A name to identify the connection settings.\n"
885 "\n"
886 "<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"
887 "\n"
888 "<li> <label>Host</label> Name or IP address of the computer hosting the database server (leave blank for local connections or services).\n"
889 "\n"
890 "<li> <label>Port</label> IP port used by the database server (leave blank for local connections or to use default port 5432).\n"
891 "\n"
892 "<li> <label>Database</label> Name of the database (leave blank for default database).\n"
893 "\n"
894 "<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"
895 "\n"
896 "<li> <label>Username</label> Database user name.\n"
897 "<li> <label>Password</label> Database password.\n"
898 "\n"
899 "<li> <label>Save Username</label> Indicates whether to save the database user name in the connection configuration.\n"
900 "\n"
901 "<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"
902 "\n"
903 "<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"
904 "\n"
905 "<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"
906 "\n"
907 "<li> <label>Also list tables with no geometry</label> Indicates that tables without geometry should also be listed by default.\n"
908 "\n"
909 "<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"
910 "\n"
911 "</ul>\n"
912 "") );
913  gContextHelpTexts.insert( "QgsFieldCalculator", QCoreApplication::translate( "context_help", "<h3>Field Calculator</h3>\n"
914 "The field calculator allows you to update fields with expressions.\n"
915 "\n"
916 "<h4>Supported Operations</h4>\n"
917 "\n"
918 "<table border=1>\n"
919 "<tr>\n"
920 " <th>Operation</th>\n"
921 " <th>Description</th>\n"
922 "</tr>\n"
923 "<tr>\n"
924 " <td>\n"
925 " <tt>column_name</tt><br>\n"
926 " <tt>\"column_name\"</tt>\n"
927 " </td>\n"
928 " <td>value of field <tt>column_name</tt></td>\n"
929 "</tr>\n"
930 "<tr><td>'<tt>string</tt>'</td><td>literal string value</td></tr>\n"
931 "<tr><td><tt>number</tt></td><td>number</td></tr>\n"
932 "<tr><td>NULL</td><td>null value</td></tr>\n"
933 "<tr><td>exp(<tt>a</tt>)</td><td>Euler's number e to the power of <tt>a</tt></td></tr>\n"
934 "<tr><td>ln(<tt>a</tt>)</td><td>natural log (i.e. base e) of <tt>a</tt></td></tr>\n"
935 "<tr><td>log10(<tt>a</tt>)</td><td>log base 10 of <tt>a</tt></td></tr>\n"
936 "<tr><td>log(<tt>a</tt>,<tt>b</tt>)</td><td>log base <tt>b</tt> of <tt>a</tt></td></tr>\n"
937 "<tr><td>sqrt(<tt>a</tt>)</td><td>square root</td></tr>\n"
938 "<tr><td>sin(<tt>a</tt>)</td><td>sine of <tt>a</tt></td></tr>\n"
939 "<tr><td>cos(<tt>a</tt>)</td><td>cosine of <tt>b</tt></td></tr>\n"
940 "<tr><td>tan(<tt>a</tt>)</td><td>tangent of <tt>a</tt></td></tr>\n"
941 "<tr><td>asin(<tt>a</tt>)</td><td>inverse sine of <tt>a</tt></td></tr>\n"
942 "<tr><td>acos(<tt>a</tt>)</td><td>inverse cosine of <tt>a</tt></td></tr>\n"
943 "<tr><td>atan(<tt>a</tt>)</td><td>inverse tangent of <tt>a</tt></td></tr>\n"
944 "<tr><td>to int(<tt>a</tt>)</td><td>convert string <tt>a</tt> to integer</td></tr>\n"
945 "<tr><td>to real(<tt>a</tt>)</td><td>convert string <tt>a</tt> to real</td></tr>\n"
946 "<tr><td>to string(<tt>a</tt>)</td><td>convert number <tt>a</tt> to string</td></tr>\n"
947 "<tr><td>lower(<tt>a</tt>)</td><td>convert string <tt>a</tt> to lower case</td></tr>\n"
948 "<tr><td>upper(<tt>a</tt>)</td><td>convert string <tt>a</tt> to upper case</td></tr>\n"
949 "<tr><td>length(<tt>a</tt>)</td><td>length of string <tt>a</tt></td></tr>\n"
950 "<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"
951 "<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"
952 "<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"
953 "<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"
954 "<tr><td><tt>a</tt> || <tt>b</tt></td><td>concatenate strings <tt>a</tt> and <tt>b</tt></td></tr>\n"
955 "<tr><td>$rownum</td><td>number current row</td></tr>\n"
956 "<tr><td>$area</td><td>area of polygon</td></tr>\n"
957 "<tr><td>$perimeter</td><td>perimeter of polygon</td></tr>\n"
958 "<tr><td>$length</td><td>area of line</td></tr>\n"
959 "<tr><td>$id</td><td>feature id</td></tr>\n"
960 "<tr><td>$x</td><td>x coordinate of point</td></tr>\n"
961 "<tr><td>$y</td><td>y coordinate of point</td></tr>\n"
962 "<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"
963 "<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"
964 "<tr><td><tt>a</tt> ^ <tt>b</tt></td><td><tt>a</tt> raised to the power of <tt>b</tt></td></tr>\n"
965 "<tr><td><tt>a</tt> * <tt>b</tt></td><td><tt>a</tt> multiplied by <tt>b</tt></td></tr>\n"
966 "<tr><td><tt>a</tt> / <tt>b</tt></td><td><tt>a</tt> divided by <tt>b</tt></td></tr>\n"
967 "<tr><td><tt>a</tt> + <tt>b</tt></td><td><tt>a</tt> plus <tt>b</tt></td></tr>\n"
968 "<tr><td><tt>a</tt> - <tt>b</tt></td><td><tt>a</tt> minus <tt>b</tt></td></tr>\n"
969 "<tr><td>+<tt>a</tt></td><td>positive sign</td></tr>\n"
970 "<tr><td>-<tt>a</tt></td><td>negative value of <tt>a</tt></td></tr>\n"
971 "</table>\n"
972 "") );
973  gContextHelpTexts.insert( "PythonConsole", QCoreApplication::translate( "context_help", "<style>\n"
974 " #toolbarConsole td{\n"
975 " background: #f6f6f6;\n"
976 " }\n"
977 "</style>\n"
978 "<h3>Python Console for QGIS</h3>\n"
979 "<a href=\"#console\">Console</a><br>\n"
980 "<a href=\"#editor\">Editor</a><br>\n"
981 "<a href=\"#settings\">Settings</a><br><br>\n"
982 "<table>\n"
983 " <tr>\n"
984 " <td>\n"
985 " <p align='justify'>\n"
986 " The QGIS Python Console is an interactive shell for the python command executions. \n"
987 " It also has a python file editor that allows you to edit and save your python scripts. \n"
988 " Both console and editor are based on PyQScintilla2 package.<br>\n"
989 " The console is split in two main panes, top and bottom one \n"
990 " resizable by using the horizontal splitter. Output area pane is a widget read-only which \n"
991 " shows the commands output. You can drag and drop or copy and paste text into input area and \n"
992 " execute code snippets from the output pane by selecting some text and clicking on the \n"
993 " <label>Enter selected</label> command from the context menu. \n"
994 " No matter if selected text contains the interpreter prompt (>>>, ...). Input area pane is the interactive \n"
995 " python shell for input commands.<br>To access to the python file editor use the \n"
996 " <label>Show editor</label> button \n"
997 " from the toolbar. The editor allows to edit and save python file and it offers basic functionality \n"
998 " for managing your code (comment and \n"
999 " uncomment code, check syntax, share the code via codepad.org and much more).\n"
1000 " </p>\n"
1001 " </td>\n"
1002 " </tr>\n"
1003 "</table>\n"
1004 "<a name=\"console\">\n"
1005 "<h4>Console</h4>\n"
1006 "</a>\n"
1007 "<b><i>Main features:</i></b>\n"
1008 "<table>\n"
1009 " <tr>\n"
1010 " <td>\n"
1011 " <ul>\n"
1012 " <li>Code completion, highlighting syntax and calltips for the following APIs:\n"
1013 " <ol>\n"
1014 " <li>Python</li>\n"
1015 " <li>PyQGIS</li>\n"
1016 " <li>PyQt4</li>\n"
1017 " <li>QScintilla2</li>\n"
1018 " <li>osgeo-gdal-ogr</li>\n"
1019 " </ol>\n"
1020 " </li>\n"
1021 " <br>\n"
1022 " <li><label>Ctrl+Alt+Space</label> to view the auto-completion list.</li>\n"
1023 " <br>\n"
1024 " <li><label>Ctrl+Shift+Space</label> to view the command history list.</li>\n"
1025 " <br>\n"
1026 " <li>Execute code snippets with the <label>Enter selected</label> command from output pane.</li>\n"
1027 " <br>\n"
1028 " <li>Open QGIS API documentation by typing <label>_api</label>.</li>\n"
1029 " <br>\n"
1030 " <li>Open PyQGIS Cookbook by typing <label>_pyqgis</label>.</li>\n"
1031 " <br>\n"
1032 " <li>Save and clear the command history accessing from context menu of input pane. \n"
1033 " The history will be saved into the file ~/.qgis2/console_history.txt</li>\n"
1034 " <br>\n"
1035 " </ul>\n"
1036 " </td>\n"
1037 " <td><img src=\"qrc:/images/themes/default/console/consoleHelp.png\" /></td>\n"
1038 " </tr>\n"
1039 "</table>\n"
1040 "<b><i>Toolbar:</i></b>\n"
1041 " <table width=\"100%\" id='toolbarConsole'>\n"
1042 " <tr>\n"
1043 " <td><img src=\"qrc:/images/themes/default/console/iconClearConsole.png\" /></td>\n"
1044 " <td colspan=\"2\">Clear python console</td>\n"
1045 " </tr>\n"
1046 " <tr>\n"
1047 " <td><img src=\"qrc:/images/themes/default/console/iconClassConsole.png\" /></td>\n"
1048 " <td><img src=\"qrc:/images/themes/default/console/iconProcessingConsole.png\" /></td>\n"
1049 " <td>Import Processing class</td>\n"
1050 " </tr>\n"
1051 " <tr>\n"
1052 " <td></td>\n"
1053 " <td><img src=\"qrc:/images/themes/default/console/iconQtCoreConsole.png\" /></td>\n"
1054 " <td>Import PyQt4.QtCore class</td>\n"
1055 " </tr>\n"
1056 " <tr>\n"
1057 " <td></td>\n"
1058 " <td><img src=\"qrc:/images/themes/default/console/iconQtGuiConsole.png\" /></td>\n"
1059 " <td>Tool to import PyQt4.QtGui class</td>\n"
1060 " </tr>\n"
1061 " <tr>\n"
1062 " <td><img src=\"qrc:/images/themes/default/console/iconRunConsole.png\" /></td>\n"
1063 " <td colspan=\"2\">Run command (like Enter key pressed)</td>\n"
1064 " </tr>\n"
1065 " <tr>\n"
1066 " <td><img src=\"qrc:/images/themes/default/console/iconSettingsConsole.png\" /></td>\n"
1067 " <td colspan=\"2\">Settings</td>\n"
1068 " </tr>\n"
1069 " <tr>\n"
1070 " <td><img src=\"qrc:/images/themes/default/console/iconHelpConsole.png\" /></td>\n"
1071 " <td colspan=\"2\">Help</td>\n"
1072 " </tr>\n"
1073 "</table>\n"
1074 "<a name=\"editor\">\n"
1075 "<h4>Editor</h4>\n"
1076 "</a>\n"
1077 "<b><i>Main features:</i></b>\n"
1078 "<table>\n"
1079 " <tr>\n"
1080 " <td>\n"
1081 " <img src=\"qrc:/images/themes/default/console/editorHelp.png\" />\n"
1082 " <img src=\"qrc:/images/themes/default/console/classBrowserHelp.png\" />\n"
1083 " </td>\n"
1084 " <td>\n"
1085 " <ul>\n"
1086 " <li>Code completion, highlighting syntax and calltips for the following APIs:\n"
1087 " <ol>\n"
1088 " <li>Python</li>\n"
1089 " <li>PyQGIS</li>\n"
1090 " <li>PyQt4</li>\n"
1091 " <li>QScintilla2</li>\n"
1092 " <li>osgeo-gdal-ogr</li>\n"
1093 " </ol>\n"
1094 " </li>\n"
1095 " <br>\n"
1096 " <li><label>Ctrl+Space</label> to view the auto-completion list.</li>\n"
1097 " <br>\n"
1098 " <li>Sharing code snippets via codepad.org.</li>\n"
1099 " <br>\n"
1100 " <li><label>Ctrl+4</label> Syntax check.</li> \n"
1101 " <br>\n"
1102 " <li>Object inspector: a class and function browser.</li>\n"
1103 " <br>\n"
1104 " <li>Go to an object definition with a mouse click. (from Object inspector)</li>\n"
1105 " <br>\n"
1106 " <li>Execute code snippets with the <label>Enter selected</label> command.</li>\n"
1107 " <br>\n"
1108 " <li>Execute the whole script with the <label>Run script</label> command \n"
1109 " (this creates a byte-compiled file with the extension .pyc)</li>\n"
1110 " <br>\n"
1111 " </ul>\n"
1112 " </td>\n"
1113 " </tr>\n"
1114 "</table>\n"
1115 "<a name=\"settings\">\n"
1116 "<h4>Settings</h4>\n"
1117 "</a>\n"
1118 "<b><i>Further settings for python console:</i></b>\n"
1119 "<ul>\n"
1120 "<li><label>Autocompletion:</label> If checked the code completion is enabled. You can get autocompletion\n"
1121 "from current document, from installed APIs and both from APIs and current document</li>\n"
1122 "<br>\n"
1123 "<li><label>Autocompletion threshold:</label> Sets the threshold to display the autocompletion list (in chars typed)</li>\n"
1124 "<br>\n"
1125 "<li><label>Automatic parentheses insertion:</label> If checked enables the autoclosing for bracket</li>\n"
1126 "<br>\n"
1127 "<li><label>Auto-save script before running:</label> Allows you to save automatically the\n"
1128 "script to be executed in order to avoid to save it after any modification.\n"
1129 "This action will store a temporary file into the temporary system directory \n"
1130 "that will be automatically deleted after running.</li>\n"
1131 "<br>\n"
1132 "<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"
1133 "<br>\n"
1134 "<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"
1135 "</ul>\n"
1136 "<p style='border: 1px solid; background:#f6f6f6;' align='justify'>\n"
1137 " <b>Note:</b> To save the state of console's widgets you have to close the Python Console \n"
1138 " from the close button. This allows you to save the geometry to be restored to the next start.\n"
1139 "</p>\n"
1140 "") );
1141  gContextHelpTexts.insert( "QgsQueryBuilder", QCoreApplication::translate( "context_help", "<h3>Query Builder</h3>\n"
1142 "The query builder allows you to create provider specific filter expressions.\n"
1143 "\n"
1144 "These are usually evaluated much faster than the generic QGIS expressions, but\n"
1145 "are sometimes limited (e.g. for shape files) or behave diffently.\n"
1146 "\n"
1147 "<h4>Providers</h4>\n"
1148 "\n"
1149 "<table border=1>\n"
1150 "<tr>\n"
1151 " <th>Provider</th>\n"
1152 " <th>Documentation</th>\n"
1153 "</tr>\n"
1154 "<tr>\n"
1155 " <td>OGR</td>\n"
1156 " <td>where clauses depending on the\n"
1157 " <a href=\"http://www.gdal.org/ogr/ogr_formats.html\">format</a> (eg.\n"
1158 " <a href=\"http://www.gdal.org/ogr/ogr_sql.html\">OGR SQL</a>\n"
1159 " for shape files)\n"
1160 " </td>\n"
1161 "</tr>\n"
1162 "<tr>\n"
1163 " <td>PostgreSQL/PostGIS</td>\n"
1164 " <td>where clauses using\n"
1165 " <a href=\"http://www.postgresql.org/docs/\">PostgreSQL</a> and\n"
1166 " <a href=\"http://postgis.net/documentation\">PostGIS</a> \n"
1167 " </td>\n"
1168 "</tr>\n"
1169 "<tr>\n"
1170 " <td>SpatiaLite</td>\n"
1171 " <td>where clauses using\n"
1172 " <a href=\"http://www.sqlite.org/lang_select.html\">SQLite</a> and\n"
1173 " <a href=\"http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.1.0.html\">SpatiaLite</a>\n"
1174 " </td>\n"
1175 "</tr>\n"
1176 "<tr>\n"
1177 " <td>Oracle Spatial/Locator</td>\n"
1178 " <td>where clauses using\n"
1179 " <a href=\"http://docs.oracle.com/cd/B28359_01/appdev.111/b28400/sdo_index_query.htm#autoId9\">Oracle Spatial/Locator</a>\n"
1180 " </td>\n"
1181 "</tr>\n"
1182 "<tr>\n"
1183 " <td colspan=2>...</td>\n"
1184 "</tr>\n"
1185 "</table>\n"
1186 "") );
1187  gContextHelpTexts.insert( "QgsOracleNewConnection", QCoreApplication::translate( "context_help", "<h3>Create a New Oracle Connection</h3>\n"
1188 "This dialog allows you to define the settings for a connection to a Oracle database.\n"
1189 "<p>\n"
1190 "<ul>\n"
1191 "<li> <label>Name</label> A name to identify the connection settings.\n"
1192 "\n"
1193 "<li> <label>Database</label> SID or SERVICE_NAME of the Oracle instance.\n"
1194 "\n"
1195 "<li> <label>Host</label> Name or IP address of the computer hosting the database server\n"
1196 "\n"
1197 "<li> <label>Port</label> IP port used by the database server\n"
1198 "\n"
1199 "<li> <label>Username</label> Database user name.\n"
1200 "<li> <label>Password</label> Database password.\n"
1201 "\n"
1202 "<li> <label>Save Username</label> Indicates whether to save the database user name in the connection configuration.\n"
1203 "\n"
1204 "<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"
1205 "\n"
1206 "<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"
1207 "\n"
1208 "<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"
1209 "\n"
1210 "<li> <label>Also list tables with no geometry</label> Indicates that tables without geometry should also be listed by default.\n"
1211 "\n"
1212 "<li> <label>Use estimated table statistics for the layer metadata</label> When\n"
1213 "the layer is setup various metadata is required for the Oracle table. This\n"
1214 "includes information such as the table row count, geometry type and spatial\n"
1215 "extents of the data in the geometry column. If the table contains a large\n"
1216 "number of rows determining this metadata is time consuming. By activating this\n"
1217 "option the following fast table metadata operations are done: Row count is\n"
1218 "determined from all_tables.num_rows. Table extents are always determined with\n"
1219 "the SDO_TUNE.EXTENTS_OF function even if a layer filter is applied. The table\n"
1220 "geometry is determined from the first 100 non-null geometry rows in the table.\n"
1221 "\n"
1222 "<li> <label>Only existing geometry types</label> Only list the existing\n"
1223 "geometry types and don't offer to add others.\n"
1224 "\n"
1225 "</ul>\n"
1226 "") );
1227  gContextHelpTexts.insert( "QgsBookmarks", QCoreApplication::translate( "context_help", "<h3>Spatial Bookmarks</h3>\n"
1228 "Spatial Bookmarks allow you to \"bookmark\" a geographic location and return to it later.\n"
1229 "<p>\n"
1230 "<a href=\"#creating\">Creating a Bookmark</a><br/>\n"
1231 "<a href=\"#working\">Working with Bookmarks</a><br/>\n"
1232 "<a href=\"#zooming\">Zooming to a Bookmark</a><br/>\n"
1233 "<a href=\"#deleting\">Deleting a Bookmark</a><br/>\n"
1234 "<a href=\"#updating\">Updating a Bookmark</a><br/>\n"
1235 "\n"
1236 "<a name=\"creating\">\n"
1237 "<h4>Creating a Bookmark</h4>\n"
1238 "</a>\n"
1239 "To create a bookmark:\n"
1240 "<ol>\n"
1241 "<li>Zoom or pan to the area of interest.\n"
1242 "<li>Click on the <label>New bookmark</label> or type Ctrl-B.\n"
1243 "<li>Enter a descriptive name for the bookmark (up to 255 characters).\n"
1244 "<li>Click <label>OK</label> to add the bookmark or <label>Cancel</label> to exit without adding the bookmark.\n"
1245 "</ol>\n"
1246 "Note that you can have multiple bookmarks with the same name.\n"
1247 "<a name=\"working\">\n"
1248 "<h4>Working with Bookmarks</h4>\n"
1249 "</a>\n"
1250 "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"
1251 "<a name=\"zooming\">\n"
1252 "<h5>Zooming to a Bookmark</h5>\n"
1253 "</a>\n"
1254 "From the Geo spatial Bookmarks dialog, select the desired bookmark by clicking on it, then click the <label>Zoom to</label> button.\n"
1255 "<p>\n"
1256 "You can also zoom to a bookmark by double-clicking on it.\n"
1257 "<a name=\"deleting\">\n"
1258 "<h5>Deleting a Bookmark</h5>\n"
1259 "</a>\n"
1260 "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"
1261 "<a name=\"updating\">\n"
1262 "<h5>Updating a Bookmark</h5>\n"
1263 "</a>\n"
1264 "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"
1265 "\n"
1266 "") );
1267  gContextHelpTexts.insert( "QgsIdentifyResultsDialog", QCoreApplication::translate( "context_help", "<h3>Identify Features</h3>\n"
1268 "<p>\n"
1269 "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"
1270 "</p>\n"
1271 "<p>\n"
1272 "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"
1273 "You may also tick an <label>Open feature form, if a single feature is identified</label> option.<br>\n"
1274 "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"
1275 "</p>\n"
1276 "") );
1277  gContextHelpTexts.insert( "QgsVectorLayerSaveAsDialog", QCoreApplication::translate( "context_help", "<h3>Save vector layer as...</h3>\n"
1278 "\n"
1279 "<p>This dialog allows you to save vector data in various formats using GDAL/OGR.\n"
1280 "\n"
1281 "<ul>\n"
1282 "<li>From the <label>Format</label> list you can select the destination format (as advertised by OGR).\n"
1283 "<li>At <label>Save as</label> you can enter a destination files name or select one using the <label>Browse</label> button.\n"
1284 "<li>In the <label>Encoding</label> list you can define in which encoding the data should be saved.\n"
1285 "<li>Using the <label>CRS</label> you can select a CRS into which the data about to be saved should be reprojected.\n"
1286 "<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"
1287 "</ul>\n"
1288 "\n"
1289 "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"
1290 "") );
1291  gContextHelpTexts.insert( "QgsComposer", QCoreApplication::translate( "context_help", "<h3>Print Composer</h3>\n"
1292 "\n"
1293 "<p>\n"
1294 "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"
1295 "</p>\n"
1296 "\n"
1297 "<p>\n"
1298 "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"
1299 "\n"
1300 "</p>\n"
1301 "\n"
1302 "") );
1303  gContextHelpTexts.insert( "QgsDecorationCopyrightDialog", QCoreApplication::translate( "context_help", "<h3>Copyright Label Plugin</h3>\n"
1304 "Draws a copyright label with information.<br/>\n"
1305 "You can add any random text to the map not only a copyright label.\n"
1306 "<p>\n"
1307 "<a href=\"#howto\">How to</a><br/>\n"
1308 "<a href=\"#text\">Text formatting</a><br/>\n"
1309 "\n"
1310 "<a name=\"howto\">\n"
1311 "<h4>How to</h4>\n"
1312 "</a>\n"
1313 "<ol>\n"
1314 "<li>Make sure the plugin is loaded.\n"
1315 "<li>Click on <label>Plugins > Decorations > Copyright Label</label> or use the <label>Copyright Label</label> button from the Toolbar.\n"
1316 "<li>Enter the text you want to place on the map. You can use HTML.\n"
1317 "<li>Choose the placement of the label from the <label>Placement Bottom Right</label> drop-down box.\n"
1318 "<li>Make sure the <label>Enable Copyright Label check box</label> is checked.\n"
1319 "<li>Click <label>OK</label>.\n"
1320 "</ol>\n"
1321 "<a name=\"text\">\n"
1322 "<h4> Text formatting </h4>\n"
1323 "</a>\n"
1324 "This plugin supports basic HTML markup tags for formatting text. For example:\n"
1325 "\n"
1326 "<ul>\n"
1327 "<li>&lt;B&gt;<b> Bold text </b>&lt;/B&gt;\n"
1328 "</li>\n"
1329 "<li>&lt;I&gt;<i> Italics </i>&lt;/I&gt;\n"
1330 "</li>\n"
1331 "<li>&lt;U&gt;<u> Underlined text </u>&lt;/U&gt;\n"
1332 "</li>\n"
1333 "</ul>\n"
1334 "") );
1335  gContextHelpTexts.insert( "QgsProjectProperties", QCoreApplication::translate( "context_help", "<h3>Project Properties</h3>\n"
1336 "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"
1337 "\n"
1338 "<a href=\"#general\">General Tab</a><br/>\n"
1339 "<a href=\"#crs\">Coordinate Reference System (CRS) Tab</a><br/>\n"
1340 "<a href=\"#layers\">Identifiable layers Tab</a><br/>\n"
1341 "\n"
1342 "<a name=\"general\">\n"
1343 "<h4>General Tab</h4>\n"
1344 "</a>\n"
1345 "<table border=1>\n"
1346 "<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"
1347 "<tr><td><label>Selection color</label></td><td>Selected features are displayed on the map using this color.</td></tr>\n"
1348 "<tr><td><label>Background color</label></td><td>The color of the map canvas.</td></tr>\n"
1349 "<tr><td><label>Save paths</label></td><td>Ability to save the paths as absolute or relative.</td></tr>\n"
1350 "<tr><td><label>Layer units</label></td><td>Choose the units appropriate for the layers in the project.</td></tr>\n"
1351 "<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"
1352 "<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"
1353 "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"
1354 "<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"
1355 "\n"
1356 "</table>\n"
1357 "<a name=\"crs\">\n"
1358 "<h4>Coordinate Reference System (CRS) Tab</h4>\n"
1359 "</a>\n"
1360 "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"
1361 "<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"
1362 "<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"
1363 "<p>The list of recently used coordinate systems will be available on the bottom for quick access.\n"
1364 "\n"
1365 "<a name=\"layers\">\n"
1366 "<h4>Identifiable layers Tab</h4>\n"
1367 "</a>\n"
1368 "On this tab you can choose on which layers the identify tool will work.\n"
1369 "") );
1370  gContextHelpTexts.insert( "QgsPgSourceSelect", QCoreApplication::translate( "context_help", "<h3>Add PostGIS Tables</h3>\n"
1371 "This dialog allows you to add PostGIS layers (tables with a geometry column) to the QGIS map canvas.\n"
1372 "<p>\n"
1373 "<a href=\"#connect\">Connections</a><br/>\n"
1374 "<a href=\"#add\">Adding Layers</a><br/>\n"
1375 "<a href=\"#filter\">Filtering a Layer</a><br/>\n"
1376 "<a href=\"#search\">Search options</a><br/>\n"
1377 "\n"
1378 "<a href=\"#connect\">\n"
1379 "<h4>Connections</h4>\n"
1380 "</a>\n"
1381 "<ul>\n"
1382 "<li>Choose the connection to use from the drop-down box and click <label>Connect</label>.\n"
1383 "<li>If there are no connections, use the <label>New</label> button to create a connection.\n"
1384 "<li>To modify a connection, click the <label>Edit</label> button.\n"
1385 "</ul>\n"
1386 "<a name=\"add\">\n"
1387 "<h4>Adding Layers</h4>\n"
1388 "</a>\n"
1389 "To add a layer:\n"
1390 "<ol>\n"
1391 "<li>Choose the desired connection from the drop-down box.\n"
1392 "<li>Click <label>Connect</label>.\n"
1393 "<li>Find the layer you want to add in the list and click on it to select it.\n"
1394 "<li>You can select additional layers by holding down the Ctrl key and clicking.\n"
1395 "<li>Click <label>Add</label> to add the layer(s) to the map.\n"
1396 "</ol>\n"
1397 "<a name=\"filter\">\n"
1398 "<h4>Filtering a Layer</h4>\n"
1399 "</a>\n"
1400 "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"
1401 "\n"
1402 "<a name=\"search\">\n"
1403 "<h4>Search options</h4>\n"
1404 "</a>\n"
1405 "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"
1406 "") );
1407  gContextHelpTexts.insert( "QgsOptions", QCoreApplication::translate( "context_help", "<h3>Options</h3>\n"
1408 "This dialog allows you to select some basic options for QGIS. There are eight tabs:\n"
1409 "<p>\n"
1410 "\n"
1411 "<a href=\"#general\">General</a><br/>\n"
1412 "<a href=\"#ren\">Rendering & SVG</a><br/>\n"
1413 "<a href=\"#map\">Map tools</a><br/>\n"
1414 "<a href=\"#over\">Overlay</a><br/>\n"
1415 "<a href=\"#digit\">Digitizing</a><br/>\n"
1416 "<a href=\"#crs\">CRS</a><br/>\n"
1417 "<a href=\"#loc\">Locale</a><br/>\n"
1418 "<a href=\"#net\">Network & Proxy</a><br/>\n"
1419 "\n"
1420 "<a name=\"general\">\n"
1421 "<h4>General</h4>\n"
1422 "</a>\n"
1423 "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"
1424 "<a name=\"ren\">\n"
1425 "<h4>Rendering & SVG</h4>\n"
1426 "</a>\n"
1427 "Within this tab you can set general rendering options for map layers.<br>\n"
1428 "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"
1429 "<ul>\n"
1430 "<li>Adding a layer\n"
1431 "<li>Panning or zooming\n"
1432 "<li>Resizing the QGIS window\n"
1433 "<li>Changing the visibility of a layer or layers\n"
1434 "</ul>\n"
1435 "QGIS allows you to control the rendering process in a number of ways:<p>\n"
1436 "You can set an option to always load new layers without drawing them.<br>\n"
1437 "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"
1438 "You can set an option to update the map display as features are drawn. <br>\n"
1439 "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"
1440 "<a name=\"map\">\n"
1441 "<h4>Map tools</h4>\n"
1442 "</a>\n"
1443 "<h5>Identify</h5>\n"
1444 "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"
1445 "<h5>Measure tool</h5>\n"
1446 "Here you can set an ellipsoid for distance calculations, measurement units and preferred color of rubber band.\n"
1447 "<h5>Panning and zooming</h5>\n"
1448 "Allows to define mouse wheel action and zoom factor.\n"
1449 "<a name=\"over\">\n"
1450 "<h4>Overlay</h4>\n"
1451 "</a>\n"
1452 "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"
1453 "\n"
1454 "<a name=\"digit\">\n"
1455 "<h4>Digitizing</h4>\n"
1456 "</a>\n"
1457 "<h5>Rubber band</h5>\n"
1458 "In the <label>Digitizing</label> tab you can define settings for digitizing line width and color.\n"
1459 "<h5>Snapping</h5>\n"
1460 "Here you can define a general, project wide snapping tolerance. <p>\n"
1461 "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"
1462 "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"
1463 "<h5>Vertex markers</h5>\n"
1464 "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"
1465 "<h5>Enter attribute values</h5>\n"
1466 "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"
1467 "<a name=\"crs\">\n"
1468 "<h4>CRS</h4>\n"
1469 "</a>\n"
1470 "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"
1471 "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"
1472 "<a name=\"lov\">\n"
1473 "<h4>Locale</h4>\n"
1474 "</a>\n"
1475 "Informs you about active system locale. To change it tick <label>Override system locale</label> and restart QGIS.\n"
1476 "<a name=\"net\">\n"
1477 "<h4>Network & Proxy</h4>\n"
1478 "</a>\n"
1479 "Tick <label>Use proxy for web access</label> to define host, port, user, and password.\n"
1480 "") );
1481  gContextHelpTexts.insert( "QgsSpatiaLiteSourceSelect", QCoreApplication::translate( "context_help", "<h3>Add SpatiaLite Tables</h3>\n"
1482 "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"
1483 "The connections you define will be remembered for further use and available to choose from the drop down menu.\n"
1484 "") );
1485  gContextHelpTexts.insert( "QgsNewOgrConnection", QCoreApplication::translate( "context_help", "<h3>New OGR Database Connection Dialog</h3>\n"
1486 "") );
1487  gContextHelpTexts.insert( "QgsGPSPluginGui", QCoreApplication::translate( "context_help", "<h3>GPS Plugin</h3>\n"
1488 "\n"
1489 "") );
1490  gContextHelpTexts.insert( "QgsNewSpatialiteLayerDialog", QCoreApplication::translate( "context_help", "<h3>Create a New SpatiaLite Layer</h3>\n"
1491 "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"
1492 "<h4>Database</h4>\n"
1493 "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"
1494 "<h4>Layer name</h4>\n"
1495 "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"
1496 "<h4>Geometry column</h4>\n"
1497 "Enter a name for the geometry column or accept the default.\n"
1498 "<h4>Type</h4>\n"
1499 "Choose the type of layer you want to create. \n"
1500 "<h4>EPSG SRID</h4>\n"
1501 "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"
1502 "<h4>Create an auto-incrementing Primary Key</h4>\n"
1503 "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"
1504 "<h4>New attribute</h4>\n"
1505 "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"
1506 "Width and precision are irrelevant in a SpatiaLite database so you do not have to specify these.\n"
1507 "<h4>Attributes list</h4>\n"
1508 "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"
1509 "\n"
1510 "<p>\n"
1511 "Click on <label>OK</label> to create the layer and close the dialog. Clicking <label>Apply</label> also creates the layer, but keeps the dialog open, thereby allowing you to create more similar layers. <label>Cancel</label> will close the layer without further changes.\n"
1512 "") );
1513 }