[mapserver-users] UNION raster layers returns blank image
Tamas Szekeres
szekerest at gmail.com
Mon Oct 3 12:47:23 PDT 2011
The union layer is a vector layer, which provides the union of the set of
features from multiple layers.
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).
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.
Best regards,
Tamas
2011/10/3 Travis Kirstine <traviskirstine at gmail.com>
> Tamas,
>
> Thanks for your response, do you know if this is on the roadmap?
>
> Regards
>
> On 3 October 2011 14:01, Tamas Szekeres <szekerest at gmail.com> wrote:
> > Hi,
> > The union layer approach is working only for the vector based layers at
> the
> > moment.
> > Best regards,
> > Tamas
> >
> >
> > 2011/10/3 Travis Kirstine <traviskirstine at gmail.com>
> >>
> >> Hi All,
> >>
> >> I have been having some issues using the UNION option in the mapfile.
> >> I'm trying to set up a WMS server with several "source" raster layers
> >> and provide them all as a single union layer to the client. I don't
> >> want the source layers visible in the GetCapabilities, only the union
> >> layer so I have been using a combination of the own_enable_request and
> >> CONNECTIONTYPE UNION. It seems to work in the GetCapabilites, only
> >> the union layer appears however only blank images are returned from
> >> the GetMap requests. The layers portion of my mapfile is below, I
> >> have set the "ows_enable_request" "*" in the WEB METADATA. Any help
> >> would be much appreciated
> >>
> >>
> >> # York Region 2009 - Union
> >> LAYER
> >> NAME "0937york_union"
> >> TYPE RASTER
> >> CONNECTIONTYPE UNION
> >> CONNECTION
> >>
> >>
> "0937york_1km_mstif,0937york_5km_mstif,0937york_10km_mstif,0937york_overall_mstif"
> >> METADATA
> >> "wms_title" "York Region UNION"
> >> "wms_extent" "594999 4842001 649999 4918001"
> >> END
> >> CLASS
> >> END
> >> PROJECTION
> >> "init=epsg:26917"
> >> END
> >> END
> >> # York Region 2009 - 15cm
> >> LAYER
> >> NAME "0937york_1km_mstif"
> >> TYPE RASTER
> >> TILEINDEX /var/local/data/0937YORK_1km_mstif/york_1km_mstindex
> >> TILEITEM location
> >> MAXSCALEDENOM 7500
> >> OFFSITE 0 0 0
> >> METADATA
> >> "ows_enable_request" "* !GetCapabilities"
> >> END
> >> PROJECTION
> >> "init=epsg:26917"
> >> END
> >> END
> >> LAYER
> >> NAME "0937york_5km_mstif"
> >> TYPE RASTER
> >> TILEINDEX /var/local/data/0937YORK_5km_mstif/york_5km_mstindex
> >> TILEITEM location
> >> MINSCALEDENOM 7500
> >> MAXSCALEDENOM 40000
> >> OFFSITE 0 0 0
> >> METADATA
> >> "ows_enable_request" "* !GetCapabilities"
> >> END
> >> PROJECTION
> >> "init=epsg:26917"
> >> END
> >> END
> >> LAYER
> >> NAME "0937york_10km_mstif"
> >> TYPE RASTER
> >> TILEINDEX /var/local/data/0937YORK_10km_mstif/york_10km_mstindex
> >> TILEITEM location
> >> MINSCALEDENOM 40000
> >> MAXSCALEDENOM 400000
> >> OFFSITE 0 0 0
> >> METADATA
> >> "ows_enable_request" "* !GetCapabilities"
> >> END
> >> PROJECTION
> >> "init=epsg:26917"
> >> END
> >> END
> >> LAYER
> >> NAME "0937york_overall_mstif"
> >> TYPE RASTER
> >> DATA
> >> /var/local/data/0937YORK_overall_mstif/0937YORK_100m_overall.tif
> >> MINSCALEDENOM 400000
> >> OFFSITE 0 0 0
> >> METADATA
> >> "ows_enable_request" "* !GetCapabilities"
> >> END
> >> PROJECTION
> >> "init=epsg:26917"
> >> END
> >> END
> >>
> >>
> >> Regards
> >> _______________________________________________
> >> 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/20111003/959470f3/attachment.htm>
More information about the MapServer-users
mailing list