SLD Filter Using Default Mapfile Rendering
Yewondwossen Assefa
assefa at DMSOLUTIONS.CA
Fri Dec 3 09:01:31 PST 2004
I haven't played much with the cgi but checking the code and the
docuementaion, I do not think that you can set any metadata value from
the cgi.
Kralidis,Tom [Burlington] wrote:
>>-----Original Message-----
>>From: UMN MapServer Users List
>>[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of John Fletcher
>>Sent: Thursday, 02 December, 2004 17:54
>>To: MAPSERVER-USERS at LISTS.UMN.EDU
>>Subject: Re: [UMN_MAPSERVER-USERS] SLD Filter Using Default
>>Mapfile Rendering
>>
>>
>>
>>>What you could do is, if the data you're fetching is
>>>available as OGC:WFS, is use MapServer as a WFS client and
>>>apply the filter at the mapfile (or dynamically generated)
>>>level and assume the same rendering as per mapfile.
>>
>>That's a really good idea - one I hadn't considered. The
>>only problem is that I need to be able to apply a filter
>>dynamically through the CGI interface (I'm assuming Mapserver
>>doesn't expose any CGI interface to access the filter for WFS layers).
>>
>
>
> The filter in the LAYER/METADATA object is set as:
>
> "wfs_filter" "somefilterstring"
>
> ...which you could set via map_layername_wfs_filter (the developers can
> confirm this -- I'm guessing this is allowed.
>
> ..Tom
>
>
>
>>Has there ever been talk of the implementation of a
>>DefaultSymbolizer in the SLD spec that would do this sort of
>>thing? I suppose the SLD spec could also just recommend a
>>default action for a WMS to take if no Symbolizer is present.
>> Of course, I could just be exposing my ignorance of the
>>whole subject...
>>
>>Thanks for the help.
>>
>>John
>>
>
>
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list