Hi,
If you draw it in two layers, one with the colour and width you want for
the bridges, and the other with the road line to go on top, you will
essentially cover up the end caps. The bridges layer would have to come
first in the mapfile, followed by the road line layer.
Christy
--
Christy Nieman
GIS Technician
DM Solutions Group, Inc.
Email: cnie...@dmsolutions.ca
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca
On 02/03/2010 12:52 PM, Lime, Steve D (DNR) wrote:
I don't believe this will get you the desired effect. You'll get the lines but
you'll also get the line end caps. That's the real trick, turning those off.
I'm not sure that you can.
Steve
-----Original Message-----
From: Fawcett, David (MPCA)
Sent: Wednesday, February 03, 2010 10:13 AM
To: Lime, Steve D (DNR); tommasodb; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Rendering bridges
The feature that he is referencing is just a line segment with an additional
attribute of 'bridge=yes'.
* bridge: yes
* highway: trunk
* layer: 1
* name: Manchester Road
* ref: A56
If you just wanted to use the road data and not create an additional bridges
data set, you would likely need to split up the road features so that the
segment that is a bridge is an individual feature.
I haven't worked with any shapefile extracts from OSM, so the data may already
be like this.
Assuming that you have a line shapefile that has a column called 'bridge', you
could set up two classes in your roads layer. The first one would have an
expression like ('[bridge] = 'yes') and the second class wouldn't have an
expression so it would catch the rest of the lines.
In the first class, you would stack two lines, the bottom one being the color
of your bridge and wider than the roads line that will go on top of it.
David.
-----Original Message-----
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime, Steve D
(DNR)
Sent: Wednesday, February 03, 2010 9:50 AM
To: tommasodb; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Rendering bridges
What feature type are bridges represented with in OpenStreetMap?
-----Original Message-----
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of tommasodb
Sent: Wednesday, February 03, 2010 6:08 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Rendering bridges
Hallo list,
how can I render road bridges, like in mapnik?
(Example:
http://www.openstreetmap.org/?lat=53.398022&lon=-2.352222&zoom=18&layers=null)
Which symbol can I use?
Greets,
Tom
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users