[MapProxy] convert TMS to WMTS
eric.lemoine at gmail.com
Wed Dec 5 07:18:13 PST 2012
On Wed, Dec 5, 2012 at 4:09 PM, Oliver Tonnhofer <olt at omniscale.de> wrote:
> On 05.12.2012, at 14:07, Eric Lemoine wrote:
>> Minimal (or close to) configuration file:
>> grids: [my_grid]
>> sources: [my_source]
>> type: file
>> type: wms
>> url: http://some_url
>> layers: some_url
>> srs: 'EPSG:21781'
>> bbox: [420000, 30000, 900000, 360000]
>> bbox_srs: 'EPSG:21781'
>> res: [250, 100, 50, 20, 10, 5, 2.5, 2, 1.5, 1, 0.5 ,0.25, 0.125, 0.0625]
> The grids are not compatible, because the configured BBOX and resolutions do not result in complete tiles (the height of the BBOX 330000 / res. 250 px/m -> 1320px -> 5.15 tiles). The export tool handles that, when the grids are not compatible. But it did not recognize that the grids are incompatible in this special case and failed when it tried to access the tile directly.
> Pushed a fix for that: https://github.com/mapproxy/mapproxy/commit/a5c28c16542559663fcd4b3d7e7c13f9ab6149e1
Which works perfectly. Good job Oliver. And thanks a ton!
More information about the MapProxy