[mapserver-users] annotation symbol with label and labelpoy

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Jan 6 11:20:36 EST 2012


I have verified Niwa-san's issue on Windows (in fact mapserv.exe crashes 
when using a shapfile with some NULL values, and geomtransorm), and I 
have verified that his patch solves the issue.  Follow along at: 
http://trac.osgeo.org/mapserver/ticket/4146

-jeff



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


On 11-12-19 11:07 PM, Makoto Niwa wrote:
> Hello everyone,
>
> I have a label problem in MapServer 6.0.1
> I cannot get corrct label image in annotation layer with symbol,label
> and labelpoly - backgound color.(see attached image label_error.jpg)
>
> Layer definition in mapfile as follows.
> LAYER
>    NAME "RND"
>    DATA "Road/road_rnd_13.shp"
>    STATUS DEFAULT
>    TYPE ANNOTATION
>    PROJECTION "init=epsg:4612" END
>    MAXSCALE 50000
>    LABELITEM "NAME_KANJI"
>    CLASSITEM "SIGNAL_F"
>
>    CLASS NAME "RND" EXPRESSION "1"
>     STYLE SYMBOL "027" END
>     LABEL PRIORITY 6 TYPE TRUETYPE POSITION AUTO OFFSET -5 -5 MINDISTANCE 50 PARTIALS FALSE FONT gothic COLOR 255 255 255 SIZE 8 ENCODING SJIS STYLE GEOMTRANSFORM 'labelpoly' COLOR 0 85 170 END END
>    END
>
> I make a patch for this problem.
> Then I can get correct label image(attached image label_patched.jpg).
> But this patch is not testing for many cases.
>
> regaeds,
>
> makoto.






More information about the mapserver-users mailing list