[mapguide-users] text layer with Capital Letter

Walt Welton-Lair walt.welton-lair at autodesk.com
Thu Feb 1 12:14:32 EST 2007


Actually there's a DECAP expression function that you can use that I
believe does what you want.  You pass it a single string, and it makes
the first letter of each word upper case and the remaining letters lower
case.

This might be an undocumented function though.  No guarantees... :->

Walt

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Knight,
Gregory
Sent: Thursday, February 01, 2007 5:55 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] text layer with Capital Letter

If you are trying to capitalize them for labeling purposes, I don't
believe there is a way to do this in Studio at the moment.  Assuming you
have access to software that can edit shp files, you could add a new
field with the same definition as your existing street name field, then
populate the new field with uppercase values from the existing shape
names.  Or if youre comfortable, you could edit the DBF file like Jason
just suggested... (Id recommend making a backup in case you break
something) I guess I type too slow.

Good luck

Greg

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jose Manuel
C G
Sent: Thursday, February 01, 2007 11:41 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] text layer with Capital Letter


I have a .shp file with info about street names. 

I want "translate" this names to capital letter: "Baker Street" instead
of
"BAKER STREET" with Studio 2007. 

What can I do?

Thks
-- 
View this message in context:
http://www.nabble.com/text-layer-with-Capital-Letter-tf3155944s16610.htm
l#a8751501
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally
privileged and/or exempt from disclosure pursuant to Massachusetts
law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and
delete the material from any computer.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list