[mapserver-dev] Label MINDISTANCE change

Daniel Morissette dmorissette at mapgears.com
Fri Aug 4 10:17:19 PDT 2017


I didn't test the code, but as I wrote in the ticket I agree that the 
new behavior is better so I'm +1 to merge.


On 2017-08-04 12: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
> 


-- 
Daniel Morissette
Mapgears Inc
T: +1 418-696-5056 #201


More information about the mapserver-dev mailing list