using tileCacha for TMS data in openlayers

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

using tileCacha for TMS data in openlayers

pankaj123
This post was updated on .
I have a TMS cache data which I want to load in openlayers. I have tms.xml file which have info about the TMS cache and then data.

I am trying to use tilecahe but I am not able to understand the how should I proceed. I saw example in openlayers where they use tilecache (http://dev.openlayers.org/docs/files/OpenLayers/Layer/TMS-js.html), but I dont have any .py file. How can I use tilecache in openlayers.

I am not understanding how to use tilecache with openlayers.

PS. I am able to load this data in OSGEarth. So data is not corrupt.


///////******///////////
<?xml version="1.0"?>
<tilemap tilemapservice="" version="">
    <title>
       
    </title>
    <abstract>
       
    </abstract>
    <srs>
        epsg:4326
    </srs>
    <boundingbox maxx="180.0000000000000000000000000" maxy="90.0000000000000000000000000" minx="-180.0000000000000000000000000" miny="-90.0000000000000000000000000">
    </boundingbox>
    <origin x="-180.0000000000000000000000000" y="-90.0000000000000000000000000">
    </origin>
    <tileformat extension="tiff" height="256" mime-type="" width="256">
    </tileformat>
    <tilesets profile="global-geodetic">
        <tileset href="" order="0" units-per-pixel="0.7031250000000000000000000">
        </tileset>
        <tileset href="" order="1" units-per-pixel="0.3515625000000000000000000">
        </tileset>
        <tileset href="" order="2" units-per-pixel="0.1757812500000000000000000">
        </tileset>
        <tileset href="" order="3" units-per-pixel="0.0878906250000000000000000">
        </tileset>
        <tileset href="" order="4" units-per-pixel="0.0439453125000000000000000">
        </tileset>
        <tileset href="" order="5" units-per-pixel="0.0219726562500000000000000">
        </tileset>
        <tileset href="" order="6" units-per-pixel="0.0109863281250000000000000">
        </tileset>
        <tileset href="" order="7" units-per-pixel="0.0054931640625000000000000">
        </tileset>
        <tileset href="" order="8" units-per-pixel="0.0027465820312500000000000">
        </tileset>
        <tileset href="" order="9" units-per-pixel="0.0013732910156250000000000">
        </tileset>
        <tileset href="" order="10" units-per-pixel="0.0006866455078125000000000">
        </tileset>
        <tileset href="" order="11" units-per-pixel="0.0003433227539062500000000">
        </tileset>
        <tileset href="" order="12" units-per-pixel="0.0001716613769531250000000">
        </tileset>
        <tileset href="" order="13" units-per-pixel="0.0000858306884765625000000">
        </tileset>
        <tileset href="" order="14" units-per-pixel="0.0000429153442382812500000">
        </tileset>
        <tileset href="" order="15" units-per-pixel="0.0000214576721191406250000">
        </tileset>
        <tileset href="" order="16" units-per-pixel="0.0000107288360595703130000">
        </tileset>
        <tileset href="" order="17" units-per-pixel="0.0000053644180297851563000">
        </tileset>
        <tileset href="" order="18" units-per-pixel="0.0000026822090148925781000">
        </tileset>
        <tileset href="" order="19" units-per-pixel="0.0000013411045074462891000">
        </tileset>
    </tilesets>
</tilemap>


////////////************///////////////

Any help. Please I really need this ASAP...

Regards
Pankaj Bansal