[mapserver-dev] Thoughts on ANGLE FOLLOW results

Brent Fraser bfraser at geoanalytic.com
Mon Aug 16 09:59:25 EDT 2010


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
> 




More information about the mapserver-dev mailing list