<div>The union layer is a vector layer, which provides the union of the set of features from multiple layers.</div><div><br></div><div>The functionality you mention would probably require to add a new layer type which would have effect on the drawing side of the rendering chain (ie. in mapdraw.c).</div>
<div>Not sure if this addition would be on the roadmap, unless someone would take over to contribute or support to implement this. A separate RFC would also be required.</div><div><br></div><div>Best regards,</div><div><br>
</div><div>Tamas</div><div><br></div><div><br></div><br><br><div class="gmail_quote">2011/10/3 Travis Kirstine <span dir="ltr"><<a href="mailto:traviskirstine@gmail.com">traviskirstine@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Tamas,<br>
<br>
Thanks for your response, do you know if this is on the roadmap?<br>
<br>
Regards<br>
<div><div></div><div class="h5"><br>
On 3 October 2011 14:01, Tamas Szekeres <<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a>> wrote:<br>
> Hi,<br>
> The union layer approach is working only for the vector based layers at the<br>
> moment.<br>
> Best regards,<br>
> Tamas<br>
><br>
><br>
> 2011/10/3 Travis Kirstine <<a href="mailto:traviskirstine@gmail.com">traviskirstine@gmail.com</a>><br>
>><br>
>> Hi All,<br>
>><br>
>> I have been having some issues using the UNION option in the mapfile.<br>
>> I'm trying to set up a WMS server with several "source" raster layers<br>
>> and provide them all as a single union layer to the client. I don't<br>
>> want the source layers visible in the GetCapabilities, only the union<br>
>> layer so I have been using a combination of the own_enable_request and<br>
>> CONNECTIONTYPE UNION. It seems to work in the GetCapabilites, only<br>
>> the union layer appears however only blank images are returned from<br>
>> the GetMap requests. The layers portion of my mapfile is below, I<br>
>> have set the "ows_enable_request" "*" in the WEB METADATA. Any help<br>
>> would be much appreciated<br>
>><br>
>><br>
>> # York Region 2009 - Union<br>
>> LAYER<br>
>> NAME "0937york_union"<br>
>> TYPE RASTER<br>
>> CONNECTIONTYPE UNION<br>
>> CONNECTION<br>
>><br>
>> "0937york_1km_mstif,0937york_5km_mstif,0937york_10km_mstif,0937york_overall_mstif"<br>
>> METADATA<br>
>> "wms_title" "York Region UNION"<br>
>> "wms_extent" "594999 4842001 649999 4918001"<br>
>> END<br>
>> CLASS<br>
>> END<br>
>> PROJECTION<br>
>> "init=epsg:26917"<br>
>> END<br>
>> END<br>
>> # York Region 2009 - 15cm<br>
>> LAYER<br>
>> NAME "0937york_1km_mstif"<br>
>> TYPE RASTER<br>
>> TILEINDEX /var/local/data/0937YORK_1km_mstif/york_1km_mstindex<br>
>> TILEITEM location<br>
>> MAXSCALEDENOM 7500<br>
>> OFFSITE 0 0 0<br>
>> METADATA<br>
>> "ows_enable_request" "* !GetCapabilities"<br>
>> END<br>
>> PROJECTION<br>
>> "init=epsg:26917"<br>
>> END<br>
>> END<br>
>> LAYER<br>
>> NAME "0937york_5km_mstif"<br>
>> TYPE RASTER<br>
>> TILEINDEX /var/local/data/0937YORK_5km_mstif/york_5km_mstindex<br>
>> TILEITEM location<br>
>> MINSCALEDENOM 7500<br>
>> MAXSCALEDENOM 40000<br>
>> OFFSITE 0 0 0<br>
>> METADATA<br>
>> "ows_enable_request" "* !GetCapabilities"<br>
>> END<br>
>> PROJECTION<br>
>> "init=epsg:26917"<br>
>> END<br>
>> END<br>
>> LAYER<br>
>> NAME "0937york_10km_mstif"<br>
>> TYPE RASTER<br>
>> TILEINDEX /var/local/data/0937YORK_10km_mstif/york_10km_mstindex<br>
>> TILEITEM location<br>
>> MINSCALEDENOM 40000<br>
>> MAXSCALEDENOM 400000<br>
>> OFFSITE 0 0 0<br>
>> METADATA<br>
>> "ows_enable_request" "* !GetCapabilities"<br>
>> END<br>
>> PROJECTION<br>
>> "init=epsg:26917"<br>
>> END<br>
>> END<br>
>> LAYER<br>
>> NAME "0937york_overall_mstif"<br>
>> TYPE RASTER<br>
>> DATA<br>
>> /var/local/data/0937YORK_overall_mstif/0937YORK_100m_overall.tif<br>
>> MINSCALEDENOM 400000<br>
>> OFFSITE 0 0 0<br>
>> METADATA<br>
>> "ows_enable_request" "* !GetCapabilities"<br>
>> END<br>
>> PROJECTION<br>
>> "init=epsg:26917"<br>
>> END<br>
>> END<br>
>><br>
>><br>
>> Regards<br>
>> _______________________________________________<br>
>> mapserver-users mailing list<br>
>> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
><br>
</div></div></blockquote></div><br>