From: Michael Meier Date: Wed, 11 Apr 2018 08:57:27 +0000 (+0200) Subject: add new osmdehd map style X-Git-Url: http://git.rrze.uni-erlangen.de/gitweb/?a=commitdiff_plain;h=9705b3ad9c535beffc03683559f269dbfa267b48;p=osmrrze.git add new osmdehd map style --- 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;