<div dir="ltr"><div>I built a number of bus maps in the past and kept everything inside QGIS using offsets in symbology. It worked because it was a simple dataset where the number of routes sharing paths was very minimal, so I just styled each 'unique' segment individually. I also did not have a problem with aligning with the street pattern below (David's noted issue) because I styled the routes larger than the street symbology so any 'incorrect' alignment between the routes and the streets was hidden by the larger route symbology on top.</div><div><br></div><div>With a more complicated set of routes I would have probably graduated to a workflow that included a graphics application as the final step to make manual tweaks.</div><div><br></div><div>At a certain point of complexity/geographic size most transit maps stop being truly scalable and become more abstract. A good example of the debate is NYC's vignelli vs hertz. However, most transit maps (in terms of 'quantity of maps') are for small operators where scale can be maintained - so any automated tool might not 'work' for very large not-to-scale systems but would be the most useful to those with the fewest resources (small systems).</div><div><br></div><div>Anyways, tough problem.</div><div><br></div><div>Sam</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 8, 2021 at 7:48 AM Nicolas Cadieux <<a href="mailto:njacadieux.gitlab@gmail.com">njacadieux.gitlab@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi,<div><br><div>Maybe Anita Graser has something on the topic? <a href="https://anitagraser.com/" target="_blank">https://anitagraser.com/</a> She does a lot of work in visualization mass transportation. Yes, looking at line azimut by color was the way I did it in the past.  It’s still a good way when the network has a lot of snapping errors.  My algorithm with permit you find those problems. If you see a network problem my algorithm does not find, please tell me and I could work them in.<br><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux" target="_blank">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 8 oct. 2021 à 02:54, Andreas Neumann <<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">
<p>Hi,</p>
<p>Besides on what was discussed here on the list already, I can add the following information: the Swiss QGIS user group has mandated Nyall Dawson to carry out a couple of days of research exactly on this topic - kind of a feasibility study if it would be possible to draw such network maps "on the fly" / automatically - with transit maps and hiking maps (multiple parallel hiking routes) in mind.</p>
<p>I believe Nyall will work on this before the end of the year.</p>
<p>Of course we cannot promise anything - but based on the outcome of this study, there might be follow-up work pending. If there is interest from other users we might want to organize an institutional crowd funding initiative.</p>
<p>This won't help you immediately - but it might be good for you to know that the problem is on the radar. If there is a positive outcome in the study, there might be implementation work pending next year.</p>
<p>Greetings,</p>
<p>Andreas</p>
<p id="gmail-m_-8081609600601262176reply-intro">On 2021-10-07 23:53, David Strip wrote:</p>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div id="gmail-m_-8081609600601262176replybody1">
<div>For a transit map, it seems the offset would not be constant. Consider two bus routes that overlap along a single street in their routes. On that street, the two lines typically would be offset to opposite sides of the line representing the street. On the rest of the route, however, the route would be shown as lying directly over the centerline, not offset to either side. Life gets even more complicated when multiple routes overlap with different numbers of other routes at various points on the map.  Or at least that's what I've typically seen on transit maps. <br><br>On 10/7/2021 3:30 PM, Nicolas Cadieux wrote:
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">Hi,
<div>You can also trim the lines in the symbology (at least in QGIS 3.20) as well as giving it an offset.  That will insure that intersection are not overlapping in the offset.<br><br>
<div dir="ltr">Nicolas Cadieux
<div><a href="https://gitlab.com/njacadieux" rel="noopener noreferrer" target="_blank">https://gitlab.com/njacadieux</a></div>
</div>
<div dir="ltr"><br>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">Le 7 oct. 2021 à 17:23, Nicolas Cadieux <a href="mailto:njacadieux.gitlab@gmail.com" rel="noreferrer" target="_blank"><njacadieux.gitlab@gmail.com></a> a écrit :<br><br></blockquote>
</div>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div dir="ltr">Oups!  Forgot the list...<br><br>
<div dir="ltr">Nicolas Cadieux
<div><a href="https://gitlab.com/njacadieux" rel="noopener noreferrer" target="_blank">https://gitlab.com/njacadieux</a></div>
</div>
<div dir="ltr"><br>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">Le 7 oct. 2021 à 17:23, Nicolas Cadieux <a href="mailto:njacadieux.gitlab@gmail.com" rel="noreferrer" target="_blank"><njacadieux.gitlab@gmail.com></a> a écrit :<br><br></blockquote>
</div>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div dir="ltr">Hi,
<div>You can automatically draw an offset by adding a offset in the symbology.  Things get more complicated when line vectorization changes directions as the offset flips side depending on, for example, if the line is drawn from A to B or B to A.  </div>
<div> </div>
<div>In the QGIS models, <a href="https://plugins.qgis.org/" rel="noopener noreferrer" target="_blank">https://plugins.qgis.org/</a>, go to models then Fix Directional Network models 1,2 and 3.  That will help you find problems (like disconnected lines) but also identify all the lines that are flipped. You can then flip them manually or figure out an algorithm to do it automatically.</div>
<div> </div>
<div>You will also find a boring YouTube video on my YouTube channel. <a href="https://youtu.be/v61PafSByvM" rel="noopener noreferrer" target="_blank">https://youtu.be/v61PafSByvM</a><br><br>
<div dir="ltr">Nicolas Cadieux
<div><a href="https://gitlab.com/njacadieux" rel="noopener noreferrer" target="_blank">https://gitlab.com/njacadieux</a></div>
</div>
<div dir="ltr"><br>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">Le 7 oct. 2021 à 14:17, Hugh Kelley <a href="mailto:hghklly@gmail.com" rel="noreferrer" target="_blank"><hghklly@gmail.com></a> a écrit :<br><br></blockquote>
</div>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div dir="ltr">
<div dir="ltr">
<div>Hi all, </div>
<div> </div>
<div>I'm wondering if anyone has any good tricks for mapping bus routes. The key problem is defining how to offset lines where the routes overlap. </div>
<div> </div>
<div>I've handled this by chopping up the lines and offsetting in postgis according to some st_dwithins and st_intersections but wanted to see if there is anything in the wide world of QGIS that I'm not aware of. </div>
<div> </div>
<div>My understanding is that it's a fairly significant challenge to do a great job with it. A company called transitapp had an interesting blog post about it a while ago. <a href="https://archive.transitapp.com/transit-maps-apple-vs-google-vs-us-cb3d7cd2c362#.e9kcryzg1" rel="noopener noreferrer" target="_blank">https://archive.transitapp.com/transit-maps-apple-vs-google-vs-us-cb3d7cd2c362#.e9kcryzg1</a></div>
<br><br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">Hugh <br>
<div> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span><a href="mailto:Qgis-user@lists.osgeo.org" rel="noreferrer" target="_blank">Qgis-user@lists.osgeo.org</a></span><br><span>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br><span>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span></div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br><fieldset></fieldset>
<pre>_______________________________________________
Qgis-user mailing list
<a href="mailto:Qgis-user@lists.osgeo.org" rel="noreferrer" target="_blank">Qgis-user@lists.osgeo.org</a>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<br><br></div>
</div>
<br>
<div style="margin:0px;padding:0px;font-family:monospace">_______________________________________________<br>Qgis-user mailing list<br><a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br></p>


</div></blockquote></div></div></div>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div></div>