[mapserver-users] Mapserver wms duplicate labels

Venkat Rao Tammineni vtammineni at roulacglobal.com
Wed May 6 00:21:52 PDT 2009


Hi,

 

   Can you try  without using BUFFER property.

 

Thanks,

 

Venkat

 

From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Michael
Shishcu
Sent: Wednesday, May 06, 2009 12:28 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Mapserver wms duplicate labels

 

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/8fdfc4c5/attachment.htm>


More information about the MapServer-users mailing list