[mapserver-dev] Re: ANGLE FOLLOW with MINFEATURESIZE AUTO

Jeff McKenna jmckenna at gatewaygeomatics.com
Mon Oct 5 12:07:30 EDT 2009


Alan Boudreault wrote:
> Jeff, Could you provide a small test case of that mapfile ? I can check that 
> and see if it could be improved.
> 
> Alan
>  
> On October 5, 2009 10:39:16 am Steve Lime wrote:
>> Jeff: What does 5.4.2 give you on that mapfile?
>>
>> Steve
>>
>>>>> Jeff McKenna <jmckenna at gatewaygeomatics.com> 10/03/09 3:14 PM >>>
>> Steve Lime wrote:
>>> Will see if that can be added to the 5.6 release... Steve
>>>
>>>>>> Raivo Alla <snaperski at gmail.com> 08/17/09 2:29 AM >>>
>>> 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...
>> For the FOSS4G WMS benchmarking exercise, I'm trying to match MapServer
>> with a GeoServer test that shows curved labels, but only for features
>> that are larger than the label.  In MapServer world, this would be ANGLE
>> FOLLOW with MINFEATURESIZE AUTO.  I came across the above email
>> discussion because I noticed this:
>>
>> - all roads curved with MapServer 5.6.0beta2:
>> http://64.222.187.168/cgi-bin/mapserv560beta2?MAP=/opt/benchmarking/mapserv
>> er/vector-by-merged.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&layers=roa
>> ds-merged-labeled&STYLES=&SRS=EPSG:4269&WIDTH=950&HEIGHT=600&FORMAT=image/p
>> ng&BBOX=-96.79344550384396,32.76888304968294,-96.78588564285151,32.77365769
>> 873079
>>
>> - minfeaturesize auto curved labels with MapServer 5.6.0beta2 (no curved
>> labels are drawn):
>> http://64.222.187.168/cgi-bin/mapserv560beta2?MAP=/opt/benchmarking/mapserv
>> er/vector-by-merged.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&layers=roa
>> ds-merged-labeled-minfeaturesize&STYLES=&SRS=EPSG:4269&WIDTH=950&HEIGHT=600
>> &FORMAT=image/png&BBOX=-96.79344550384396,32.76888304968294,-96.78588564285
>> 151,32.77365769873079
>>
>> Was there a ticket for this addition (to be added for 5.6.0)?
>>
>> Thoughts?
>>

Small test case: 
http://www.gatewaygeomatics.com/dl/buildkit/label-test.zip (50 KB)

Problem exists with MapServer 5.4.2 as well: 
http://64.222.187.168/cgi-bin/mapserv?MAP=/opt/benchmarking/mapserver/vector-by-merged.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&layers=roads-merged-labeled-minfeaturesize&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-dev mailing list