[mapserver-users] mapserver publish road
赫玄惠
xiaoshitou1986126 at 126.com
Mon Jul 18 22:19:35 PDT 2011
I encounter a question. use one same shape file, when I use it in mapserver it like
but in udig it like
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
SIZE 8
END
END
END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110719/3a5ff46a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 11.png
Type: image/png
Size: 688 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110719/3a5ff46a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 22.png
Type: image/png
Size: 3831 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110719/3a5ff46a/attachment-0001.png>
More information about the MapServer-users
mailing list