annotate ogrinfo.xml @ 0:2241ff3e5b7c draft default tip

Uploaded
author mnhn65mo
date Thu, 02 Aug 2018 06:30:23 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
1 <tool id="ogrinfo" name="OGR Informations" version="0.1.0">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
2 <description>lists information about an OGR supported data source</description>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
3 <requirements>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
4 <requirement type="package" version="2.1.0">gdal</requirement>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
5 <requirement type="package" version="3.5.0">geos</requirement>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
6 <requirement type="package" version="9b">jpeg</requirement>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
7 <requirement type="package" version="1.5.90">libjpeg-turbo</requirement>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
8 </requirements>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
10 ogrinfo -ro '$input1.extra_files_path/Shapefile.shp' -al
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
11 #if $settings.advanced=='advanced'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
12
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
13 #unless $settings.sql=='eg : SELECT * FROM Shapefile WHERE X>10':
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
14 -sql '$settings.sql'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
15 #end unless
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
16
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
17 $settings.so
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
18
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
19
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
20 #end if
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
21
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
22
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
23 > '$output'
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
24
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
25 ]]></command>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
26
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
27 <inputs>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
28 <param type="data" name="input1" format="data" label="Gdal supported input file" help="http://www.gdal.org/ogr_formats.html"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
29 <conditional name="settings">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
30 <param name="advanced" type="select" label="Specify advanced parameters">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
31 <option value="simple" selected="true">No, use program defaults.</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
32 <option value="advanced">Yes, see full parameter list.</option>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
33 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
34 <when value="simple">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
35 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
36 <when value="advanced">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
37 <param name="sql" type="text" label="-sql statement" value="eg : SELECT * FROM Shapefile WHERE X>10" help="Your input is renamed Shapefile.">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
38 <sanitizer>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
39 <valid initial="string.printable">
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
40 <add value=">"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
41 </valid>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
42 </sanitizer>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
43 </param>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
44
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
45 <param name="so" label="-so" type="boolean" truevalue="-so" falsevalue="" checked="true"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
46 </when>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
47 </conditional>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
48 </inputs>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
49
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
50 <outputs>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
51 <data name="output" format="txt" label="OGR Info file on ${on_string}"/>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
52 </outputs>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
53
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
54 <tests>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
55 </tests>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
56 <help><![CDATA[
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
57 ========
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
58 Ogrinfo
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
59 ========
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
60
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
61 **What it does**
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
62
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
63 The Ogrinfo program lists various information about an OGR supported vector dataset.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
64
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
65 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
66
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
67 **How to use it**
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
68
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
69 Select from history a suported vector file.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
70
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
71 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
72
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
73 **Other options, advanced usage**
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
74
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
75 *-sql statement*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
76
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
77 Execute the indicated SQL statement and return the result. Your input is renamed Shapefile.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
78
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
79 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
80
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
81 *-so*
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
82
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
83 Summary Only: suppress listing of features, show only the summary information like projection, schema, feature count and extents.
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
84
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
85 |
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
86
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
87 **Sources**
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
88
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
89 http://www.gdal.org
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
90
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
91 http://www.gdal.org/ogr_utilities.html
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
92
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
93 http://download.osgeo.org/gdal/workshop/foss4ge2015/workshop_gdal.pdf
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
94 ]]></help>
2241ff3e5b7c Uploaded
mnhn65mo
parents:
diff changeset
95 </tool>