Mercurial > repos > ecology > gdal_ogr2ogr
annotate ogr2ogr.xml @ 3:e12db3b4d3a6 draft default tip
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
author | ecology |
---|---|
date | Thu, 20 Jun 2019 06:53:44 -0400 |
parents | 22c54afd1cf3 |
children |
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[ |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
8 #if $input.is_of_type("tabular") |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
9 cp '$input' '$input''.tsv' && |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
10 #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
|
11 ogr2ogr |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
12 -f '$f' |
0
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
13 #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
|
14 'shapefile.shp' |
0
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
15 #else |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
16 'output' |
0
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
17 #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
|
18 #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
|
19 ${os.path.join( $input.extra_files_path, 'shapefile.shp' )} |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
20 #else if $input.is_of_type("tabular") |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
21 '$input''.tsv' |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
22 #else |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
23 '$input' |
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 |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
25 #if $settings.advanced=='advanced' |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
26 #for $i in $settings.series_oo |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
27 #if str('${i.oo}').strip()!='' |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
28 -oo ${i.oo} |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
29 #end if |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
30 #end for |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
31 #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
|
32 #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
|
33 && |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
34 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
|
35 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
|
36 #end if |
0
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
37 ]]></command> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
38 <inputs> |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
39 <param type="data" name="input" format="shp,xml,json,tabular,txt" label="Gdal supported input file" help="http://www.gdal.org/ogr_formats.html"/> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
40 <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
|
41 <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
|
42 <option value="GeoJSON">GEOJSON</option> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
43 <option value="GML">GML</option> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
44 <option value="KML">KML</option> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
45 <option value="WFS">WFS</option> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
46 </param> |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
47 <conditional name="settings"> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
48 <expand macro="gdal_advanced_params_select"/> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
49 <when value="advanced"> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
50 <expand macro="gdal_param_oo"/> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
51 </when> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
52 </conditional> |
0
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
53 </inputs> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
54 <outputs> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
55 <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
|
56 <filter>f != 'ESRI Shapefile'</filter> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
57 <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
|
58 <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
|
59 <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
|
60 <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
|
61 <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
|
62 </change_format> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
63 </data> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
64 <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
|
65 <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
|
66 </data> |
0
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
67 </outputs> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
68 <tests> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
69 <test> |
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="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
|
71 <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
|
72 <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
|
73 <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
|
74 <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
|
75 <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
|
76 </param> |
0
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
77 <param name="f" value="KML"/> |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
78 <param name="advanced" value="simple"/> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
79 <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
|
80 </test> |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
81 <test> |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
82 <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
|
83 <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
|
84 <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
|
85 <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
|
86 <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
|
87 <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
|
88 </param> |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
89 <param name="f" value="GML"/> |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
90 <param name="advanced" value="simple"/> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
91 <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
|
92 </test> |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
93 <test> |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
94 <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
|
95 <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
|
96 <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
|
97 <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
|
98 <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
|
99 <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
|
100 </param> |
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="GeoJSON"/> |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
102 <param name="advanced" value="simple"/> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
103 <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
|
104 </test> |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
105 <test> |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
106 <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
|
107 <param name="f" value="GeoJSON"/> |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
108 <param name="advanced" value="simple"/> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
109 <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
|
110 </test> |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
111 <test> |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
112 <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
|
113 <param name="f" value="ESRI Shapefile"/> |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
114 <param name="advanced" value="simple"/> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
115 <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
|
116 <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
|
117 <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
|
118 <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
|
119 <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
|
120 </output> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
121 </test> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
122 <test> |
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
123 <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
|
124 <param name="f" value="GML"/> |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
125 <param name="advanced" value="simple"/> |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
126 <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
|
127 </test> |
3
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
128 <test> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
129 <param name="input" value="ogr2ogr_fromgbif.tabular" ftype="tabular"/> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
130 <param name="f" value="GeoJSON"/> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
131 <param name="advanced" value="advanced"/> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
132 <param name="oo" value="X_POSSIBLE_NAMES=longitude"/> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
133 <param name="oo" value="Y_POSSIBLE_NAMES=latitude"/> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
134 <output file="ogr2ogr_gbif_to_json.json" name="output" lines_diff="2"/> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
135 </test> |
e12db3b4d3a6
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit b8d429fc9c59d401a4a55fcd806050939ed41b8b
ecology
parents:
2
diff
changeset
|
136 </tests> |
0
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
137 <help><![CDATA[ |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
138 ======== |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
139 Ogrinfo |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
140 ======== |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
141 |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
142 **What it does** |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
143 |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
144 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
|
145 |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
146 | |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
147 |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
148 **How to use it** |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
149 |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
150 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
|
151 |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
152 | |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
153 |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
154 **Advanced options and sources** |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
155 |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
156 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
|
157 |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
158 http://www.gdal.org |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
159 |
2
22c54afd1cf3
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/gdal commit d2c064afb4680f459012473e4de8653079e32c15
ecology
parents:
0
diff
changeset
|
160 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
|
161 |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
162 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
|
163 ]]></help> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
164 <expand macro="gdal_citation"/> |
402131c0b42c
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
ecology
parents:
diff
changeset
|
165 </tool> |