[mapserver-users] Horizontal line appears at the edge with circle symbol

Stephen Woodbridge woodbri at swoodbridge.com
Wed Aug 6 18:50:08 EDT 2008


This is a know bug. I think it is: 
http://trac.osgeo.org/mapserver/ticket/1719

-Steve W

Ei Fujioka wrote:
> Dear experts,
> 
> I'm upgrading Mapserver from 4.2 to 5.2 and experiencing a very annoying 
> problem.
> 
> There appears a horizontal line at the edge of the map drawn by 
> Mapserver 5.2 when the symbol is set to "circle". This didn't happen 
> with Mapserver 4.2.
> When I change the symbol to "square", the line doesn't appear.
> 
> I've tried various settings (e.g. SIZE, ANGLE, ANTIALIAS etc.) with no 
> luck.
> 
> Does anyone have any idea what's wrong with it?
> 
> ** Examples: **
> Mapserver 5.2 with circle symbol:
> http://seamap-dev.env.duke.edu/seamap2/main/seamap2_gm.php?sid=horizontal_line_with_circle&mode=draw_map&outputformat=PNG24&layer_name=dist_sp_01deg&layer_type=point&mapsize=256%2B256&mapext=-90%2C27.059125784374068%2C-84.375%2C31.95216223802497 
> 
> 
> Mapserver 5.2 with square symbol:
> http://seamap-dev.env.duke.edu/seamap2/main/seamap2_gm.php?sid=no_line_with_square&mode=draw_map&outputformat=PNG24&layer_name=dist_sp_01deg&layer_type=point&mapsize=256%2B256&mapext=-90%2C27.059125784374068%2C-84.375%2C31.95216223802497 
> 
> 
> ** Mapserver info. **
> ./mapserv -v
> MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
> OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=ICONV 
> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER 
> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=GEOS INPUT=EPPL7 
> INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> 
> ** Mapfile exerpt **
> 
> MAP
>   EXTENT -20001364 -15000982 20001253 15000982
>   IMAGECOLOR 255 255 255
>   IMAGETYPE gif
>   SYMBOLSET "/var/www/seamap2/map/symbolset.map"
>   SHAPEPATH "/data/shapefiles/"
>   SIZE 256 256
>   STATUS ON
>   TRANSPARENT TRUE
>   UNITS DD
>   NAME "SEAMAP ONLINE MAPPER"
>   PROJECTION
>     "init=epsg:54004"
>   END
> 
>   LAYER
>     CLASSITEM "_sp_tsn"
>     CONNECTION "host=***"
>     CONNECTIONTYPE POSTGIS
>     DATA "_geom from (***) ***"
>     NAME "zd_35"
>     PROJECTION
>       "init=epsg:4326"
>     END
>     STATUS ON
>     TOLERANCE 0.1
>     TYPE POINT
>     CLASS
>       NAME "Anatidae"
>       EXPRESSION "174983"
>       STYLE
>         ANGLE 360
>         COLOR 255 255 0
>         OPACITY 50
>         OUTLINECOLOR 0 0 0
>         SIZE 9
>         SYMBOL "circle"  : annoying horizontal line appears
>         #SYMBOL "square" : when square is used, no horizontal line
>       END
>       TITLE "174983"
>     END
>     ...
> 
> 



More information about the mapserver-users mailing list