Opened 21 years ago

Closed 21 years ago

#288 closed enhancement (fixed)

Feature request; getFilter method for layerObj

Reported by: mschulz@… Owned by: sgillies@…
Priority: high Milestone:
Component: MapScript Version: 4.0
Severity: minor Keywords:
Cc:

Description

I suggest to add a mapscript getFilter method to the layerObj. The 
corresponding setFilter method is already present.

Change History (2)

comment:1 by sgillies@…, 21 years ago

Owner: changed from sdlime to sgillies@…
Steve, Michael, I'm going to adopt this request.

comment:2 by sgillies@…, 21 years ago

Resolution: fixed
Status: newclosed
Resolved.

On March 3, I committed edits to mapscript.i that declare
an extension to layerObj called 'getFilterString'.  There
are 3 expression types, and getFilterString returns a 
string that depends on the expression type:

type            result
------------------------
MS_EXPRESSION   '(%s)'
MS_STRING       '"%s"'
MS_REGEX        '/%s/'

Note: See TracTickets for help on using tickets.