Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tracking of data coverage per zoom level #1

Open
thinrope opened this issue Nov 11, 2016 · 0 comments
Open

add tracking of data coverage per zoom level #1

thinrope opened this issue Nov 11, 2016 · 0 comments
Assignees

Comments

@thinrope
Copy link
Member

Initial code:

FDATE=2014-03-11;
echo -ne "${FDATE},";
echo "SELECT GROUP_CONCAT(C) FROM (SELECT TileLevel, SUM(DataCount) AS C FROM Tiles GROUP BY TileLevel ORDER BY TileLevel);" \
|sqlite3 "file:///Users/safecast/Library/Containers/com.ndolezal.GeigerBotOSX/Data/Documents/safecast-${FDATE}.sqlite?mode=ro"

Example output:
2014-03-11,1550,3776,9007,20921,47868,107757,238637,519460,1110576,2306115,4446887,7452290,11124533,15219118

@thinrope thinrope self-assigned this Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant