Mercurial > lbo > hg > geohub
changeset 61:1f1e2ce4676c
Update README about new clients
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Fri, 04 Dec 2020 11:18:48 +0100 |
parents | 5074024fc84d |
children | 45d88bf5d99f |
files | README.md |
diffstat | 1 files changed, 18 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/README.md Fri Dec 04 11:18:01 2020 +0100 +++ b/README.md Fri Dec 04 11:18:48 2020 +0100 @@ -152,6 +152,13 @@ ![Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © MapBox](screenshot1.png) *Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © MapBox* +The `assets/` directory contains web applications directly built on top of +GeoHub with nothing more than Ajax and some third-party libraries. + +## Ingestion + +### From Android phones + If you want to go on a difficult hike (though one with nice mobile data coverage) and keep your worried parents up to date, do this: @@ -168,5 +175,14 @@ See also the `examples/` directory for more ways to use GeoHub. For example, stream metadata from German long distance trains to GeoHub. -The `assets/` directory contains web applications directly built on top of -GeoHub with nothing more than Ajax and some third-party libraries. +### From the web + +The `assets/trackme.html` site contains a simple script to regularly send your +browser location (only when changed) to the GeoHub instance serving it. + +If your GeoHub is running, you can simply use it by going to +`https://your.geohub.com/geo/assets/trackme.html?client=YOURCLIENT&secret=YOURSECRET`. + +Click the start button to start sending locations to GeoHub. Of course the +browser will ask for permission before allowing access to you location. +