<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [mapguide-users] text layer with Capital Letter</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2>You can also use these expressions in the theme rules
(which are technically attribute filters and are evaluated by
MapGuide).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2>You cannot use them to set a layer filter since that is
evaluated by the FDO provider.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2>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 :-).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2>Traian</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=606393914-02022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Jason
Birch<BR><B>Sent:</B> Friday, February 02, 2007 12:29 AM<BR><B>To:</B> MapGuide
Users Mail List<BR><B>Subject:</B> RE: [mapguide-users] text layer with Capital
Letter<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText66309 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hey :(</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>That wasn't any fun. There's nothing
terribly interesting in there other than maybe the URLENCODE function and
a funny comment I ran into:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>//TODO: GEOMETRY! yay!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>:)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>DECAP really seems random; you must have
needed it for something.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2><FONT face=Arial size=2>Where can these
function be applied? I'm guessing that there is no way to apply them to
the Properties dialog, so that leaves maptips and label expressions? Did I
miss anything?</FONT></DIV></FONT></DIV>
<P><FONT face=Arial size=2>I'd love to see the other obvious case functions, an
IIF() function, a bunch of Regex stuff, more string handling (len, substr,
etc). Is MapGuide the best place to do this? These
functions would be useful for output, but quite a few would also be
useful for creating attribute filters in queries.</FONT></P>
<DIV dir=ltr><FONT face=Arial size=2>Jason</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT> </DIV></BODY></HTML>