From: Paul Norman Date: Thu, 17 Aug 2023 21:36:54 +0000 (-0700) Subject: Update to tilelog 1.6.0 and generate new tables X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7a0054fea7b8e9dfb6adb5a6dc23fc0254b784cc?ds=sidebyside;hp=-c Update to tilelog 1.6.0 and generate new tables These new tables allow for generalization of data and reducing the data stored. --- 7a0054fea7b8e9dfb6adb5a6dc23fc0254b784cc diff --git a/cookbooks/tilelog/recipes/default.rb b/cookbooks/tilelog/recipes/default.rb index 9ab18f93b..96aa8dafc 100644 --- a/cookbooks/tilelog/recipes/default.rb +++ b/cookbooks/tilelog/recipes/default.rb @@ -31,7 +31,7 @@ end python_package "tilelog" do python_virtualenv tilelog_directory python_version "3" - version "1.5.0" + version "1.6.0" end directory tilelog_output_directory do diff --git a/cookbooks/tilelog/templates/default/tilelog.erb b/cookbooks/tilelog/templates/default/tilelog.erb index 5ce9180cc..0cb24ce4d 100644 --- a/cookbooks/tilelog/templates/default/tilelog.erb +++ b/cookbooks/tilelog/templates/default/tilelog.erb @@ -20,7 +20,8 @@ HOSTFILE="hosts-${DATE}.csv" APPFILE="apps-${DATE}.csv" COUNTRYFILE="countries-${DATE}.csv" -nice -n 19 /opt/tilelog/bin/tilelog --date "${DATE}" --generate-success \ +nice -n 19 /opt/tilelog/bin/tilelog --date "${DATE}" \ + --generate-success --generate-minimise --generate-location \ --tile "${TILEFILE}" --host "${HOSTFILE}" --app "${APPFILE}" --country "${COUNTRYFILE}" mv "${TILEFILE}" "${HOSTFILE}" "${APPFILE}" "${COUNTRYFILE}" "${OUTDIR}"