[mapserver-users] Map file, Label WRAP Function in mapbook removes character it is wrapping on.
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed Jun 29 13:30:40 PDT 2016
Good point Bob, I was testing with a .shp and an SQL dialect, but having
a full database connection would solve it. -jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 2016-06-29 4:41 PM, Basques, Bob (CI-StPaul) wrote:
> 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>
>>
>>
More information about the MapServer-users
mailing list