<div dir="ltr"><div>Dear lists.</div>
<div>I want TMS service with openlayers and raster data.</div>
<div>I have 136 tif files based on local TM coordination and&nbsp;each file is&nbsp;about&nbsp;250 mega.</div>
<div>First, I uesed gdal_retile.py</div>
<div>For instance, </div>
<div>python gdal_retile.py -v -of png -ps 256 256 -tileIndex index.shp -tileIndexField LOCATION -r bilinear -levels 6 -targetDir C:\tmp\raster --optfile C:\raster\tilelist.txt</div>
<div>After finishing this script, I can have genereated png images and move these image files to Tomcat.</div>
<div>Next, how to use these image with openlayers? If I use gdal2tiles.py and just one tif image file, I can see map images easily with openlayers.</div>
<div>I don&#39;t know how to set up openlayers when I use gdal_retile.py.</div>
<div>&nbsp;</div>
<div>Another quesion is that when I run&nbsp; gdal_retile.py script, I set up tileIndex index.shp -tileIndexField LOCATION. What do tileindex and tileindexField mean? when I use usually theses index shape file?</div>
<div>&nbsp;</div>
<div>Last question is that if gdal_retile.py is not a good way to TMS with openlayers, How to make hundreds of tif images to tile map image?</div>
<div>First, python gdal_merge.py -o C:\raster\total.tif -v --optfile C:\raster\tilelist.txt </div>
<div>Next, python gdal2tiles.py -publishurl <a href="http://myserver/dir/">http://myserver/dir/</a> -nogooglemaps -nokml -v C:\raster\total.tif&nbsp; C:\tmp </div>
<div>Is this process correct?</div>
<div>&nbsp;</div>
<div>Please, give me a good advice.</div>
<div>Best regards,</div>
<div>Jeong.</div>
<div>&nbsp;</div>
<div>&nbsp;</div></div>