[mapserver-users] RE: Raster rendering performance and zoom levels

Edi.Karadumi edikaradumi at gmail.com
Wed Dec 14 00:53:08 PST 2011


Try this, it works in most cases

1- Fisrt enable internal tiling with the command 

gdal_translate -co "TILED=YES" original.tif tiled.tif 

2-than add overviews 

gdaladdo -r average 2 4 8 16 32 64 128 

3-create a tileindex 

gdaltindex myindex.shp *.tif 

4-than create a spatial index 

shptree myindex.shp 

and finally add the layer to the map 

LAYER 
  NAME myorthos 
  TYPE RASTER 
  DUMP TRUE 
  STATUS ON 
  TILEINDEX ../data/myindex 
  TILEITEM Location 

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Raster-rendering-performance-and-zoom-levels-tp7091875p7092803.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list