<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>Hi Zsolt</DIV>
<DIV> </DIV>
<DIV>Before you use gdaladdo, I would make sure that the internal structure on your TIFF files is tile based. You can use gdalinfo to check. If not, use gdal_translate to turn into a tile structure:</DIV>
<DIV> </DIV>
<DIV>gdal_translate -of GTiff -co TILED=YES -co BLOCKXSIZE=64 -co BLOCKYSIZE=64 input.tif output.tif</DIV>
<DIV> </DIV>
<DIV>After that use gdaladdo:</DIV>
<DIV> </DIV>
<DIV>gdaladdo -r average abc.tif 2 4 8 16</DIV>
<DIV> </DIV>
<DIV>You should repeat this for every TIF image you have.</DIV>
<DIV> </DIV>
<DIV>Thirdly, create your index file using gdaltindex</DIV>
<DIV> </DIV>
<DIV>Finally, use shptree to create a spatial index on your index Shape file:</DIV>
<DIV> </DIV>
<DIV>shptree index.shp</DIV>
<DIV> </DIV>
<DIV>regards,</DIV>
<DIV> </DIV>
<DIV>Robert</DIV>
<DIV><BR><BR>>>> Medve Zsolt <medvezs84@gmail.com> 8/03/2010 8:46 a.m. >>><BR>Hy all!<BR><BR>I would like to ask for a help. I have a dataset. 30 pieces of Tif file, <BR>aproximately 240 MB each.<BR>I make a layer in the map file:<BR><BR> LAYER<BR> NAME "something"<BR> STATUS ON<BR> TILEINDEX "sh.shp"<BR> TILEITEM "Location"<BR> TYPE RASTER<BR><BR> METADATA<BR> "DESCRIPTION" "Something too"<BR> "ows_title" "dem"<BR> END<BR> END<BR><BR>I use this in the pmapper framework.(But its doing the same thing in <BR>ka-map either) But its apeaars very slowly and when i panning its reload <BR>all and its very slowly too.. i would like to tune up the performance <BR>somwhow.<BR>I am looking the gdaladdo program, because mapserver documentation <BR>suggest it. But when i tried the given examples <BR>(http://www.gdal.org/gdaladdo.html) it wont work, or i dont know what to <BR>see, Its just do nothing i think..<BR><BR>Can anybody help me on this? Or any method to make a better performance? <BR>please!<BR><BR>thanks,<BR>Zsolt<BR><BR><BR><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 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.<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>