[Tilecache] Using TileCache in ESRI JS API

shail_GIS shail_79 at hotmail.com
Fri Jan 29 15:17:59 EST 2010


I was able to generate tiles from the tile seeding(WMS Layer). But it seems,
the tiles generated by tilecache has a different structure than ESRI's
structure. 

using this function to get the tiles from tilecache->location.


        getTileUrl: function(level, row, col) {
          return "http://localhost/tilecache/basic/" +
                  "L" + dojo.string.pad(level, 2, '0') + "/" +
                  "R" + dojo.string.pad(row.toString(16), 8, '0') + "/" +
                  "C" + dojo.string.pad(col.toString(16), 8, '0') + "." +
                  "png";
        }

Also, it doesn't seem to have a support for WMS 1.3.0, which has crs. May be
developer wanted to modify it for WMS 1.3.0 services.

Did anyone have to use tilecache->WMS by the sample provided here.

http://resources.esri.com/help/9.3/ArcGISServer/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/map_tiledynamic.html


Thanks and Regards,
shail_GIS
-- 
View this message in context: http://n2.nabble.com/Using-TileCache-in-ESRI-JS-API-tp4482176p4482176.html
Sent from the TileCache mailing list archive at Nabble.com.



More information about the Tilecache mailing list