[MapProxy] MBTiles shift, EPSG:3857 proj

Fernando Ribeiro fernandinand at gmail.com
Tue Sep 18 02:18:30 PDT 2012


Hi list,

I have been struggling the last hours, trying to find out the origin of a
small shift (around 10m NE) I detected in tiles origin on a MBTiles files
generated with Tilemill. In the attached picture I overlay the shapefiles
(in wgs84) used on the mbtiles file generation.

My MapProxy grid config looks like this:

....
grids:
  GRID_SA_256_Google:
    srs: 'EPSG:3857'
    bbox:
[-20037508.342789236,-20037508.342789236,20037508.342789236,20037508.342789236]
    tile_size: [256, 256]
    res:
[156543.033928,78271.516964,39135.758482,19567.879241,9783.939621,4891.969810,2445.984905,1222.992453,611.496226,305.748113,152.874057,76.437028,38.218514,19.109257,9.554629,4.777314,2.388657,1.194329,0.597164,0.298582,0.149291]


Is this grid valid? I googled around for the default values for Google/OSM
grid specifications.

Thanks,
-- 
Fernando Ribeiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20120918/6e45ead2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 72672 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20120918/6e45ead2/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pngw
Type: application/octet-stream
Size: 98 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20120918/6e45ead2/attachment-0001.obj>


More information about the MapProxy mailing list