Difference between revisions of "Benchmarking 2011/MapServer notes"
Jump to navigation
Jump to search
Msmitherdc (talk | contribs) |
|||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | == Vectors == | |
| − | |||
| − | + | <div><br></div> | |
| + | * Vector 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 | |
| − | + | == Rasters == | |
| − | <code>gdaltindex dem_bil16int.shp /benchmarking/wms/2011/data/raster/DEM/bil_16int/data/*.bil</code> | + | * raw raster files are located on the linux machine (.78) at: |
| + | |||
| + | /benchmarking/wms/2011/data/raster/DEM/bil_16int/data | ||
| + | |||
| + | * overviews added with | ||
| + | |||
| + | <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> | ||
| + | |||
| + | *DEM Hillshade Color Styling | ||
| + | |||
| + | {| width="200" border="1" cellpadding="1" cellspacing="1" | ||
| + | |+ Hillshade Elevation Colors | ||
| + | |- | ||
| + | ! scope="col" | Elevation | ||
| + | ! scope="col" | R | ||
| + | ! scope="col" | G | ||
| + | ! scope="col" | B | ||
| + | |- | ||
| + | | 1003 | ||
| + | | 46 | ||
| + | | 154 | ||
| + | | 88 | ||
| + | |- | ||
| + | | 1800 | ||
| + | | 251 | ||
| + | | 255 | ||
| + | | 128 | ||
| + | |- | ||
| + | | 2800 | ||
| + | | 224 | ||
| + | | 108 | ||
| + | | 31 | ||
| + | |- | ||
| + | | 3500 | ||
| + | | 200 | ||
| + | | 55 | ||
| + | | 55 | ||
| + | |- | ||
| + | | 4397 | ||
| + | | 215 | ||
| + | | 244 | ||
| + | | 244 | ||
| + | |} | ||
| + | |||
| + | <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< | ||
| + | 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> | ||
| + | |||
| + | [[Category:FOSS4G2011]] | ||
Latest revision as of 03:15, 24 February 2015
Vectors
- Vector 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
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
| 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