Very simple question. I've executed gdal2tiles against a GeoTIFF coverage, composed by several TIFF files. I want to serve the resulting tiles using TileCache.

In the TileCache documentation, I see how to create new layers, using as sources JPG images, WMS layers, MapServer layers, etc (examples here). But the point is I want to directly provide the tiles generated by gdal2tiles as source. So, I want to access my tiles with something like:

http://example.com/yourdir/tilecache.cgi?LAYERS=basic&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-180,-90,0,90 &WIDTH=256&HEIGHT=256



Using any TMS client. Now I'm using the Google Maps viewer generated by gdal2tiles, based on GTileLayer

Any tips on TileLayer configuration to achieve this goal are welcome. Or any suggestion to serve gdal2tiles output (tiles following the TMS spec) in a different way. I know, gdal2tiles was built following the TMS specs, before the WMTS standard. So, there're probably better ways to serve the gdal2tiles output today.

Many thanks in advance!

1 Answer 1


" Or any suggestion to serve gdal2tiles output (tiles following the TMS spec) in a different way."

For what its worth, I put all of my tiles in Google's AppEngine datastore as "blobs" and serve them from there...

Example: http://ericoneal.home.insightbb.com/LouisvilleMaps/

  • But, are those tiles generated by gdal2tiles? how do you reference them? do they follow a specific name convention in the datastore? Oct 27, 2011 at 10:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.