RE: [mapserver-users] Mapserver wms duplicate labels
Hi, Can you try without using BUFFER property. Thanks, Venkat From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Michael Shishcu Sent: Wednesday, May 06, 2009 12:28 PM To: mapserver-users@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/p...@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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver wms duplicate labels
add PROCESSING LABEL_NO_CLIP=on to the layer this fixes the label on a geographical point, instead of repeating it on the clipped geometries at the pixel level. regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Wed, May 6, 2009 at 08:58, Michael Shishcu mickl...@gmail.com wrote: 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/p...@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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Mapserver wms duplicate labels
Thanks for your response, I tried setting BUFFER to false (or simply deleting it), but there were no improvements regards, Michael Venkat Rao Tammineni wrote: Hi, Can you try without using BUFFER property. Thanks, Venkat -- View this message in context: http://n2.nabble.com/Mapserver-wms-duplicate-labels-tp2808935p2809119.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver wms duplicate labels
Um, there isn't a global list of processing directives although there probably should be. Most are described in the context of other documentation (e.g. http://mapserver.org/output/dynamic_charting.html). I've started a wiki page to document these at: http://trac.osgeo.org/mapserver/wiki/ProcessingDirectives Steve On 5/6/2009 at 3:05 AM, in message 1241597100903-2809106.p...@n2.nabble.com, micklesh mickl...@gmail.com wrote: Thank you very much, Thomas, this solves the problem. (By the way, where can i find list of all processing directives?) Regards, Michael Thomas Bonfort-2 wrote: add PROCESSING LABEL_NO_CLIP=on to the layer this fixes the label on a geographical point, instead of repeating it on the clipped geometries at the pixel level. regards, thomas www.camptocamp.com +33 4 79 26 57 97 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users