Update README.md

sql-rework
Tomasz Golinski 2020-01-25 12:07:29 +01:00
rodzic 272e2903f4
commit 5800fdee65
1 zmienionych plików z 3 dodań i 10 usunięć

Wyświetl plik

@ -11,11 +11,11 @@ A sample web interface to play with the tool is available at http://tomaszg.pl/g
### Usage
The main tool is called `geostat`. It is able to access `opencaching.pl` via `OKAPI` or from local database dump maintained by `geodb`. It can also partially read `GPX` files, e.g. exported from [c:geo](https://www.cgeo.org/). It produces various statistics (either as text output, or in a HTML form) and renders a heat map of found/not found caches in a selected region. HTML output requires a style sheet. Sample one is included as `geo.css`.
The main tool is called `geostat`. It is able to access `opencaching.pl` via `OKAPI` or from local database dump maintained by `geodb`. It can also partially read `GPX` files, e.g. exported from [c:geo](https://www.cgeo.org/). It produces various statistics (either as text output with `geostat_cli`, or in a HTML form with `geostat`) and renders a heat map of found/not found caches in a selected region. HTML output requires a style sheet. Sample one is included as `geo.css`.
```
Usage: geostat [-o] [-g file] [-qn] [-MDHLTOYh] [-s size] [-m map]
Generate stats from Opencaching data or GPX files.
Usage: geostat [options]
Generate HTML stats from Opencaching data or GPX files.
* Data sources:
-o[user] use Opencaching; if specified user will be a user name used for all OC instances
@ -28,18 +28,11 @@ Generate stats from Opencaching data or GPX files.
-g file use specified gpx file
-q use local SQLite file with dump of OC database
* Output:
-W output all data in HTML format
-N compute stats only for unfound caches (works only with SQLite)
-M print geographically extreme caches
-D print furthest and closest caches
-H file render a heat map to a file
-s n stamp size for a heat map (default = 15)
-e use exponential to flatten the heat map
-m map chosen map: Poland, Poland_relief, Poland_big, Europe or a name of voivodeship (default = Poland)
-L print all caches
-T print D/T matrix
-O print owner count for found caches
-Y print types count for found caches
-h display this help screen
```