Difference between revisions of "Benchmarking 2011/MapServer notes"

From OSGeo
Jump to navigation Jump to search
Line 8: Line 8:
 
== Rasters ==
 
== Rasters ==
  
*overviews added with
+
* overviews added with
  
<code>find . -name "*.bil" | xargs -I{} gdaladdo -r average {} 2 4 8 16 32 64</code>  
+
  <code>find . -name "*.bil" | xargs -I{} gdaladdo -r average {} 2 4 8 16 32 64</code>  
  
*tileindex built with
+
* tileindex built with
  
<code>gdaltindex dem_bil16int.shp /benchmarking/wms/2011/data/raster/DEM/bil_16int/data/*.bil</code>  
+
  <code>gdaltindex dem_bil16int.shp /benchmarking/wms/2011/data/raster/DEM/bil_16int/data/*.bil</code>  
  
 
<br>  
 
<br>  

Revision as of 05:37, 24 August 2011

Vectors


   svn http://mapserver-utils.googlecode.com/svn/branches/imposm-branch -r 95 

Rasters

  • overviews added with
 find . -name "*.bil" | xargs -I{} gdaladdo -r average {} 2 4 8 16 32 64 
  • tileindex built with
 gdaltindex dem_bil16int.shp /benchmarking/wms/2011/data/raster/DEM/bil_16int/data/*.bil 


  • DEM Hillshade Color Styling
Hillshade Elevation Colors
Elevation R G B
1003 46 154 88
1800 251 255 128
2800 224 108 31
3500 200 55 55
4397 215 244 244


LAYER

  NAME "hillshade"
 TYPE raster
 TILEINDEX "/benchmarking/wms/2011/data/raster/DEM/bil_16int/dem_bil16int.shp"
 PROJECTION
 "+init=epsg:4326" END
 PROCESSING "SCALE=1003,1800"
 CLASS
   STYLE
     COLORRANGE 46 154 88 251 255 128 
     DATARANGE 1003 1800
   END
 END

END

LAYER

  NAME "hillshade"
 TYPE raster
 TILEINDEX "/benchmarking/wms/2011/data/raster/DEM/bil_16int/dem_bil16int.shp"
 PROJECTION
 "+init=epsg:4326" END
 PROCESSING "SCALE=1800,2800"
 CLASS
   STYLE
     COLORRANGE 251 255 128 224 108 31<
     DATARANGE 1800 2800
   END
 END

END

LAYER

  NAME "hillshade"
 TYPE raster
 TILEINDEX "/benchmarking/wms/2011/data/raster/DEM/bil_16int/dem_bil16int.shp"
 PROJECTION
 "+init=epsg:4326" END
 PROCESSING "SCALE=2800,3500"
 CLASS
   STYLE
     COLORRANGE 224 108 31 200 55 55
     DATARANGE 2800 3500
   END
  END

END

LAYER

  NAME "hillshade"
 TYPE raster
 TILEINDEX "/benchmarking/wms/2011/data/raster/DEM/bil_16int/dem_bil16int.shp"
 PROJECTION  "+init=epsg:4326" END
 PROCESSING "SCALE=3500,4397"
 CLASS
   STYLE
     COLORRANGE 200 55 55 215 244 244
     DATARANGE 3500 4397
   END
 END

END