<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
</head>
<body>
<br>
Check out our MAP files for the City of Amsterdam reference map at <br>
https://github.com/Amsterdam/mapserver/blob/develop/kbk50.map for the 1:50K map. The GROUP "lijnen" is the one you are looking for: it renders all casing from streets to regional thoroughfares, followed by the fills for the same lines. We then render all railroads
and then the highways come last: again, we render the casings for all lines and then we finish with the fills in its own layer. This dataset doesn't contain an attribute for z-ordering unfortunately.
<br>
<br>
For the 1:5K and larger, there is the https://github.com/Amsterdam/mapserver/blob/develop/bgt.map MAP file that does have an attribute for z-ordering that we use to create views per z-level, e.g. "bgt.wegdeel_vlak0" for z-level 0.<br>
<br>
Results can at https://data.amsterdam.nl/. Hope these MAP files give you some ideas how to go about rendering transportation networks.<br>
<br>
Best,<br>
<br>
Edward<br>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> mapserver-users <mapserver-users-bounces@lists.osgeo.org> on behalf of Lime, Steve D (MNIT) <steve.lime@state.mn.us><br>
<b>Sent:</b> Tuesday, September 18, 2018 11:03:55 PM<br>
<b>To:</b> Basques, Bob (CI-StPaul); mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] Ideas about how to render over/under roadways/bridges in maps?</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<meta name="x_Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:"Comic Sans MS"}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif}
a:x_link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
span.x_apple-converted-space
{}
span.x_EmailStyle18
{font-family:"Calibri",sans-serif;
color:#1F497D}
.x_MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Most of the battle is identifying the over/under in the data. Have you got that figured out? I’d think it would be a matter of sorting: under, neither under
or over and then over. Probably with no line caps.</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> mapserver-users [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Basques, Bob (CI-StPaul)<br>
<b>Sent:</b> Tuesday, September 18, 2018 11:14 AM<br>
<b>To:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> [mapserver-users] Ideas about how to render over/under roadways/bridges in maps?</span></p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">All, </p>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">I’m looking for general techniques in how to best manage rendering of over/under roadway and rail road bridges, etc.</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">My first thought was to use some sort of special overlay layer to handle this. But maybe a database appraoch might be better. I also start to fall into the problem of having a lot of transporation related layers, Streets and Railroads
obviously, but the not the so obvious are Alleys, Sidewalks, Park Trails/Paths, Bike Routes, tunnels, etc. </p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">How to make these all stack nicely. I generally maintain these things all in thier own grouping right now as separate datasets. They originate from separate authors and are maintained that way too. Which is why I was thinking that
a DB approach might be the best to make the Z-indexing work.</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">Thoughts?</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">Thanks</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal">bobb</p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<p class="x_MsoNormal"> </p>
<div>
<div>
<p class="x_MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:9.0pt; font-family:"Comic Sans MS"; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:9.0pt; font-family:"Comic Sans MS"; color:black">"Reality is merely an illusion, albeit a very persistent one."</span></p>
<p class="x_MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt; font-family:"Comic Sans MS"; color:black">- Albert Einstein<span class="x_apple-converted-space"> </span>
</span></p>
<div>
<p class="x_MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt; font-family:"Comic Sans MS"; color:black"> </span></p>
</div>
</div>
<p class="x_MsoNormal"> </p>
</div>
<p class="x_MsoNormal"> </p>
</div>
</div>
</div>
</body>
</html>