Mercurial > repos > itaxotools > latlon_converter
annotate README.md @ 0:ef146e4077e6 draft default tip
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
| author | itaxotools |
|---|---|
| date | Sun, 29 Jan 2023 16:44:56 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
1 # latlon-converter |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
2 Converts latitude and longitude into a stardard form |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
3 |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
4 # Usage |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
5 latlon_conv.py --cmd < input_file > output_file |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
6 latlon_conv.py |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
7 |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
8 The `--cmd` option launches the command-line version, otherwise the GUI is launched. |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
9 |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
10 The input file should contain coordinates in maximum two (tab-separated) columns. First line can be a heading with column headings being |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
11 one of: 'lat', 'latitude', 'lon', 'longitude', 'latlon', 'lonlat', 'lat-lon', 'lon-lat'. |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
12 |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
13 The output file is a tab-separated table with original coordinates and standard formattings of them |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
14 |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
15 # GUI |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
16 |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
17 The GUI allows to select the input and output files. It also allows to write the input into the `Input` text area. |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
18 |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
19 The `Load` button loads the text from the input file into the `Input` text area. |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
20 |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
21 The `Process` button performs the conversion. It takes the input from the input file or the `Input` text area, depending on which one is available. |
|
ef146e4077e6
planemo upload commit 232ce39054ce38be27c436a4cabec2800e14f988-dirty
itaxotools
parents:
diff
changeset
|
22 It writes the output into into the output file, if it's given, otherwise to the `Output` text area. |
