Hi Christy, Mapguide does not treat each segment separately. It walks along each polyline feature. If your roads are made up of many short polylines, it is possible that you will see the behavior you describe. Also, what is your <VertexControl> set to in the symbol definition?
One suggestion that *may* work -- make the bounds of the shield bigger somehow -- for example by adding a transparent rectangle that is 3-4x bigger than the actual shield. This will make the exclusion region bigger and alleviate the problem regardless of underlying data. Traian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christy Nieman Sent: Tuesday, September 11, 2007 10:46 AM To: [email protected] Subject: [mapguide-users] Highway Shields with new cartographic stylingoptions Hello, I'm working with data where one road can be represented by many segments. I am trying to display highway shields along the roads in a consistent manner. The problem I've run into is that in some places many shields are drawn and in others none are drawn. By creating several scale ranges and adjusting the StartOffset and Repeat values at each scale, I've been able to create a map where the number of shields is usually acceptable, however I still have some areas with many and others with none. I have DrawLast, CheckExclusionRegion and AddToExclusionRegion set to True in the LayerDefinition. I believe the problem I am encountering is that MapGuide treats each segment individually, and therefore if the shield will fit in on the line with the specified StartOffset value it will be drawn, regardless of how close it is to a shield on nearby segments. Can anyone confirm this? Is anyone know there a way to specify a distance other than StartOffset and Repeat to create consistent spacing between the shields? Thanks, Christy _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
