add new osmdehd map style
authorMichael Meier <michael.meier@fau.de>
Wed, 11 Apr 2018 08:57:27 +0000 (10:57 +0200)
committerMichael Meier <michael.meier@fau.de>
Wed, 11 Apr 2018 08:57:27 +0000 (10:57 +0200)
scripts/collectlogsintodb.pl
scripts/deletecheaptiles.pl

index 8092c7edd66919ace043ca35cee7ebe826493a1a..b16ac7c3ca90b19e0fced0214629de661ce529e3 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
 #!/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.
 $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,
 %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
           );
 
 # -----------------------------------------------------------------------------
           );
 
 # -----------------------------------------------------------------------------
index eaab4120e31bfd760a8210a46838ee4cf8ca8648..6b5d8178b7e13d4a02e72b452668d0499f4fcf8d 100755 (executable)
@@ -10,7 +10,8 @@ $tiledirprefix = '/mnt/tiles/tiles/';
 # Map for map-ID in DB to tile subdir.
 %tiledirmap = ( 1 => 'osm',
                 2 => 'osmde',
 # 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;
               );
 # What is the maximum rendertime to consider a tile useless?
 $maxuselesstime = 0.5;
This page took 0.056624 seconds and 4 git commands to generate.