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

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Wed Jun 29 12:41:33 PDT 2016


Carrie,

Where is the data being sourced from?  DB or SHP file or ??

There are some substitution tricks for SQL that might help out with this.  I’m pretty sure I can write a Postgres query to add a character after each period for use in the wrapping process for example.

bobb




On Jun 29, 2016, at 10:58 AM, Carrie Quast <Carrie.Quast at co.brown.mn.us<mailto:Carrie.Quast at co.brown.mn.us>> 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

<image002.png>


_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users


"I never had a policy; I have just tried to do my very best each and every day. “
- Abraham Lincoln

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160629/87169dff/attachment.html>


More information about the mapserver-users mailing list