[MapProxy] mapproxy-seed - Create OSM like tile structure

Debasish Sahu debasish.sahu at gmail.com
Thu Feb 10 03:46:37 EST 2011


Many thanks again.

Here's how I have declared the grid

grids:
  mygrid:
    srs: 'EPSG:900913'
    bbox: [-20037508.34, -20037508.34, 20037508.34, 20037508.34]
    bbox_srs: EPSG:900913

Should I keep the Google Extents or the extents of my data (8596550.829,
3340667.637, 8598788.35, 3342816.079) in the grid definition ?

Pls. advise

On Thu, Feb 10, 2011 at 2:03 PM, Oliver Tonnhofer <olt at omniscale.de> wrote:

> Hi,
>
> On 10.02.2011, at 09:00, Debasish Sahu wrote:
> > Many thanks for the response . I am still having a hard time generating
> the tiles so that I can overlay it over OSM tiles.
> >
> > i.e the view is expecting /5/22/12.png as per tile.openstreetmap.orgwhere as where as the 12 is not getting generated through maproxy with the
> below configuration , the one I am having is
> >
> > \05\000\000\022\000\000\
> > 16.png
> > 17.png
> > 18.png
> > 19.png
>
> Ah, I already forgot that. OSM does not use the TMS order (from top to
> bottom) but the one used by Google Maps (bottom to top). Compare:
> http://osm.omniscale.net/proxy/tiles/1.0.0/osm_EPSG900913/1/0/0.png
> http://tile.openstreetmap.org/1/0/0.png
>
> You need to flip the y-axis: subtract the y-value from 2^z - 1, e.g 2^5 - 1
> - 12 = 19
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
> http://mapproxy.org | https://bitbucket.org/olt
>
>
>
>


-- 
Thanks and Warm Regards
Debasish Sahu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20110210/274f9058/attachment.html


More information about the MapProxy mailing list