[mapserver-users] ANGLE FOLLOW with MINFEATURESIZE AUTO

Jeff McKenna jmckenna at gatewaygeomatics.com
Mon Oct 5 17:47:49 PDT 2009


Raivo Alla wrote:
> Hello,
> 
> is there any hope that mapserver will in the future support curved
> labels with MINFEATURESIZE AUTO settings?
> Would be nice to display street labels displayed only when they have
> enough space in the line segment...

Raivo,

We hit your same problem while testing for the FOSS4G2009 benchmarking 
exercise[1].  The change has been added[2] (curved labels with the 
minfeaturesize auto setting) and will be available in the next beta 
release.

For those that are saying "what the heck does MINFEATURESIZE AUTO do?", 
like me recently, it will only show labels that are larger than the 
feature.  You can see it in action with the benchmarking roads layer[3]

[1] http://wiki.osgeo.org/wiki/Benchmarking_2009
[2] http://trac.osgeo.org/mapserver/ticket/3151
[3] 
http://64.222.187.168/cgi-bin/mapserv560beta2?MAP=/opt/benchmarking/mapserver/vector-by-merged.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&layers=roads-merged-labeled&STYLES=&SRS=EPSG:4269&WIDTH=950&HEIGHT=600&FORMAT=image/png&BBOX=-96.79344550384396,32.76888304968294,-96.78588564285151,32.77365769873079

-jeff


-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/





More information about the MapServer-users mailing list