diff options
Diffstat (limited to 'utils')
| -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 |