[mapserver-users] mapcache - multiple resolutions for the same grid
thomas bonfort
thomas.bonfort at gmail.com
Wed Mar 6 05:47:27 PST 2013
Travis,
I'll let you open a github issue for this one.
regards,
thomas
On 4 March 2013 20:17, Travis Kirstine <traviskirstine at gmail.com> wrote:
> Thomas,
>
> Thanks for your reply. The addition of the <grid minzoom="0"
> maxzoom="19">...</grid> to the config does address some of the issues, the
> tileset is advertised as only having 19 zoom levels in the getcapabilties
> for the TMS. However it does not perform the same as having a <grid>
> configured with 19 (20) <resolutions> when accessing the service using a
> WMS. The tileset with <grid minzoom="0" maxzoom="19"> will return a 404
> with a blank tile when making a GetMap request beyond level 19, the grid
> configured with only 20 resolutions (zoom level 0-19) will return a valid
> image. -- I think : )
>
> Regards
>
>
> On 4 March 2013 11:19, thomas bonfort <thomas.bonfort at gmail.com> wrote:
>>
>> <tileset>
>> <grid minzoom="0" maxzoom="19">...</grid>
>> </tileset>
>>
>> should do the trick...
>>
>> On 4 March 2013 17:14, Travis Kirstine <traviskirstine at gmail.com> wrote:
>> > I have set up mapcache with a generic grid for all my caches. The grid
>> > has
>> > resolutions defined for zoom levels 0-21, however depending on the
>> > resolution of my source data the tileset may only be seeded to level 19.
>> > The tileset no longer has the ability to connect to the source. As a
>> > result
>> > blank images are displayed the when a client using the mapcache WMS
>> > zooms in
>> > beyond the max resolution. Is there a way to address this without
>> > creating
>> > additional grids?
>> >
>> >
>> > <!-- Google Grid for >=10cm Levels 0-21 -->
>> > <grid name="gmaps">
>> > <metadata>
>> > <title>GoogleMapsCompatible</title>
>> >
>> >
>> > <WellKnownScaleSet>urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible</WellKnownScaleSet>
>> > </metadata>
>> > <extent>-20037508.3427892480 -20037508.3427892480
>> > 20037508.3427892480
>> > 20037508.3427892480</extent>
>> > <srs>EPSG:3857</srs>
>> > <srsalias>EPSG:900913</srsalias>
>> > <units>m</units>
>> > <size>256 256</size>
>> > <resolutions>156543.0339280410 78271.51696402048 39135.75848201023
>> > 19567.87924100512 9783.939620502561 4891.969810251280 2445.984905125640
>> > 1222.992452562820 611.4962262814100 305.7481131407048 152.8740565703525
>> > 76.43702828517624 38.21851414258813 19.10925707129406 9.554628535647032
>> > 4.777314267823516 2.388657133911758 1.194328566955879 0.5971642834779395
>> > 0.29858214173896975 0.149291070869484875
>> > 0.0746455354347424375</resolutions>
>> > </grid>
>> >
>> > <tileset name="0237DURH_cache">
>> > <!--source>0237DURH</source-->
>> > <cache>disk</cache>
>> > <grid restricted_extent="-8831574.381510 5432633.752429
>> > -8731299.465116
>> > 5547099.028228">gmaps</grid>
>> > <format>mixed</format>
>> > <metatile>4 4</metatile>
>> > <metabuffer>0</metabuffer>
>> > </tileset>
>> >
>> > Thanks!
>> >
>> >
>> >
>> > _______________________________________________
>> > mapserver-users mailing list
>> > mapserver-users at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> >
>
>
More information about the MapServer-users
mailing list