SLD filter with raster layers

Berend Veldkamp berend.veldkamp at ARIS.NL
Wed Nov 24 02:58:54 EST 2004


Yes BBOX is fine for now, but other spatial filters would certainly be a
nice addition, for instance to be able to draw part of a raster layer
that lies within a polygon. Don't know if this is part of the WMS/SLD
specifications, though.

Berend



Yewondwossen Assefa wrote:
> Sorry for the late answer.  I just check the problem and entered a Bug
> 1087 on it. There was effectivly a problem when a Filter was present in
> the sld.  I corrected this in the Mapserver CVS so the the filter is
> ignored in this case.
>
> The way SLD Filter is implemented internally is that the Filter is
> converted in a query (or a series of Queries) and the resulting shapes
> of the query are returned using the drawquery functionnality of Mapserver.
>  This does not direclty apply to raster layers. The way I see it, the
> only Filter that make sense for Raster layers is a BBOX Filter which can
> be used to modify the extents of the drawing area. This can also be
> acheived through the BBOX parameter of the WMS request.  Do you think
> that the WMS BBOX parameter is enough or do you see other use for
> spaitial filters for rasters layers ?
>
>
> Later,
>
> Berend Veldkamp wrote:
>
>> Hi,
>>
>> I been experimenting with sld filters, and so far, I've been able to use
>> them with feature layers, but not with raster layers (GeoTIFF).



More information about the mapserver-users mailing list