- ๐ Hi, Iโm @stubduffy
- Software test engineer, living in Hamburg Germany.
- Interested in writing code to make other code do stuff, and then seeing what happens.
Pinned Loading
-
get lat lon from search text
get lat lon from search text 1#!/usr/bin/env bash
2query=$1
34pos=$(curl "https://nominatim.openstreetmap.org/search?q=$query&format=json" | jq '.[0]')
5lat=$(echo $pos | jq .lat | tr -d '"')
-
-
-
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.