[mapserver-users] Map file, Label WRAP Function in mapbook removes character it is wrapping on.

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Jun 29 12:15:15 PDT 2016


Hello Carrie,

I'm not aware of a way to get that in a label, without some 
pre-processing of your data field.  I do remember however a long ago 
discussion about adding this feature into MapServer, which was never 
implemented - I bet when you read this discussion you will say in your 
head (yelling) "that is exactly what I need!" ha. 
http://osgeo-org.1560.x6.nabble.com/Enhancement-to-RFC-40-conditional-wrapping-td4260294.html

-jeff

-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 2016-06-29 12:58 PM, Carrie Quast wrote:
> Hello – I’m working on updating my .MAP Documents to Mapserver 7.0.1.
>
>
>
> I’m trying to get the labels in my Parcel Layer to wrap on the decimal
> point (example 002.001.001.01.010) to make for a better a fit.  I’m
> using the WRAP function, which works wonderfully , except it removes the
> character I am wrapping on.  In this case, the point (.) In my parcel
> numbers.
>
>
>
> Each of the numbers should have a decimal between it.   Any idea of how
> to get the line to wrap on a character, but also keep it in the
> displayed label?  The MAXLENGTH works well too, but still removes all
> decimal points.
>
>
>
> I’m using Mapserver 7.0.1 with GeoMoose 2.9
>
>
>
> Thank You – Carrie Quast, Brown County MN GIS Specialist
>
>
>
>
>
>
>
>





More information about the MapServer-users mailing list