Hi,

I believe that most cartographers would say that the uDig way to to draw the 
outlines is ugly and the Mapserver way looks better but it is partly a matter 
of taste.  However, at least for me the continuous black lines also give a 
feeling that it is not possible or allowed to drive from one street to another.

I would try to draw the streets as two separate layers with own styels instead 
of a single layer with two styles, perhaps that would lead to continuos black 
outlines.

-Jukka Rahkonen-


 赫玄惠 [[email protected]] wrote:

> I encounter a question. use one  same shape file, when I use it in mapserver 
> it like
[cid:[email protected]]
but in udig it like
[cid:[email protected]]
when two street intersect together, udig can paint map with the black 
border,but mapserver can't. Anyone know why?
my mapfile is this:
MAP
  SIZE 800 450
  EXTENT -200 0 200 100
  IMAGECOLOR 180 180 250
  UNITS DD
  debug 5
  CONFIG "MS_ERRORFILE" "\ms4w\tmp\ms_error.txt"
  FONTSET "D:\ms4w\apps\fonts\fonts.list"
PROJECTION
    "init=epsg:4326"
END
OUTPUTFORMAT
    NAME png24#AGG
    DRIVER "GD/PNG" #AGG/PNG    IMAGEMODE RGB
    MIMETYPE IMAGE/PNG
    EXTENSION PNG
    #FORMATOPTION TRANSPARENT=ON
    #FORMATOPTION INTERLANCE=OFF
END
IMAGETYPE png24 #AGG
WEB
    IMAGEPATH "\ms4w\Apache\htdocs\tmp\"
    IMAGEURL "\tmp\"
END

SYMBOL
  NAME 'cartoline'
  TYPE CARTOLINE
  LINECAP  butt
   LINEJOIN  bevel
   LINEJOINMAXSIZE 3
END

LAYER
    NAME 01
    TYPE LINE
    debug 5
    STATUS on
    TRANSPARENCY alpha
    CONNECTIONTYPE postgis
    CONNECTION "user=* dbname=* host=* port=* password=* "
    DATA "the_geom from *** using unique gid"
    processing "slose_connection=defer"
    DUMP TRUE
    CLASS
      STYLE
           COLOR 0 0 0
           SYMBOL 'cartoline'
           ANTIALIAS TRUE
        SIZE 10
        END
         STYLE
           COLOR 255 255 0
           SYMBOL 'cartoline'
           ANTIALIAS TRUE
 &nbs p;      SIZE 8
        END
    END
END
END



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to