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