[mapguide-users] problem with translate function in labels

Jérôme Touré j.toure at global-stern.com
Thu Jul 9 07:47:16 PDT 2015


Hi all,

I have a SDF file which has some mtext in a Property called Index.
I want to display this text in a label.
So I create a label in my layer:  <text>Translate(Index,'\P', '\n')</text>
This works fine most of the time, except when I have a capital "p" (P) 
in the text.
That converts the 'P' in 'n'. For instance, 'Parking' becomes 'narking'.

What should I do to correct this ?

Thanks in advance for your help

Jerome Toure

-- 
Jérôme Touré
STERN
473 route des Dolines
Villantipolis 7
06560 VALBONNE
Phone : +33 4 92 96 96 01
Mobile : +33 6 27 84 04 30
Fax : +33 4 92 96 96 02

-------------- next part --------------
A non-text attachment was scrubbed...
Name: j_toure.vcf
Type: text/x-vcard
Size: 266 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20150709/371c4691/attachment.vcf>


More information about the mapguide-users mailing list