Difference between revisions of "Benchmarking 2011/MapServer notes"

From OSGeo
Jump to navigation Jump to search
Line 8: Line 8:
 
== Rasters ==
 
== Rasters ==
  
* raw raster files are located on the linux machine at:
+
* raw raster files are located on the linux machine (.78) at:
  
 
   /benchmarking/wms/2011/data/raster/DEM/bil_16int/data
 
   /benchmarking/wms/2011/data/raster/DEM/bil_16int/data

Revision as of 06:53, 24 August 2011

Vectors


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

Rasters

  • raw raster files are located on the linux machine (.78) at:
 /benchmarking/wms/2011/data/raster/DEM/bil_16int/data
  • 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