Difference between revisions of "Benchmarking 2011/MapServer notes"

From OSGeo
Jump to navigation Jump to search
Line 1: Line 1:
*Styling from http://mapserver-utils.googlecode.com/svn/branches/imposm-branch revision 95
+
<div><br></div>
 +
*Vector&nbsp;Styling from http://mapserver-utils.googlecode.com/svn/branches/imposm-branch revision 95
  
 
svn http://mapserver-utils.googlecode.com/svn/branches/imposm-branch -r 95  
 
svn http://mapserver-utils.googlecode.com/svn/branches/imposm-branch -r 95  
  
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> DEM Hillshade Color Styling  
+
<br>  
 +
 
 +
*DEM Hillshade Color Styling
  
 
{| width="200" border="1" cellpadding="1" cellspacing="1"
 
{| width="200" border="1" cellpadding="1" cellspacing="1"
|+ Hillshade Elevation Colors
+
|+ Hillshade Elevation Colors  
 
|-
 
|-
! scope="col" | Elevation
+
! scope="col" | Elevation  
! scope="col" | R
+
! scope="col" | R  
! scope="col" | G
+
! scope="col" | G  
 
! scope="col" | B
 
! scope="col" | B
 
|-
 
|-
| 1003
+
| 1003  
| 46
+
| 46  
| 154
+
| 154  
 
| 88
 
| 88
 
|-
 
|-
| 1800
+
| 1800  
| 251
+
| 251  
| 255
+
| 255  
 
| 128
 
| 128
 
|-
 
|-
| 2800
+
| 2800  
| 224
+
| 224  
| 108
+
| 108  
 
| 31
 
| 31
 
|-
 
|-
| 3500
+
| 3500  
| 200
+
| 200  
| 55
+
| 55  
 
| 55
 
| 55
 
|-
 
|-
| 4397
+
| 4397  
| 215
+
| 215  
| 244
+
| 244  
 
| 244
 
| 244
 
|}
 
|}
  
<br>
+
<br>
 +
 
 +
<code></code>
 +
 
 +
<code>LAYER</code>
 +
 
 +
<code>
 +
  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&lt;
 +
      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
 +
</code>
 +
 
 +
<code></code>

Revision as of 03:18, 22 August 2011


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

  • 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