[mapserver-users] How to assemble mapcache tilesets into a new layer?

Stephen Woodbridge stephenwoodbridge37 at gmail.com
Thu Feb 13 10:46:51 PST 2020


On 2/13/2020 12:36 PM, jbo-ads wrote:
> Hi Steve,
>
> Yes, this part of the doc should be improved... A more helpful one is 
> <https://mapserver.org/mapcache/dimensions.html#tile-assembly-policies> 
> but it is relative only to second level dimensions.
>
> Assembling several layers can be performed with a WMS request using 
> "...&LAYERS=A,B,C&...". Then to create a new layer, you just need to 
> define a WMS source using that WMS pattern.
Jérome,

Thanks that seems simple enough. A couple of questions:

<source name="D" type="wms">
   <getmap>
     <params>
       <FORMAT>image/png></FORMAT>
       <LAYERS>A,B,C</LAYERS>
     </params>
   </getmap>
   <http>
     ?????
   </http>
</source>

<tileset name="D">
   <source>D</source>
   ...
</tileset>

Does this look right?
Should I have an <http> section and what should be in that if anything 
for assembly of existing tilesets?

Thanks,
   -Steve
>
> Jérome.
>
>
>
> Le 13/02/2020 à 17:24, Stephen Woodbridge a écrit :
>> Hi all,
>>
>> I have three existing layers in my mapcache.xml and I need to create 
>> a new layer that assembles this three layers into a single layer. 
>> There is a section in the mapcache documentation 
>> https://mapserver.org/mapcache/tile_assembling.html but it is not 
>> very helpful ;)
>>
>> Can anyone help with with this problem?
>>
>> Say I have existing tilesets "A", "B", "C" how would I create a 
>> tileset "D" where it stacks A, B, and C like:
>>
>> C
>> B
>> A
>>
>> Thanks,
>>   -Steve W
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list