Hi Oliver,<div><br></div><div>Many thanks for the response . I am still having a hard time generating the tiles so that I can overlay it over OSM tiles.</div><div><br></div><div>i.e the view is expecting /5/22/12.png as per <a href="http://tile.openstreetmap.org">tile.openstreetmap.org</a> where as where as the 12 is not getting generated through maproxy with the below configuration , the one I am having is</div>
<div><br></div><div>\05\000\000\022\000\000\</div><div>16.png</div><div>17.png</div><div>18.png</div><div>19.png</div><div><br></div><div>The data for which I would like to create the tiles is in EPSG:900913 and the bbox is 8596550.829, 3340667.637, 8598788.35, 3342816.079 hosted in GeoServer WMS.</div>
<div><br></div><div>Here are my configs</div><div><br></div><div>seed.yaml</div><div><br></div><div><div>views:</div><div> myview:</div><div> bbox: [8596550.829, 3340667.637, 8598788.35, 3342816.079]</div><div>
bbox_srs: EPSG:900913</div>
<div> level: [5,6]</div><div> srs: ['EPSG:900913']</div><div><br></div><div>seeds:</div><div> osm_cache:</div><div> views: ['myview']</div><div> remove_before:</div><div> time: '2010-02-20T16:00:00'</div>
</div><div><br></div><div>mapproxy.yaml</div><div><br></div><div><div>caches:</div><div> osm_cache:</div><div> grids: [mygrid]</div><div> sources: [osm_wms]</div></div><div><br></div><div><div>sources:</div><div> osm_wms:</div>
<div> type: wms</div><div> req:</div><div> url: http://ip:port/geoserver/wms?</div><div> version: 1.1.0</div><div> layers: streets</div><div> transparent: true</div></div><div><br></div><div>Can you help me with some ideas ?</div>
<div><br></div><div>-Debs</div><div><br><div class="gmail_quote">On Wed, Feb 9, 2011 at 6:20 PM, Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de">olt@omniscale.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On 09.02.2011, at 13:24, Debasish Sahu wrote:<br>
> I am creating a mobile client and would like to pre-create the tiles in OSM structure so that it can be used offline. Tilecache has a parameter such as GoogleDisk which creates such as format x,y ....<br>
<br>
</div>Ah, OK.<br>
<div class="im"><br>
> Can you provide me hints as to how I can convert the current tile structure to Mapnik/OSM style ?<br>
<br>
</div>You can write a script that moves the tiles into the other layout.<br>
05/001/234/124/002/129/123.png becomes 5/1234123/2129123.png<br>
<br>
Or you can add support for different layouts in MapProxy:<br>
<a href="https://bitbucket.org/olt/mapproxy/src/d75e51722cdf/mapproxy/cache/file.py#cl-69" target="_blank">https://bitbucket.org/olt/mapproxy/src/d75e51722cdf/mapproxy/cache/file.py#cl-69</a><br>
<div><div></div><div class="h5"><br>
Regards,<br>
Oliver<br>
<br>
--<br>
Oliver Tonnhofer | Omniscale GmbH & Co KG | <a href="http://omniscale.de" target="_blank">http://omniscale.de</a><br>
<a href="http://mapproxy.org" target="_blank">http://mapproxy.org</a> | <a href="https://bitbucket.org/olt" target="_blank">https://bitbucket.org/olt</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Warm Regards<br>Debasish Sahu<br>
</div>