aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/osm/osm.api.referenced.way
diff options
context:
space:
mode:
Diffstat (limited to 'bin/osm/osm.api.referenced.way')
-rwxr-xr-xbin/osm/osm.api.referenced.way5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/osm/osm.api.referenced.way b/bin/osm/osm.api.referenced.way
new file mode 100755
index 0000000..1d84238
--- /dev/null
+++ b/bin/osm/osm.api.referenced.way
@@ -0,0 +1,5 @@
1#!/bin/bash
2
3curl -X GET $OSM_API/node/$1/ways |\
4tee /tmp/osm &&\
5echo ways contain node $1 are copied into /tmp/osm > /dev/tty