<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    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">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      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">https://gitlab.com/njacadieux</a></div>
        </div>
        <div dir="ltr"><br>
          <blockquote type="cite">Le 7 oct. 2021 à 17:23, Nicolas
            Cadieux <a class="moz-txt-link-rfc2396E" href="mailto:njacadieux.gitlab@gmail.com"><njacadieux.gitlab@gmail.com></a> a écrit :<br>
            <br>
          </blockquote>
        </div>
        <blockquote type="cite">
          <div dir="ltr">
            <meta http-equiv="content-type" content="text/html;
              charset=UTF-8">
            Oups!  Forgot the list…<br>
            <br>
            <div dir="ltr">Nicolas Cadieux
              <div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div>
            </div>
            <div dir="ltr"><br>
              <blockquote type="cite">Le 7 oct. 2021 à 17:23, Nicolas
                Cadieux <a class="moz-txt-link-rfc2396E" href="mailto:njacadieux.gitlab@gmail.com"><njacadieux.gitlab@gmail.com></a> a écrit :<br>
                <br>
              </blockquote>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <meta http-equiv="content-type" content="text/html;
                  charset=UTF-8">
                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/">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">https://youtu.be/v61PafSByvM</a><br>
                  <br>
                  <div dir="ltr">Nicolas Cadieux
                    <div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div>
                  </div>
                  <div dir="ltr"><br>
                    <blockquote type="cite">Le 7 oct. 2021 à 14:17, Hugh
                      Kelley <a class="moz-txt-link-rfc2396E" href="mailto:hghklly@gmail.com"><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">https://archive.transitapp.com/transit-maps-apple-vs-google-vs-us-cb3d7cd2c362#.e9kcryzg1</a></div>
                        <br>
                        <br>
                        <div dir="ltr" class="gmail_signature"
                          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 class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a></span><br>
                      <span>List info:
                        <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br>
                      <span>Unsubscribe:
                        <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br>
                    </div>
                  </blockquote>
                </div>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>