[mapguide-users] text layer with Capital Letter

Jason Birch Jason.Birch at nanaimo.ca
Fri Feb 2 13:28:32 EST 2007


Traian wrote:
 
----------------------------
If it will make you feel better, the SDF provider uses the same, but
slightly older version for evaluating attribute filters and computed
identifiers. I think it may even support geometry :-)
----------------------------
 
Speaking of the SDF provider, here's another funny (to me) comment:
 
   //set the class capabilities.
    //In the case of SDF, the class is not too capable...

Anyway, it looks like the FDO provider for SDF supports some expressions
that I was not aware of:  CEIL, FLOOR, LOWER, UPPER, SUM, COUNT, MIN,
AVG, MAX.  I'm not sure how the aggregate functions would apply to
MapGuide, but LOWER and UPPER are good additions to the toolkit.

Jason


________________________________

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Traian
Stanev
Sent: Friday, February 02, 2007 06:50
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] text layer with Capital Letter


 
Yeah, that's mine. I didn't feel like implementing geometry operations
for expressions, and they aren't that useful for tooltips, labeling and
theming.
 
You can also use these expressions in the theme rules (which are
technically attribute filters and are evaluated by MapGuide).
 
You cannot use them to set a layer filter since that is evaluated by the
FDO provider.
 
But, you can simulate a layer filter that uses such expression by using
the expression as a theming rule that only turns on the features you
want.
 
MapGuide may not be the best place to do this, but right now the FDO
providers don't have the same capabilities in terms of expressions, so
evaluating them in MapGuide ensures consistent results across providers.
If it will make you feel better, the SDF provider uses the same, but
slightly older version for evaluating attribute filters and computed
identifiers. I think it may even support geometry :-).
 
 
Traian


More information about the mapguide-users mailing list