aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-11-12 11:31:39 +0800
committertypebrook <typebrook@gmail.com>2019-11-12 11:31:39 +0800
commit8f2e4bedb2ccf4d40b8a55b2809ae07a7dc18333 (patch)
tree4ac7726dfa3be02e29bbcc44cd21519c1d4c2792
parent2bb8d4a685ec345e4c224a4f4d949b0361dd1520 (diff)
update
-rw-r--r--utils/osm4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/osm b/utils/osm
index e1e9bec..d9663ef 100644
--- a/utils/osm
+++ b/utils/osm
@@ -39,6 +39,10 @@ util.osm.edit() {
39 vim $FILENAME && source $FILENAME 39 vim $FILENAME && source $FILENAME
40} 40}
41 41
42osm.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
43SERVER=https://api.openstreetmap.org 47SERVER=https://api.openstreetmap.org
44OSM_API=$SERVER/api/0.6 48OSM_API=$SERVER/api/0.6