[mapserver-users] Mapserver wms duplicate labels

Michael Shishcu micklesh at gmail.com
Tue May 5 23:58:26 PDT 2009


Hi, list, I'm newbie in mapserver and have a question.

I've set up mapserver as wms server, everything works Ok, and here's layer
definition
LAYER
  NAME "name"
  TYPE POLYGON
  STATUS ON
  CONNECTIONTYPE oraclespatial
  CONNECTION "scheme/pass at DB"
  DATA "column FROM table"
  DUMP TRUE
  LABELITEM "label"
  CLASS
    MAXSCALEDENOM 2000
    STYLE
      OUTLINECOLOR 255 153 255
      COLOR -1 -1 -1
      ANTIALIAS TRUE
    END
    LABEL
      MINFEATURESIZE auto
      MINDISTANCE 50
      OUTLINECOLOR 255 255 255
      OUTLINEWIDTH 1
      COLOR 0 0 0
      FONT times
      TYPE TRUETYPE
      SIZE 9
      ANTIALIAS TRUE
      POSITION cc
      PARTIALS FALSE
      BUFFER 3
    END
  END
Also there is a tilecache server (Oracle Mapviewer) whitch server images to
end-user
The problem is here: if a polygon object is present  in some tiles, it is
labeled on each tile causing close duplicate labels (attachment).
Has anyone some workaround of this problem
Regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090506/ffa392a0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Img.JPG
Type: image/jpeg
Size: 9363 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090506/ffa392a0/attachment.jpe>


More information about the MapServer-users mailing list