[mapserver-dev] Thoughts on ANGLE FOLLOW results

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Mon Aug 16 10:26:50 EDT 2010


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.ogc.se_inimage&LAYERS=shp_alllayers_label&STYLES=&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A4326&BBOX=2.0887561798092,41.693440914151,2.1016307830806,41.706315517423&WIDTH=600&HEIGHT=600 
> 
> 
> mapserver:
> http://12.189.158.78:8081/cgi-bin/mapserv_label?MAP=/benchmarking/mapserver/spain-shapefiles.map&LAYERS=vector_benchmarking_2010&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=2.0887561798092,41.693440914151,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



More information about the mapserver-dev mailing list