<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
As requested:
<div class=""><br class="">
</div>
<div class="">GitHub here:</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://gist.github.com/bblammo/a526d34a7bda4fdffc44260c0477840c#file-centerlines-map" class="">https://gist.github.com/bblammo/a526d34a7bda4fdffc44260c0477840c#file-centerlines-map</a></div>
<div class=""><br class="">
</div>
<div class="">I’ll add in some screenshots too.</div>
<div class=""><br class="">
</div>
<div class="">bobb</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 8, 2018, at 3:53 PM, Dan Little <<a href="mailto:theduckylittle@gmail.com" class="">theduckylittle@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hey Bob,
<div class=""><br class="">
</div>
<div class="">Is there any chance you can start a GitHub repo with an appropriate license and maybe some screenshots for this? It's hard to use dropbox as a collaboration platform...</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class=""><br class="">
</div>
<div class="">-Duck</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Mon, Jan 8, 2018 at 1:39 PM, Basques, Bob (CI-StPaul)
<span dir="ltr" class=""><<a href="mailto:bob.basques@ci.stpaul.mn.us" target="_blank" class="">bob.basques@ci.stpaul.mn.us</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;line-break:after-white-space" class="">Tp whom it may concern . . .
<div class=""><br class="">
</div>
<div class="">I’ve recently been optimzing some MapServer layer MapFiles in our system for TIGER based centerline data to take advantage of the newer capabilities of MapServer. The MapFile I’ve been working on recently was just over 10 years old!! Anyway,
lot’s of new stuff for optimizing the Mapfile and I wanted to pass the results by the list to see if there is anything I may have missed.</div>
<div class=""><br class="">
</div>
<div class="">For long time list users, you may remember my post in the past about setting up a “googlish” type layer style for MapServer way back when. This is my refactoring of that MapFile to the new look and feel of the Google style(s). </div>
<div class=""><br class="">
</div>
<div class="">This mapfile has mutiple CLASSes with many STYLE settings per CLASS. So it ens up a bit complicated.</div>
<div class=""><br class="">
</div>
<div class="">I’ve also switch all data sourcing over from SHP file to Postgres/PostGIS as well as consolidating the all the DATA connection calls into a single call. While the old file ran very fast, this one comes back almost instantly now, even for very
large images.</div>
<div class=""><br class="">
</div>
<div class="">Here are a couple of fragments of the MAPFILE that I’ve currently set up, and just looking for thoughts on improving it even more.</div>
<div class=""><br class="">
</div>
<div class="">Sample output is here:</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://www.dropbox.com/s/epdzrod6yvg7143/centerlines_stpaul_public.2.map?dl=0" target="_blank" class="">https://www.dropbox.com/s/<wbr class="">epdzrod6yvg7143/centerlines_<wbr class="">stpaul_public.2.map?dl=0</a></div>
<div class=""><br class="">
</div>
<div class=""> and the fragment below is for the Interstate roads, darker yellow color and Hwy Shields..</div>
<div class=""><br class="">
</div>
<div class="">Thanks</div>
<div class=""><br class="">
</div>
<div class="">bobb</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<div class=""><dt style="color: rgb(0, 0, 0); font-family: 'Comic Sans MS'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="">
<div style="color: rgb(0, 0, 0); font-family: 'Comic Sans MS'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="">
</div>
<br class="Apple-interchange-newline">
</dt></div>
<br class="">
</div>
</body>
</html>