[mapserver-users] circular symbol for roads at border of tiles

Andreas Heckwolf andreas.heckwolf at menturagroup.com
Thu Nov 17 14:44:03 PST 2011


Hi all,

I am using mapserver 5.6.5, as installed on Debian stable, to render
tiles (WMS) to an OpenLayers map. Streets are rendered with a circular
symbol. Roads going across tile borders do have at the border a circle
visible. Please see picture at:

http://andreas.menturagroup.com/MapTilesProblem.jpg.

I understand what is happening, and why. Is there any way to avoid this,
or a better way of rendering streets?

Thanks,

Andreas


Here my SYMBOL definition and the styles:

  SYMBOL
    NAME "line_solid"
    TYPE ellipse
    POINTS 1 1 END
    FILLED true
  END


Then for the streets layer I have defined the following styles:

      STYLE
        SYMBOL 'line_solid'
        COLOR 130 130 130
        SIZE 12
      END
      STYLE
        SYMBOL 'line_solid'
        COLOR 255 255 200
        SIZE 10
      END



MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE


-- 
\_________________________________________________________________
Dipl.-Ing. Andreas Heckwolf              Voice : +358 40 5847 445
  Mentura Group Oy                         Fax: +358 424480 800 
    Lönnrotinkatu 32 A 26 00180 Helsinki www.menturagroup.com




More information about the MapServer-users mailing list