[Mapserver-users] mapscript using layer filter

Sean Gillies sgillies at frii.com
Wed Feb 26 07:31:37 PST 2003


Michael,

There is no getFilter method.

The 3.7 mapscript will (if there's popular demand) support expression
objects, and then you will be able to do this:

    filter_type = theLayer.filter.type
    filter_string = theLayer.filter.string

I suggest that you login into the MapServer bug/issue tracking system
and add this as a feature enhancement to MapScript.  I'd be happy to
pick it up as it would be very useful to me as well.

cheers,
Sean

On Wednesday, February 26, 2003, at 08:00  AM, Michael Schulz wrote:

> Dear List,
>
> i want to access the filter string of a layer via mapscript (python). 
> Is
> this possible? layerObj.setFilter exists but there is no explicit 
> method
> layerObj.getFilter?
>
> TIA, Michael
>


--
Sean Gillies
sgillies at frii.com
http://www.frii.com/~sgillies




More information about the MapServer-users mailing list