[mapserver-users] Rendering bridges

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Wed Feb 3 12:52:52 EST 2010


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 at 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-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Lime, Steve D (DNR)
Sent: Wednesday, February 03, 2010 9:50 AM
To: tommasodb; mapserver-users at lists.osgeo.org
Subject: RE: [mapserver-users] Rendering bridges

What feature type are bridges represented with in OpenStreetMap?

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of tommasodb
Sent: Wednesday, February 03, 2010 6:08 AM
To: mapserver-users at 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 at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
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