[mapserver-dev] Label MINDISTANCE change

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Aug 4 09:55:15 PDT 2017


no objections here, the logic makes sense to me!!  (more along what new 
users will think using mindistance)

-jeff



On 2017-08-04 1:27 PM, Lime, Steve D (MNIT) wrote:
> If there are no objections then I'm going to merge this one at the end of the day. Thanks Oliver!
> 
> -----Original Message-----
> From: mapserver-dev [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Oliver Tonnhofer
> Sent: Wednesday, August 02, 2017 10:24 AM
> To: mapserver-dev at lists.osgeo.org
> Subject: [mapserver-dev] Label MINDISTANCE change
> 
> Hi all,
> 
> a few month ago I noticed that LABEL MINDISTANCE doesn't really work as advertised.
> The documentation says 'Minimum distance between duplicate labels', but it only calculates the distance of the label center.
> 
> I created an issue with a bit more background and also two images to highlight the issue. https://github.com/mapserver/mapserver/issues/5369
> 
> I now created a fix for that with https://github.com/mapserver/mapserver/pull/5464
> 
> This will change the output of existing styles that use the MINDISTANCE feature. Less labels are expected as the MINDISTANCE is now calculated from the label bounds and not the label center.
> 
> I added a note in the HISTORY.txt and also propose to extend the documentation: https://github.com/olt/mapserver-docs/commit/65d8c8bc0bb15f7c1ac84fb37bc38a26106f3276
> 
> Do you have any objections for this change?
> 
> Kind regards,
> Oliver
> 


More information about the mapserver-dev mailing list