summaryrefslogtreecommitdiff
path: root/bin/offline.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Remove private header includes from CLI utilitiesKonstantin Käfer2017-03-281-1/+0
|
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-131-3/+3
|
* [test] Fix crash in offline binaryJohn Firebaugh2016-03-151-10/+11
|
* [bin] Add explicit ^C handling to bin/offline, to test deactivationJohn Firebaugh2016-03-071-6/+28
|
* [bin] Print message when tile count limit is exceededJohn Firebaugh2016-03-041-0/+4
|
* [offline] Accept parametersThiago Marcos P. Santos2016-03-021-7/+45
| | | | | | | | | | | | | | | | | | | The defaults remains the same: Bay area at zoom 15. The key, if not supplied, is taken from the environment. ``` Allowed options: -s [ --style ] URL Map stylesheet --north degrees (=37.200000000000003) North latitude --west degrees (=-122.8) West longitude --south degrees (=38.100000000000001) South latitude --east degrees (=-121.7) East longitude --minZoom number (=0) Min zoom level --maxZoom number (=15) Max zoom level --pixelRatio number (=1) Pixel ratio -t [ --token ] key Mapbox access token -o [ --output ] file (=offline.db) Output database file name ```
* [core] status.requiredResourceCountIsIndeterminate ⇢ ↵John Firebaugh2016-02-241-1/+1
| | | | | | status.requiredResourceCountIsPrecise Change the name and reverse the sense. Naming things in the positive is better than naming them in the negative.
* [core] Optimize offline database schemaJohn Firebaugh2016-02-101-1/+1
| | | | | * Under the hood, SQLite creates surrogate keys (ROWID) anyway. We may as well take advantage of this and use the surrogates for foreign keys as well, since they are simpler and more efficient than compound foreign keys. * Create indexes for efficient eviction queries
* Add binary for smoke-testing offline downloadsJohn Firebaugh2016-02-101-0/+76