[gdal-dev] How to use gdal_retile?
Klokan Petr Přidal
klokan at klokan.cz
Mon Sep 1 08:15:54 EDT 2008
use gdal_vrtmerge.py to produce one XML file which will merge several
raster files into one...
On the result you should be able to run gdal2tiles.py.
For more info check the archive of gdal-dev conference, this problem
was discussed two weeks ago:
Alternatively you can do dynamic generation of tiles from a WMS server
by TileCache.org project.
On Mon, Sep 1, 2008 at 10:05 AM, Myeong Hun Jeong <mhjeong74 at gmail.com> wrote:
> Dear lists.
> I want TMS service with openlayers and raster data.
> I have 136 tif files based on local TM coordination and each file
> is about 250 mega.
> First, I uesed gdal_retile.py
> For instance,
> 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
> After finishing this script, I can have genereated png images and move these
> image files to Tomcat.
> 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.
> I don't know how to set up openlayers when I use gdal_retile.py.
> Another quesion is that when I run 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?
> 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?
> First, python gdal_merge.py -o C:\raster\total.tif -v --optfile
> Next, python gdal2tiles.py -publishurl http://myserver/dir/ -nogooglemaps
> -nokml -v C:\raster\total.tif C:\tmp
> Is this process correct?
> Please, give me a good advice.
> Best regards,
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
More information about the gdal-dev