[mapserver-dev] Thoughts on ANGLE FOLLOW results

Alan Boudreault aboudreault at mapgears.com
Tue Aug 17 10:44:40 EDT 2010


Thanks Brent. I was looking for a some good books about that to do some 
reading.

Alan

On August 17, 2010 10:35:49 am Brent Fraser wrote:
> FY, Alexander Wolff (http://i11www.iti.uni-karlsruhe.de/~awolff/) has some
>  info on his Projects and Bibliography pages.
> 
> Best Regards,
> Brent Fraser
> 
> Alan Boudreault wrote:
> > IIRC, the label placement code had been written by someone that it not
> > reliable anymore. In a few parts... nobody really knew what the code was
> > doing. Should we rethink/rewrite the label placement code rather than
> > trying to patch it with some letterspacing hack or something similar,
> > like I tried in the past?
> >
> > Alan
> >
> > On August 16, 2010 10:26:50 am Lime, Steve D (DNR) wrote:
> >> Correct. It's as good as you're gonna do with the code as it sits. Looks
> >>  like GeoServer punts in the case when chars overlap. It's been a bug
> >> for some time now and really needs to be fixed, even if that fix is
> >> simply to detect overlap and punt...
> >>
> >> -Steve
> >>
> >> -----Original Message-----
> >> From: mapserver-dev-bounces at lists.osgeo.org
> >>  [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Brent
> >> Fraser Sent: Monday, August 16, 2010 8:59 AM
> >> To: Jeff McKenna
> >> Cc: 'MapServer Dev Mailing List'
> >> Subject: Re: [mapserver-dev] Thoughts on ANGLE FOLLOW results
> >>
> >> Jeff,
> >>
> >>    I think the problem is related to
> >>       http://trac.osgeo.org/mapserver/ticket/2221
> >> (and http://trac.osgeo.org/mapserver/ticket/2612)
> >>
> >> Best Regards,
> >> Brent Fraser
> >>
> >> Jeff McKenna wrote:
> >>> For the FOSS4G WMS Benchmarking exercise we have to label a contour
> >>> line layer, curved along the lines.  I am comparing MapServer's results
> >>> with GeoServer (attached). I am trying to tweak the LABEL object
> >>> parameters, but I am still not happy with the MapServer results.
> >>>
> >>> Should I be satisfied with these results?  Or is this is bug in our
> >>> MapServer label logic?  Please give me your thoughts. (notice the
> >>> mangled '730' label in the middle, and the upside down '550' in the
> >>> bottom right)
> >>>
> >>>        LABEL
> >>>          COLOR  230 183 119
> >>>          FONT sans
> >>>          TYPE truetype
> >>>          SIZE 12
> >>>          PARTIALS FALSE
> >>>          OUTLINECOLOR 255 255 255
> >>>          OUTLINEWIDTH 5
> >>>          ANGLE FOLLOW
> >>>          MINFEATURESIZE AUTO
> >>>          BUFFER 3
> >>>        END
> >>>
> >>> geoserver:
> >>> http://12.189.158.78:8080/geoserver/wms?EXCEPTIONS=application%2Fvnd.og
> >>>c.
> >>> se_inimage&LAYERS=shp_alllayers_label&STYLES=&FORMAT=image%2Fpng&SERVIC
> >>>E=W
> >>> MS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A4326&BBOX=2.0887561798092,41
> >>>.69 3440914151,2.1016307830806,41.706315517423&WIDTH=600&HEIGHT=600
> >>>
> >>>
> >>> mapserver:
> >>> http://12.189.158.78:8081/cgi-bin/mapserv_label?MAP=/benchmarking/mapse
> >>>rv
> >>> er/spain-shapefiles.map&LAYERS=vector_benchmarking_2010&FORMAT=image%2F
> >>>png
> >>> &SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=applicatio
> >>>n%2
> >>> Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=2.0887561798092,41.69344091415
> >>>1,2 .1016307830806,41.706315517423&WIDTH=600&HEIGHT=600
> >>>
> >>>
> >>> -jeff
> >>
> >> _______________________________________________
> >> mapserver-dev mailing list
> >> mapserver-dev at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> >>
> >> _______________________________________________
> >> mapserver-dev mailing list
> >> mapserver-dev at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> 

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


More information about the mapserver-dev mailing list