diff options
author | typebrook <typebrook@gmail.com> | 2019-11-12 11:31:39 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-11-12 11:31:39 +0800 |
commit | 8f2e4bedb2ccf4d40b8a55b2809ae07a7dc18333 (patch) | |
tree | 4ac7726dfa3be02e29bbcc44cd21519c1d4c2792 | |
parent | 2bb8d4a685ec345e4c224a4f4d949b0361dd1520 (diff) |
update
-rw-r--r-- | utils/osm | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -39,6 +39,10 @@ util.osm.edit() { | |||
39 | vim $FILENAME && source $FILENAME | 39 | vim $FILENAME && source $FILENAME |
40 | } | 40 | } |
41 | 41 | ||
42 | osm.goto() { | ||
43 | xdg-open https://www.openstreetmap.org/$1/$2 | ||
44 | } | ||
45 | |||
42 | #SERVER=https://master.apis.dev.openstreetmap.org | 46 | #SERVER=https://master.apis.dev.openstreetmap.org |
43 | SERVER=https://api.openstreetmap.org | 47 | SERVER=https://api.openstreetmap.org |
44 | OSM_API=$SERVER/api/0.6 | 48 | OSM_API=$SERVER/api/0.6 |