[mapguide-users] Filter applied to data...

Paul Spencer pspencer at dmsolutions.ca
Tue Oct 10 07:45:48 EDT 2006


You can set a layer-wide filter using Studio (or Web Studio) and  
editing the layer settings.  The filter is below the layer property  
mappings next to the URL and Tooltip settings.  You set the filter by  
building an expression.  And yes, it works just like an SQL where  
clause.

Cheers

Paul

On 10-Oct-06, at 6:47 AM, Willem Schwarte wrote:

> Hi,
>
>
>
>
>
> I am assuming that “Filter applied to data” is the same  
> functionality as the SQL WHERE CLAUSE in mapguide 6.5.
>
>
>
> In mapguide6.5 I could very easily set this where-clause to only  
> show certain elements of a map. (through layer->database Setup- 
> >setWhereClause(‘area > 100’)  )
>
>
>
> I need to do the same now, but don’t really know where to start  
> looking. In the documentation I can find setFilter, but this is all  
> about selecting data in a datareader.
>
>
>
>
>
> Could somebody help me out here please?
>
>
>
> Thx
>
>
>
>

+-----------------------------------------------------------------+
|Paul Spencer                          pspencer at dmsolutions.ca    |
+-----------------------------------------------------------------+
|Chief Technology Officer                                         |
|DM Solutions Group Inc                http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+








More information about the Mapguide_users mailing list