[mapguide-users] text layer with Capital Letter
Andy Morsell
amorsell at spatialgis.com
Fri Feb 2 00:38:59 EST 2007
Along the lines of funny code comments, this is my favorite. It is from
OgcWmsService.config.awd
<!-- Hack!- these are guard values in case the Layer.Bounds property
is not well formed; Studio is offering zero data validation on
its input via the UI. Of course, this isn't a perfect solution
either, but it guards against the most likely cases. If somebody
types in a badly-formed <Bounds /> element that isn't EPSG:4326
then the whole enchilada is serious GIGO. -->
Back on topic, I agree, it would be nice to see support for many more
standard SQL functions in MapGuide or FDO (probably the better place to
handle it). That was one nice thing about MG 6.5, as long as SQL for
whatever database flavor you were hitting supported it, it generally worked.
Andy
_____
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jason Birch
Sent: Thursday, February 01, 2007 9:29 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] text layer with Capital Letter
Hey :(
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:
//TODO: GEOMETRY! yay!
:)
DECAP really seems random; you must have needed it for something.
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?
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.
Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4902 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070201/5617d46e/winmail.bin
More information about the mapguide-users
mailing list