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

Robert Sanson SansonR at asurequality.com
Wed Oct 14 18:25:44 EDT 2009


If disk space is not a problem hat I would do is:
 
1. Transform source files into internally tiles files using "gdal_translate -of GTiff -co TILED=YES ."
 
2. Use gdaladdo to add internal pyramids
 
3. Creat a TILEINDEX using "gdaltindex myindex.shp *.tif"
 
4. Use "shptree myindex.shp" to create a spatial index .qix file
 
5. Add a layer in the Mapserver MAP file to myindex:
 
LAYER
  NAME myorthos
  GROUP "Toposcans"
  TYPE RASTER
  DUMP TRUE
  STATUS ON
  TILEINDEX ../data/myindex
  TILEITEM Location
 
regards,
 
Robert


>>> BrainDrain <paulborodaev at gmail.com> 15/10/2009 11:04 a.m. >>>

Hi, friends. 
I need an advice to choose some way to optimize my raster dataset.
Source data: 39 geotiff files - satellite images of a city, each one is
aprox. 600 mb uncompressed rgb/~250 mb lzw. To speedup rendering in
different scales I can:
1) - transform source files into internally tiled files with gdal_translate
(lzw or deflate? lzw is faster?)
- create virtual mosaic (.vrt) with gdalbuildvrt 
- create internal overviews with gdaladdo on vrt (lzw or deflate for
overviews compression? can this method differ from method we choose earlier)
- connect to result dataset with MS (no minscale/maxscale manipulations
required? can I connect to directly to vrt or I need to create tileindex
with gdaltindex (internal overviews supported in this case by MS?)?)
2) - create external overviews (pyramid levels) of source files
- break this overviews and source files into tiles
- create tileindexes for each level of details (pyramid level) with
gdaltindex
- connect to result tileindexes with MS using different minscale/maxscale
conditions
3) - convert source files into ecw's (what compression level in % is
reasonable? good looking (vs loosless))
- connect to result dataset (can I use tileindex for ecw's?)
Have someone experience in comparing those ways?
Thanks!
-- 
View this message in context: http://n2.nabble.com/Help-tips-tricks-on-raster-dataset-optimization-tp3825869p3825869.html 
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org 
http://lists.osgeo.org/mailman/listinfo/mapserver-users 

------------------------------------------------------------------
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.
------------------------------------------------------------------


This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091015/59a283b2/attachment-0001.html


More information about the mapserver-users mailing list