[mapserver-users] Re: annotation symbol with label and labelpoy

Makoto Niwa niwa at orkney.co.jp
Mon Jan 9 08:01:24 EST 2012


Hello Jeff!

Thank you very much for confirming label and legend issues, and creating tickets.

Thanks!

makoto.

At 06 Jan 2012 12:20:36 -0400 Jeff McKenna wrote:
> 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.
> 
> 
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 



More information about the mapserver-users mailing list