<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>If disk space is not a problem hat I would do is:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1. Transform source files into internally tiles files using "gdal_translate -of GTiff -co TILED=YES ."</DIV>
<DIV>&nbsp;</DIV>
<DIV>2. Use gdaladdo to add internal pyramids</DIV>
<DIV>&nbsp;</DIV>
<DIV>3. Creat a TILEINDEX using "gdaltindex myindex.shp *.tif"</DIV>
<DIV>&nbsp;</DIV>
<DIV>4. Use "shptree myindex.shp" to create a spatial index .qix file</DIV>
<DIV>&nbsp;</DIV>
<DIV>5. Add a layer in the Mapserver MAP file to myindex:</DIV>
<DIV>&nbsp;</DIV>
<DIV>LAYER<BR>&nbsp; NAME&nbsp;myorthos<BR>&nbsp; GROUP "Toposcans"<BR>&nbsp; TYPE RASTER<BR>&nbsp; DUMP TRUE<BR>&nbsp; STATUS ON<BR>&nbsp; TILEINDEX ../data/myindex<BR>&nbsp; TILEITEM Location</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Robert</DIV>
<DIV><BR><BR>&gt;&gt;&gt; BrainDrain &lt;paulborodaev@gmail.com&gt; 15/10/2009 11:04 a.m. &gt;&gt;&gt;<BR><BR>Hi, friends. <BR>I need an advice to choose some way to optimize my raster dataset.<BR>Source data: 39 geotiff files - satellite images of a city, each one is<BR>aprox. 600 mb uncompressed rgb/~250 mb lzw. To speedup rendering in<BR>different scales I can:<BR>1) - transform source files into internally tiled files with gdal_translate<BR>(lzw or deflate? lzw is faster?)<BR>- create virtual mosaic (.vrt) with gdalbuildvrt <BR>- create internal overviews with gdaladdo on vrt (lzw or deflate for<BR>overviews compression? can this method differ from method we choose earlier)<BR>- connect to result dataset with MS (no minscale/maxscale manipulations<BR>required? can I connect to directly to vrt or I need to create tileindex<BR>with gdaltindex (internal overviews supported in this case by MS?)?)<BR>2) - create external overviews (pyramid levels) of source files<BR>- break this overviews and source files into tiles<BR>- create tileindexes for each level of details (pyramid level) with<BR>gdaltindex<BR>- connect to result tileindexes with MS using different minscale/maxscale<BR>conditions<BR>3) - convert source files into ecw's (what compression level in % is<BR>reasonable? good looking (vs loosless))<BR>- connect to result dataset (can I use tileindex for ecw's?)<BR>Have someone experience in comparing those ways?<BR>Thanks!<BR>-- <BR>View this message in context: <A href="http://n2.nabble.com/Help">http://n2.nabble.com/Help</A>-tips-tricks-on-raster-dataset-optimization-tp3825869p3825869.html<BR>Sent from the Mapserver - User mailing list archive at Nabble.com.<BR>_______________________________________________<BR>mapserver-users mailing list<BR>mapserver-users@lists.osgeo.org<BR><A href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</A>-users<BR><BR></DIV><br><br><table bgcolor=white style="color:black"><tr><td><br>------------------------------------------------------------------<br>
The&nbsp;contents&nbsp;of&nbsp;this&nbsp;email&nbsp;are&nbsp;confidential&nbsp;to&nbsp;AsureQuality.&nbsp;If&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;communication&nbsp;in&nbsp;error&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;immediately&nbsp;and&nbsp;delete&nbsp;the&nbsp;message&nbsp;and&nbsp;any&nbsp;attachments.&nbsp;The&nbsp;opinions&nbsp;expressed&nbsp;in&nbsp;this&nbsp;email&nbsp;are&nbsp;not&nbsp;necessarily&nbsp;those&nbsp;of&nbsp;AsureQuality.&nbsp;This&nbsp;message&nbsp;has&nbsp;been&nbsp;scanned&nbsp;for&nbsp;known&nbsp;viruses&nbsp;before&nbsp;delivery.&nbsp;AsureQuality&nbsp;supports&nbsp;the&nbsp;Unsolicited&nbsp;Electronic&nbsp;Messages&nbsp;Act&nbsp;2007.&nbsp;If&nbsp;you&nbsp;do&nbsp;not&nbsp;wish&nbsp;to&nbsp;receive&nbsp;similar&nbsp;communications&nbsp;in&nbsp;future,&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;of&nbsp;this&nbsp;message.<br>
------------------------------------------------------------------</td></tr></table><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc.  </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P>
</body></HTML>