[mapserver-users] Re: Help (tips&tricks) on raster dataset optimization

BrainDrain paulborodaev at gmail.com
Wed Feb 17 03:31:08 EST 2010


I'm usinng next steps:
//translating source tiles
gdal_translate.exe -of GTiff -co COMPRESS=DEFLATE -co TILED=YES
"\\server\Tiles\tile1_1.tif" "c:\Tiles\tile1_1.tif"
....
//building virtual table
gdalbuildvrt -resolution average mosaic.vrt c:\Tiles\*.tif
//adding overviews
gdaladdo -r average --config INTERLEAVE_OVERVIEW PIXEL --config
COMPRESS_OVERVIEW DEFLATE mosaic.vrt 2 4 8 16
//mapserver map file:
LAYER
  STATUS ON
  NAME "quickbird2008"
  TYPE RASTER
  DATA "../data/tiles/mosaic.vrt"
...
Works great!
-- 
View this message in context: http://n2.nabble.com/Help-tips-tricks-on-raster-dataset-optimization-tp3825869p4584924.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list