[mapserver-users] Mapcache - Composite cache problem
thomas bonfort
thomas.bonfort at gmail.com
Wed Dec 21 02:05:16 PST 2016
conf seems correct. topo2matrikkel has no <source>, could that be it?
On Wed, Dec 21, 2016 at 10:51 AM tellett <thomas.ellett at statkart.no> wrote:
> Hi all,
>
> I'm trying to use a composite cache in my mapcache instance but am not
> having any luck. I've set up the configuration file as best I can in
> accordance with the documentation, and I have the tileset (topo2matrikkel)
> as an option in the demo client, but only blank tiles are shown. no error
> messages are returned. My config file looks like this:
>
> -------------CACHES
> --------------------------------------------------------
> <cache name="topo2" type="disk">
> <base>/cache/mapcache/topo2</base>
> </cache>
> <cache name="topo2matrikkelsource" type="disk">
> <base>/cache/mapcache/topo2matrikkelsource</base>
> </cache>
> <cache name="topo2matrikkel" type="composite">
> <cache min-zoom="0" max-zoom="12">topo2</cache>
> <cache min-zoom="13">topo2matrikkelsource</cache>
> </cache>
>
> ------------TILESET----------------------------------------------------------
> <tileset name="topo2">
> <source>topo2</source>
> <cache>topo2</cache>
> <metadata>
> <title>Topografisk Norgeskart</title>
> <abstract>Cache for topo2 produkten</abstract>
> <wgs84bbox></wgs84bbox>
> </metadata>
> <grid>googlemaps</grid>
> <grid>utm33n</grid>
> <grid>crs84quad</grid>
> <format>PNG</format>
> <metatile>8 8</metatile>
> <metabuffer>10</metabuffer>
> </tileset>
> <tileset name="topo2matrikkel">
> <cache>topo2matrikkel</cache>
> <metadata>
> <title>Matrikkel klient bakgrunnskart</title>
> <wgs84bbox></wgs84bbox>
> </metadata>
> <grid>utm33n</grid>
> <format>PNG</format>
> </tileset>
>
> ------------------------------------------------------------------------------
>
> I've checked that there are tiles in the topo2 cache, and yes that cache
> does support utm33n and png.
> I can run exactly the same request for both the topo2 and topo2matrikkel
> tilesets (
>
> REQUEST=GetTile&VERSION=1.0.0&LAYER=topo2matrikkel&STYLE=default&TILEMATRIXSET=utm33n&TILEMATRIX=2&TILEROW=1&TILECOL=1&FORMAT=image%2Fpng)
> but only the topo2 request returns data. Perhaps I've missunderstood
> something fundamental here?
>
> Thanks in advance for any help,
>
> Tom
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Mapcache-Composite-cache-problem-tp5300828.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20161221/30dd78b6/attachment.htm>
More information about the MapServer-users
mailing list