Yup, but the text goes outside the column references, e.g. Land Value: [EMV_LAND_].
Steve >>> On 3/26/2009 at 2:33 PM, in message <d7a5eac385604446ab1dd24bf4f5a9181e06947...@mg-mail.ci.maple-grove.mn.us>, Jay Kapalczynski <jkapalczyn...@ci.maple-grove.mn.us> wrote: > Fantastic....works... > > one last quick question.. > > > > Can I add actual text... > > > > THANKS A MILLION....VERY APPRECIATED... > > > > > > CODE: > > TEXT (['Land Value:' EMV_LAND_]*[ 'Building Value:' EMV_BLDG_]*['Total > Value:'EMV_TOTAL_]) #label > > > > RESULT: > > Land Value: $45000 > > Building Value: $250000 > > Total Value: $295000 > > > > > > > > -----Original Message----- > From: Steve Lime [mailto:steve.l...@dnr.state.mn.us] > Sent: Thursday, March 26, 2009 2:26 PM > To: Jay Kapalczynski; 'Mark Volz'; mapserver-users@lists.osgeo.org > Subject: [mapserver-users] RE: Labeling issue mutli lines and precision > > > > Jay, the spaces in your TEXT expression are preserved, try removing them. > > > > Steve > > > >>>> On 3/26/2009 at 2:00 PM, in message > > <d7a5eac385604446ab1dd24bf4f5a9181e06947...@mg-mail.ci.maple-grove.mn.us>, Jay > > Kapalczynski <jkapalczyn...@ci.maple-grove.mn.us> wrote: > >> This works ..... BUT???.... > >> > >> > >> > >> For some reason the 2nd and 3rd line seem indented a bit > >> > >> > >> > >> Result: > >> > >> 1982 > >> > >> 19961001 > >> > >> $ 250854 > >> > >> > >> > >> Do you know what could be causing this indent? > >> > >> > >> > >> This is my Code: > >> > >> > >> > >> LAYER # Maple Grove Parcels > >> > >> NAME Parcel_Labels > >> > >> DATA './parcels.shp' > >> > >> STATUS DEFAULT > >> > >> TYPE annotation > >> > >> MAXSCALE 2000 > >> > >> MINSCALE 100 > >> > >> > >> > >> LABELCACHE ON > >> > >> > >> > >> CLASS > >> > >> TEXT ([YEAR_BUI_1] * [SALE_DATE] * [SALE_VAL_1]) > >> #label > >> > >> LABEL > >> > >> COLOR 0 0 0 > >> > >> OUTLINECOLOR 255 255 128 > >> > >> WRAP "*" #select character to wrap on > >> > >> END #label > >> > >> END #class > >> > >> END # Maple Grove Parcels > >> > >> > >> > >> > >> > >> > >> > >> PRECISION: > >> > >> As for the Precision I have also done that on the query results....dont > >> really know if or how I can use that in the Labeling....for now I just > >> converted the test data. But in a real world setting I am not going to be > >> able to do that. I will be reading live... > >> > >> If I have to I can created another database that has links and convert it > >> there....but would rather bypass all that additional work... > >> > >> > >> > >> THANKS EVERYONE FOR YOUR HELP IT IS GREATLY APPRECIATED.... > >> > >> THANKS MARK > >> > >> > >> > >> > >> > >> -----Original Message----- > >> From: mapserver-users-boun...@lists.osgeo.org > >> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Volz > >> Sent: Thursday, March 26, 2009 1:30 PM > >> To: mapserver-users@lists.osgeo.org > >> Subject: [mapserver-users] RE: Labeling issue mutli lines and precision > >> > >> > >> > >> In response to Jay's Labeling question: > >> > >> > >> > >> > >> > >> I have multi line / field labels working: > >> > >> > >> > >> In this example I am stringing together both the name and the parcel id as a > >> > >> label, then splitting the label into two lines > >> > >> > >> > >> CLASS > >> > >> NAME 'Parcels' > >> > >> TEXT ([TXLname] * [PARCEL_ID]) #label > >> > >> LABEL > >> > >> WRAP "*" #select character to wrap on > >> > >> END #label > >> > >> END #class > >> > >> > >> > >> I tried using precision in the query results, I have not tried it as part of > >> > >> a label > >> > >> > >> > >> [item name="NORTHING" precision=2] > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> Mark Volz > >> > >> GIS Specialist > >> > >> Lyon County, MN > >> > >> (507) 532-8218 > >> > >> -----Original Message----- > >> > >> From: mapserver-users-boun...@lists.osgeo.org > >> > >> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of > >> > >> mapserver-users-requ...@lists.osgeo.org > >> > >> Sent: Thursday, March 26, 2009 11:02 AM > >> > >> To: mapserver-users@lists.osgeo.org > >> > >> Subject: mapserver-users Digest, Vol 14, Issue 80 > >> > >> > >> > >> Send mapserver-users mailing list submissions to > >> > >> mapserver-users@lists.osgeo.org > >> > >> > >> > >> To subscribe or unsubscribe via the World Wide Web, visit > >> > >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > >> > >> or, via email, send a message with subject or body 'help' to > >> > >> mapserver-users-requ...@lists.osgeo.org > >> > >> > >> > >> You can reach the person managing the list at > >> > >> mapserver-users-ow...@lists.osgeo.org > >> > >> > >> > >> When replying, please edit your Subject line so it is more specific > >> > >> than "Re: Contents of mapserver-users digest..." > >> > >> > >> > >> > >> > >> Today's Topics: > >> > >> > >> > >> 1. RE: Labeling (Jay Kapalczynski) > >> > >> > >> > >> > >> > >> ---------------------------------------------------------------------- > >> > >> > >> > >> Message: 1 > >> > >> Date: Thu, 26 Mar 2009 10:57:39 -0500 > >> > >> From: Jay Kapalczynski <jkapalczyn...@ci.maple-grove.mn.us> > >> > >> Subject: RE: [mapserver-users] Labeling > >> > >> To: "'Fawcett, David'" <david.fawc...@state.mn.us>, > >> > >> "mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org> > >> > >> Message-ID: > >> > >> > >> > >> <d7a5eac385604446ab1dd24bf4f5a9181e06947...@mg-mail.ci.maple-grove.mn.us> > >> > >> > >> > >> Content-Type: text/plain; charset="us-ascii" > >> > >> > >> > >> Yea I can do that but then I have to build processes to do all the > >> > >> converting... > >> > >> I want to read this data live. > >> > >> > >> > >> Anyone else have any ideas? > >> > >> > >> > >> Thanks > >> > >> > >> > >> One Last thought, don't know if I should enter a new topic... > >> > >> > >> > >> I have three labels I want to label. Right now I am using an Offset to push > >> > >> one above, and one below (UC, CC, LC) with offsets. > >> > >> And as such these are three separate layers in my app > >> > >> I tried to combine all three into one map file but it only labels the first > >> > >> one (I copied the original code in the original email and simply changed the > >> > >> label field)(no matter what I do it just labels the first one it reads) > >> > >> > >> > >> Can I combine these into one and still have them label on three different > >> > >> rows > >> > >> > >> > >> Value 1 > >> > >> Value 2 > >> > >> Value 3 > >> > >> > >> > >> Can I concatenate like this? > >> > >> > >> > >> LABELITEM 'Value 1' & 'VALUE 2' & 'VALUE 3' > >> > >> > >> > >> But how would I specify they are supposed to create 3 lines??? > >> > >> > >> > >> THANKS > >> > >> > >> > >> > >> > >> From: Fawcett, David [mailto:david.fawc...@state.mn.us] > >> > >> Sent: Thursday, March 26, 2009 9:38 AM > >> > >> To: Jay Kapalczynski; mapserver-users@lists.osgeo.org > >> > >> Subject: RE: [mapserver-users] Labeling > >> > >> > >> > >> It is always an option to create a string column and then populate it with > >> > >> your numbers formatted the way that you want them to appear. I am sure that > >> > >> you realize this, but it is something that I have done in the past. > >> > >> > >> > >> David. > >> > >> -----Original Message----- > >> > >> From: mapserver-users-boun...@lists.osgeo.org > >> > >> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jay > >> > >> Kapalczynski > >> > >> Sent: Thursday, March 26, 2009 9:14 AM > >> > >> To: 'mapserver-users@lists.osgeo.org' > >> > >> Subject: [mapserver-users] Labeling > >> > >> > >> > >> Is there any way to eliminate the decimal places here...I looked online but > >> > >> was unable to find anything. > >> > >> > >> > >> Thanks > >> > >> > >> > >> The fields I am labeling are numeric...so I get this > >> > >> > >> > >> 3434.000000000000 > >> > >> 1232222.000000000000 > >> > >> > >> > >> I am looking to drop all the extra decimal places... > >> > >> > >> > >> Or maybe set it to keep two > >> > >> > >> > >> 3434.00 > >> > >> > >> > >> THANKS > >> > >> > >> > >> > >> > >> > >> > >> LAYER # Maple Grove Parcels > >> > >> NAME Parcel_Labels > >> > >> DATA './parcels.shp' > >> > >> STATUS DEFAULT > >> > >> TYPE annotation > >> > >> MAXSCALE 2000 > >> > >> MINSCALE 100 > >> > >> LABELITEM 'EMV_LAND' > >> > >> > >> > >> > >> > >> LABELCACHE ON > >> > >> CLASS > >> > >> COLOR -1 -1 -1 > >> > >> LABEL > >> > >> POSITION UC > >> > >> TYPE TRUETYPE > >> > >> FONT vera_sans > >> > >> MAXSIZE 7 > >> > >> SIZE 7 > >> > >> OFFSET 0 10 > >> > >> MINSIZE 4 > >> > >> #ANTIALIAS TRUE > >> > >> COLOR 0 0 0 > >> > >> OUTLINECOLOR 255 255 128 > >> > >> BUFFER 2 > >> > >> END > >> > >> END > >> > >> END # Maple Grove Parcels > >> > >> -------------- next part -------------- > >> > >> An HTML attachment was scrubbed... > >> > >> URL: > >> > >> http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090326/6199f92 >> > >> > >> b/attachment-0001.html > >> > >> > >> > >> ------------------------------ > >> > >> > >> > >> _______________________________________________ > >> > >> mapserver-users mailing list > >> > >> mapserver-users@lists.osgeo.org > >> > >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > >> > >> > >> > >> > >> > >> End of mapserver-users Digest, Vol 14, Issue 80 > >> > >> *********************************************** > >> > >> _______________________________________________ > >> > >> mapserver-users mailing list > >> > >> mapserver-users@lists.osgeo.org > >> > >> http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users