Difference between revisions of "Benchmarking 2011/MapServer notes"

From OSGeo
Jump to navigation Jump to search
 
(4 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
== Rasters ==
 
== Rasters ==
  
*overviews added with
+
* raw raster files are located on the linux machine (.78) at:
  
<code>find . -name "*.bil" | xargs -I{} gdaladdo -r average {} 2 4 8 16 32 64</code>
+
  /benchmarking/wms/2011/data/raster/DEM/bil_16int/data
  
*tileindex built with
+
* overviews added with
  
<code>gdaltindex dem_bil16int.shp /benchmarking/wms/2011/data/raster/DEM/bil_16int/data/*.bil</code>  
+
  <code>find . -name "*.bil" | xargs -I{} gdaladdo -r average {} 2 4 8 16 32 64</code>
 +
 
 +
* tileindex built with
 +
 
 +
  <code>gdaltindex dem_bil16int.shp /benchmarking/wms/2011/data/raster/DEM/bil_16int/data/*.bil</code>  
  
 
<br>  
 
<br>  
Line 128: Line 132:
  
 
<code></code>
 
<code></code>
 +
 +
[[Category:FOSS4G2011]]

Latest revision as of 03:15, 24 February 2015

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