[mapserver-dev] RFC-60: Label enhancement to skip ANGLE FOLLOW labels with overlapping chars

Daniel Morissette dmorissette at mapgears.com
Wed Sep 1 17:03:19 EDT 2010


Hi Jeff, and all,

Forget the inside vs outside curve stuff. As we looked more into it we
realized that this distinction was not relevant.

I have updated the RFC to reflect the outcome of this discussion,
basically enabling the filtering by default with a default value of 22.5
degrees matching what GeoServer does.

The updated RFC should show up online in the next hour or two at
http://mapserver.org/development/rfc/ms-rfc-60.html

We've also added one more example showing the bboxes of chars in a
street map label to help us understand why the labels look the way they do:
http://trac.osgeo.org/mapserver/attachment/ticket/3523/maxoverlapangle-2.png

Alan: Please update the RFC with the list of files impacted and then
we'll call for a vote if there are no more comments.

Daniel


Jeff McKenna wrote:
> There was a discussion on IRC today on this: GeoServer does not
> differentiate between outside vs inside overlapping labels, it just
> discards any label with an overlap angle greater than 22.5 degrees.
> 
> I have to admit that I have read the descriptions several times for
> negative vs positive MAXOVERLAPANGLE and it is still confusing to me. If
> we do enable both, can you define better what the "inside" and "outside"
> of a line is?
> 
> thanks.
> 
> -jeff
> 
> 
> 
> On 10-08-27 6:03 PM, Daniel Morissette wrote:
>> Jeff, could you try to find out what GeoServer does? Does it exclude
>> both cases, or only the labels that overlap on the inside of the curve?
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev


-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-dev mailing list