<div dir="auto"><div>Thank you Nicolas I will give that yutube video a look. </div><div dir="auto"><br></div><div dir="auto">I have historically handled the orientation problem by checking azimuths but actually fixing the linework may save me some time in some cases so I think there's good potential there. </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">David you're exactly right about that aspect of the problem, its not a simple thing. Add to that a preference to have a route that eventually turns right offset to the right of an overlapping route that continues straight and its even more complicated. Its also sometimes difficult to decide how to handle stop points as well. </div><div dir="auto"><br></div><div dir="auto">Would be a nice plugin to put together to convert real routes into stylized routes but I think that would be a fairly demanding long term project on my end at least. </div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, Oct 7, 2021, 5:53 PM David Strip <<a href="mailto:qgis-user@stripfamily.net" target="_blank" rel="noreferrer">qgis-user@stripfamily.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <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">
      
      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="noreferrer noreferrer" target="_blank">https://gitlab.com/njacadieux</a></div>
        </div>
        <div dir="ltr"><br>
          <blockquote type="cite">Le 7 oct. 2021 à 17:23, Nicolas
            Cadieux <a href="mailto:njacadieux.gitlab@gmail.com" rel="noreferrer noreferrer" target="_blank"><njacadieux.gitlab@gmail.com></a> a écrit :<br>
            <br>
          </blockquote>
        </div>
        <blockquote type="cite">
          <div dir="ltr">
            
            Oups!  Forgot the list…<br>
            <br>
            <div dir="ltr">Nicolas Cadieux
              <div><a href="https://gitlab.com/njacadieux" rel="noreferrer noreferrer" target="_blank">https://gitlab.com/njacadieux</a></div>
            </div>
            <div dir="ltr"><br>
              <blockquote type="cite">Le 7 oct. 2021 à 17:23, Nicolas
                Cadieux <a href="mailto:njacadieux.gitlab@gmail.com" rel="noreferrer noreferrer" target="_blank"><njacadieux.gitlab@gmail.com></a> a écrit :<br>
                <br>
              </blockquote>
            </div>
            <blockquote type="cite">
              <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><br>
                </div>
                <div>In the QGIS models, <a href="https://plugins.qgis.org/" rel="noreferrer 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><br>
                </div>
                <div>You will also find a boring YouTube video on my
                  YouTube channel. <a href="https://youtu.be/v61PafSByvM" rel="noreferrer noreferrer" target="_blank">https://youtu.be/v61PafSByvM</a><br>
                  <br>
                  <div dir="ltr">Nicolas Cadieux
                    <div><a href="https://gitlab.com/njacadieux" rel="noreferrer noreferrer" target="_blank">https://gitlab.com/njacadieux</a></div>
                  </div>
                  <div dir="ltr"><br>
                    <blockquote type="cite">Le 7 oct. 2021 à 14:17, Hugh
                      Kelley <a href="mailto:hghklly@gmail.com" rel="noreferrer noreferrer" target="_blank"><hghklly@gmail.com></a> a écrit :<br>
                      <br>
                    </blockquote>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div>Hi all, <br>
                        </div>
                        <div><br>
                        </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. <br>
                        </div>
                        <div><br>
                        </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. <br>
                        </div>
                        <div><br>
                        </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="noreferrer noreferrer" target="_blank">https://archive.transitapp.com/transit-maps-apple-vs-google-vs-us-cb3d7cd2c362#.e9kcryzg1</a></div>
                        <br>
                        <br>
                        <div dir="ltr" data-smartmail="gmail_signature">
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div dir="ltr">Hugh <br>
                                      <div><br>
                                      </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 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="noreferrer 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="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br>
                    </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 noreferrer" target="_blank">Qgis-user@lists.osgeo.org</a>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
    <br>
    <br>
  </div>

</blockquote></div></div></div>