aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-03-06 11:20:25 +0800
committertypebrook <typebrook@gmail.com>2020-03-06 11:20:25 +0800
commit53065c46a5c72c247cec1e07284a49c8f6878df5 (patch)
tree045673736cd44be0214146425214390e5013f73d /tools
parentb99dad9e06aa2f02f3a77ad475be4870b5c7c9f6 (diff)
update
Diffstat (limited to 'tools')
-rwxr-xr-xtools/osm/osm.help23
1 files changed, 11 insertions, 12 deletions
diff --git a/tools/osm/osm.help b/tools/osm/osm.help
index aa3b36b..f4c20d2 100755
--- a/tools/osm/osm.help
+++ b/tools/osm/osm.help
@@ -1,21 +1,20 @@
1#! /bin/sh 1#! /bin/sh
2 2
3 echo ' 3cat <<EOF
4COMMANDS: 4COMMANDS:
5 osm.help 5 osm.help
6 util.osm.edit 6 util.osm.edit
7
8 osm.api.changeset.create create a new changeset and return its ID 7 osm.api.changeset.create create a new changeset and return its ID
9 osm.api.changeset.update [changeset ID] update changeset with new comment 8 osm.api.changeset.update <changeset ID> update changeset with new comment
10 osm.api.changeset.upload [changeset ID] [osc file] upload osc file to the given changeset 9 osm.api.changeset.upload <changeset ID> <osc file> upload osc file to the given changeset
11 osm.api.changeset.add [changeset ID] STDIN=osm element, add it into changeset 10 osm.api.changeset.add <changeset ID> STDIN=osm element, add it into changeset
12 osm.api.changeset.close [changeset ID] close the given changeset 11 osm.api.changeset.close <changeset ID> close the given changeset
13 osm.api.fetch [element type] [element ID] 12 osm.api.fetch <element type> <element ID>
14 osm.api.fetch.full like .fetch, but return with all referenced elements 13 osm.api.fetch.full like .fetch, but return with all referenced elements
15 osm.api.fetch.history [element type] [element ID] 14 osm.api.fetch.history <element type> <element ID>
16 osm.api.member.relation [element type] [element ID] [member type] get first relations reference it as member type 15 osm.api.member.relation <element type> <element ID> <member type> get first relations reference it as member type
17 osm.api.referenced.relation [element type] [element ID] get all relations reference this element 16 osm.api.referenced.relation <element type> <element ID> get all relations reference this element
18 osm.api.referenced.way [element type] [element ID] get all ways reference this element 17 osm.api.referenced.way <element type> <element ID> get all ways reference this element
19 osm.api.upload.to 18 osm.api.upload.to
20 19
21 osm.file.cat 20 osm.file.cat
@@ -31,4 +30,4 @@ COMMANDS:
31 osm.member.relation 30 osm.member.relation
32 osm.pbf.update 31 osm.pbf.update
33 osm.osm.update 32 osm.osm.update
34 ' 33EOF