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