I think that the problem is that when you make two discrete calls to a WMS, even the same WMS, when you make the second request, it doesn't know anything about the first request.
If you control both of the WMS and they are MapServer based, you could try setting a specific label placement for your features instead of using auto. For your first layer, you could put all labels in the upper right and for the second layer, the lower left. This could still allow conflicts if the features are close enough together. If the number of features is reasonable, you could set up annotation layers that place the labels at pre-computed locations that don't conflict with each other. If possible, you could also combine your two layers into the same WMS call, which should allow MapServer to do label auto-placement. David. On Mon, Jun 21, 2010 at 2:56 PM, Paul james <paulj...@gmail.com> wrote: > Hello guys... > > I have two point WMS layers... Both with LABEL... > > When both are ON, the label stays in front of each other... > I try to use the BUFFER option (mapfile config), but without success... > > The image is attached... > > Any idea? > > > > Point Layer > LAYER > NAME Test1 > METADATA > "wms_title" "Test1" ##required > "wms_srs" "EPSG:4326" ##recommended > "wms_feature_info_mime_type" "text/html" > END > GROUP "Test" > TYPE POINT > STATUS ON > INCLUDE "Connection.map" > DATA "" > LABELITEM "NameTest" > > CLASS > TEMPLATE "dummy" > STYLE > SYMBOL "circle" > SIZE 7 > OUTLINECOLOR 0 0 0 > COLOR 0 255 0 > END > STYLE > SYMBOL "circle" > SIZE 2 > COLOR 52 52 52 > END > LABEL > COLOR 0 0 0 > TYPE TRUETYPE > FONT Calibri > SIZE 8 > ANTIALIAS TRUE > POSITION AUTO > PARTIALS FALSE > MINDISTANCE 0 > BUFFER 3 > END > END > END > > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users