Hi Rodriguez: I did a couple of quick tests and it seems like the directive is working as intended, at least with some government unit boundary data. Any chance you could put together a small test case? Perhaps converting some data to shapefile and whipping up a simple mapfile that shows the problem.
Are others experiencing the same issues? Steve >>> "Rodriguez, Heraldo" <hrodrig...@siscat.com.ar> 06/30/09 10:33 AM >>> Hi everyone, We have just upgraded from mapserver 5.2.0 to 5.4.1 Our application use OpenLayers, Tilecache with metatiles on, and postgis. The label positioning in polygons has improved a lot but now we are experiencing label duplication on metatile boundaries. The layer with the issues is parcelas. We are using labelcache_map_edge_buffer and LABEL_NO_CLIP=ON . Has anyone an idea why this is happening? The labels length varies from 2 to 4 characters maximum . A fragment of our map is the following WEB # TEMPLATE "set in index.html" # MINscale 1000 MAXscaleDENOM 1550000 METADATA "wms_title" ... "wfs_title" ... "wms_onlineresource" ... "wfs_onlineresource" ... "WMS_FEATURE_INFO_MIME_TYPE" "text/html" "wms_srs" ... "wfs_srs" ... "wms_encoding" ... "labelcache_map_edge_buffer" "-10" END IMAGEPATH "/tmp/mapserver/" IMAGEURL "/mapserver/" END LAYER NAME parcelas METADATA "wms_title" "parcelas" "wms_include_items" "all" "wms_group_title" "Geograficos" "wfs_title" "parcelas" "gml_include_items" "all" "gml_featureid" "gid" END CONNECTION "user=xxxxx password=xxxxxx dbname=scgis host=localhost port=5432" CONNECTIONTYPE postgis PROCESSING "CLOSE_CONNECTION=DEFER" PROCESSING "LABEL_NO_CLIP=ON" DATA "the_geom FROM parcelas USING UNIQUE gid" STATUS DEFAULT TYPE POLYGON OPACITY 80 MAXscaledenom 15000 LABELITEM parcela LabelMaxscaledenom 1200 DUMP true CLASS NAME "parcelas" TEMPLATE './QueryTemplates/parcelas.html' STYLE COLOR 242 239 233 #g earth OUTLINECOLOR 210 210 210 END Label minsize 7 Size 7 maxsize 8 type truetype PARTIALS false POSITION AUTO MINDISTANCE 20 PRIORITY 5 font "vera" color 86 86 86 end END END Any help would be appreciated. Thanks in advance Regards, Lic. Heraldo G. Rodriguez hrodrig...@siscat.com.ar TEL: 54-11-4326-4002 int 255 Dpto. Desarrollo Sistemas Catastrales S.A _______________________________________________ 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