[MapProxy] Serving MBTiles via MapProxy

Jorge Arévalo jorge.arevalo at deimos-space.com
Mon Dec 12 10:16:47 EST 2011


2011/12/9 Oliver Tonnhofer <olt at omniscale.de>:
>
> On 09.12.2011, at 13:58, Jorge Arévalo wrote:
>
>> Ok, if helps, this is my MBTiles file (~ 60MB):
>> http://dl.dropbox.com/u/6599273/data/tiles_F.mbtiles
>>
>> [...]
>> grids:
>> my_grid:
>>   tile_size: [256, 256] # size of the PNG files
>>   srs: 'EPSG:900913' # gdal2tiles uses that output srs for generated tiles
>>   res: [9783.93961875000059, 4891.96980937500030,
>> 2445.98490468750015, 1222.99245234375007, 611.49622617187504,
>> 305.74811308593752, 152.87405654296876, 76.43702827148438,
>> 38.21851413574219, 19.10925706787109, 9.55462853393555] # the
>> resolutions at zoom levels 4-14, the generated zoom levels.
>>    res_factor: 2
>>    bbox_srs: 'EPSG:4326'
>>    bbox: [-6.54,38.35,-3,40.65]
>
>
> You need to use the grid from your MBTiles file and it seams that your grid uses the "classical" web mercator grid. So you should just use GLOBAL_MERCATOR.
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
> http://mapproxy.org | https://bitbucket.org/olt | @oltonn
>
>
>
>

Yes, I've tried that. But still getting blank images. I'm generating
the tiles again, with zoom levels starting from 0, instead of 4, but I
don't think this is going to make any difference... I'm totally stuck
:-(

Thanks a lot,

-- 
Jorge Arévalo
Internet & Mobility Division, DEIMOS
jorge.arevalo at deimos-space.com
http://mobility.grupodeimos.com/
http://www.libregis.org
http://geohash.org/ezjqgrgzz0g


More information about the MapProxy mailing list