[mapserver-users] mapserver publish road

thomas bonfort thomas.bonfort at gmail.com
Tue Jul 19 08:31:21 EDT 2011


2011/7/19 Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>:
> 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.

Doing so this way would also result in the black lines disappearing.

--
thomas

>
> -Jukka Rahkonen-
>
>
>  赫玄惠 [xiaoshitou1986126 at 126.com] wrote:
>
>> I encounter a question. use one  same shape file, when I use it in mapserver it like
> [cid:752891ff$1$13140d5bf06$Coremail$xiaoshitou1986126 at 126.com]
> but in udig it like
> [cid:3a893870$2$13140d5bf06$Coremail$xiaoshitou1986126 at 126.com]
> 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
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list