annotate ogr2ogr.xml @ 2:22c54afd1cf3 draft

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
author ecology
date Thu, 13 Jun 2019 11:29:34 -0400
parents 402131c0b42c
children e12db3b4d3a6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
1 <tool id="gdal_ogr2ogr" name="OGR2ogr" version="@VERSION@">
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
2 <description>converts simple features data between file formats</description>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
3 <macros>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
4 <import>gdal_macros.xml</import>
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
5 </macros>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
6 <expand macro="gdal_requirements" />
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
8 ogr2ogr
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
9 -f '$f'
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
10 #if $f=='ESRI Shapefile'
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
11 'shapefile.shp'
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
12 #else
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
13 'output'
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
14 #end if
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
15 #if $input.is_of_type("shp")
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
16 ${os.path.join( $input.extra_files_path, 'shapefile.shp' )}
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
17 #else
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
18 '$input'
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
19 #end if
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
20 #if $f=='ESRI Shapefile'
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
21 &&
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
22 mkdir ${shapefile.extra_files_path} &&
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
23 mv shapefile.* ${shapefile.extra_files_path}
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
24 #end if
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
25 ]]></command>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
26 <inputs>
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
27 <param type="data" name="input" format="shp,xml,json,txt" label="Gdal supported input file" help="http://www.gdal.org/ogr_formats.html"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
28 <param type="select" name="f" label="Conversion format" value="" help="Select the format to convert your input file. Currently supported : Shapefile, GeoJSON, GML, KML and WFS.">
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
29 <option value="ESRI Shapefile">ESRI Shapefile</option>
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
30 <option value="GeoJSON">GEOJSON</option>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
31 <option value="GML">GML</option>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
32 <option value="KML">KML</option>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
33 <option value="WFS">WFS</option>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
34 </param>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
35 </inputs>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
36 <outputs>
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
37 <data name="output" from_work_dir="output" format="xml" label="${on_string}.${f}">
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
38 <filter>f != 'ESRI Shapefile'</filter>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
39 <change_format>
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
40 <when input="f" value="GeoJSON" format="json"/>
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
41 <when input="f" value="GML" format="xml"/>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
42 <when input="f" value="KML" format="xml"/>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
43 <when input="f" value="WFS" format="txt"/>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
44 </change_format>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
45 </data>
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
46 <data name="shapefile" format="shp" from_work_dir="shapefile" label="${on_string}.shapefile">
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
47 <filter>f == 'ESRI Shapefile'</filter>
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
48 </data>
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
49 </outputs>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
50 <tests>
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
51 <test>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
52 <param name="input" value="shp_compositefiles/shapefile.xml" ftype="shp">
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
53 <composite_data value="shp_compositefiles/shapefile.shp"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
54 <composite_data value="shp_compositefiles/shapefile.shx"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
55 <composite_data value="shp_compositefiles/shapefile.dbf"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
56 <composite_data value="shp_compositefiles/shapefile.sbn"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
57 <composite_data value="shp_compositefiles/shapefile.sbx"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
58 </param>
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
59 <param name="f" value="KML"/>
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
60 <output file="ogr2ogr_KML.kml" name="output"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
61 </test>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
62 <test>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
63 <param name="input" value="shp_compositefiles/shapefile.xml" ftype="shp">
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
64 <composite_data value="shp_compositefiles/shapefile.shp"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
65 <composite_data value="shp_compositefiles/shapefile.shx"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
66 <composite_data value="shp_compositefiles/shapefile.dbf"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
67 <composite_data value="shp_compositefiles/shapefile.sbn"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
68 <composite_data value="shp_compositefiles/shapefile.sbx"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
69 </param>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
70 <param name="f" value="GML"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
71 <output file="ogr2ogr_GML.gml" name="output"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
72 </test>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
73 <test>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
74 <param name="input" value="shp_compositefiles/shapefile.xml" ftype="shp">
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
75 <composite_data value="shp_compositefiles/shapefile.shp"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
76 <composite_data value="shp_compositefiles/shapefile.shx"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
77 <composite_data value="shp_compositefiles/shapefile.dbf"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
78 <composite_data value="shp_compositefiles/shapefile.sbn"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
79 <composite_data value="shp_compositefiles/shapefile.sbx"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
80 </param>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
81 <param name="f" value="GeoJSON"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
82 <output file="ogr2ogr_geojson.json" name="output"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
83 </test>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
84 <test>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
85 <param name="input" value="ogr2ogr_KML.kml" ftype="xml"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
86 <param name="f" value="GeoJSON"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
87 <output file="ogr2ogr_test2_geojson.json" name="output"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
88 </test>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
89 <test>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
90 <param name="input" value="ogr2ogr_KML.kml" ftype="xml"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
91 <param name="f" value="ESRI Shapefile"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
92 <output file="shp_compositefiles/ogr2ogr_shapefile2.html" name="shapefile">
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
93 <extra_files type="file" name="shapefile.dbf" value="shp_compositefiles/ogr2ogr_shapefile2.dbf" compare="sim_size" delta="50"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
94 <extra_files type="file" name="shapefile.prj" value="shp_compositefiles/ogr2ogr_shapefile2.prj"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
95 <extra_files type="file" name="shapefile.shp" value="shp_compositefiles/ogr2ogr_shapefile2.shp"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
96 <extra_files type="file" name="shapefile.shx" value="shp_compositefiles/ogr2ogr_shapefile2.shx"/>
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
97 </output>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
98 </test>
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
99 <test>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
100 <param name="input" value="ogr2ogr_KML.kml" ftype="xml"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
101 <param name="f" value="GML"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
102 <output file="ogr2ogr_GML2.gml" name="output"/>
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
103 </test>
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
104 </tests>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
105 <help><![CDATA[
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
106 ========
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
107 Ogrinfo
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
108 ========
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
109
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
110 **What it does**
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
111
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
112 The Ogrinfo program lists various information about an OGR supported vector dataset.
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
113
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
114 |
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
115
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
116 **How to use it**
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
117
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
118 Select from history a suported vector file.
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
119
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
120 |
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
121
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
122 **Advanced options and sources**
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
123
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
124 To see complete details and help section please check the official gdal sources.
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
125
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
126 http://www.gdal.org
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
127
2
22c54afd1cf3 planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents: 0
diff changeset
128 https://gdal.org/programs/ogr2ogr.html
0
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
129
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
130 http://download.osgeo.org/gdal/workshop/foss4ge2015/workshop_gdal.pdf
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
131 ]]></help>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
132 <expand macro="gdal_citation"/>
402131c0b42c planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff changeset
133 </tool>