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

Alan Boudreault aboudreault at mapgears.com
Mon Oct 5 13:37:10 EDT 2009


The problem is solved. See http://trac.osgeo.org/mapserver/ticket/3151  for 
more info.

Alan

On October 5, 2009 12:07:30 pm Jeff McKenna wrote:
> 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/maps> 
>>erv
> >> 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=imag
> >>e/p
> >> ng&BBOX=-96.79344550384396,32.76888304968294,-96.78588564285151,32.77365
> >>769 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/maps
> >>erv
> >> 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.78588564
> >>285 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/vecto
> r-by-merged.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&layers=roads-merge
> d-labeled-minfeaturesize&STYLES=&SRS=EPSG:4269&WIDTH=950&HEIGHT=600&FORMAT=
> image/png&BBOX=-96.79344550384396,32.76888304968294,-96.78588564285151,32.7
> 7365769873079
> 
> 
> -jeff
> 

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com


More information about the mapserver-dev mailing list