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.

<<attachment: label_patched.jpg>>

<<attachment: label_error.jpg>>

Attachment: annotation_symbol_w_label.patch
Description: Binary data

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to