[Cartoweb-dev] [Bug 1707] New: Setting filter in MapOverlay

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Wed Apr 25 03:27:40 EDT 2007


           Summary: Setting filter in MapOverlay
           Product: CartoWeb
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: Plugins
        AssignedTo: cartoweb-dev at lists.maptools.org
        ReportedBy: ml.dje at geocontent.de

the Cartoweb documentation of the MapOverlay plugin suggests to use the data
field to filter data. This seems to be a little restrictive, because it does not
work for all layer types. Therefore, I would suggest to handle FILTER and
FILTERITEM separately.
I created a patch that adds the necessary fields and function calls to the
common and server part of the MapOverlay plugin.

The example in the documentation would change to

$layer->filter = "farm_id = {$farmId}"

So far, I only did initial testing with PostGIS layers.

Let me know, if you think this might be a meaningfull extention.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.

More information about the Cartoweb-dev mailing list