From 9705b3ad9c535beffc03683559f269dbfa267b48 Mon Sep 17 00:00:00 2001 From: Michael Meier Date: Wed, 11 Apr 2018 10:57:27 +0200 Subject: [PATCH] add new osmdehd map style --- scripts/collectlogsintodb.pl | 12 +++++++----- scripts/deletecheaptiles.pl | 3 ++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/scripts/collectlogsintodb.pl b/scripts/collectlogsintodb.pl index 8092c7e..b16ac7c 100755 --- a/scripts/collectlogsintodb.pl +++ b/scripts/collectlogsintodb.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# Where is the ftp stats database? +# Where is the osm stats database? $statsdb = 'osmstats'; # How many tiles are a metatile? These get merged / counted as one tile. @@ -11,12 +11,14 @@ $metatilesize = 8; %stylemap = ( 'tiles' => 1, 'osmde' => 2, 'lowzoom' => 3, - 'osmhd' => 4 + 'osmhd' => 4, + 'osmdehd' => 5 ); -%mapmap = ( 'osm' => 1, - 'osmde' => 2, - 'osmhd' => 4 +%mapmap = ( 'osm' => 1, + 'osmde' => 2, + 'osmhd' => 4, + 'osmdehd' => 5 ); # ----------------------------------------------------------------------------- diff --git a/scripts/deletecheaptiles.pl b/scripts/deletecheaptiles.pl index eaab412..6b5d817 100755 --- a/scripts/deletecheaptiles.pl +++ b/scripts/deletecheaptiles.pl @@ -10,7 +10,8 @@ $tiledirprefix = '/mnt/tiles/tiles/'; # Map for map-ID in DB to tile subdir. %tiledirmap = ( 1 => 'osm', 2 => 'osmde', - 4 => 'osmhd' + 4 => 'osmhd', + 5 => 'osmdehd' ); # What is the maximum rendertime to consider a tile useless? $maxuselesstime = 0.5; -- 2.25.1