<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Daniel,<br>
    <br>
    many thanks for your answer!<br>
    Now I understand... Unfortunately, that makes things much more
    complicated :-(<br>
    I though OSRM, clever as it is, would do the noding itself and not
    just rely on the OSM data.<br>
    <br>
    So I guess I have to build a topology or at least node my custom
    input data beforehand, in order to be able to create a noded OSM
    dataset.<br>
    Well, I'll try that... :-)<br>
    <br>
    Thanks again,<br>
    Matthias<br>
    <br>
    <div class="moz-cite-prefix">On 15.10.2015 17:34, Daniel Patterson
      wrote:<br>
    </div>
    <blockquote
      cite="mid:5E440E95-1993-4F2C-88A9-5A01E06C1E1E@mapbox.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div class="">Hi Matthias,</div>
      <div class=""><br class="">
      </div>
      <div class="">  Emil is right, your ways are not connected.  The
        connection needs to happen like this:</div>
      <div class=""><br class="">
      </div>
      <div class="">  <way id="1"></div>
      <div class="">    <nd ref="1"/></div>
      <div class="">    <nd ref="2"/></div>
      <div class="">  </way></div>
      <div class=""><br class="">
      </div>
      <div class="">  <way id="2"></div>
      <div class="">    <nd ref="2"/>       <----- same node as
        in way 1</div>
      <div class="">    <nd ref="3"/></div>
      <div class="">  </way></div>
      <div class=""><br class="">
      </div>
      <div class="">  It is not enough to just have nodes at the same
        lat/lon, you actually have to refer to the same <node> for
        ways to be joined.</div>
      <div class="">  If you fix that in your file, you should be able
        to route on it.</div>
      <div class=""><br class="">
      </div>
      <div class="">daniel</div>
      <br class="">
      <div>
        <blockquote type="cite" class="">
          <div class="">On Oct 15, 2015, at 8:28 AM, Matthias Loeks <<a
              moz-do-not-send="true" href="mailto:matthias@loeks.net"
              class=""><a class="moz-txt-link-abbreviated" href="mailto:matthias@loeks.net">matthias@loeks.net</a></a>> wrote:</div>
          <br class="Apple-interchange-newline">
          <div class=""><span style="font-family: Helvetica; font-size:
              12px; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              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;
              background-color: rgb(255, 255, 255); float: none;
              display: inline !important;" class="">Hi Emil,</span><br
              style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">
            <br style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">
            <span style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255); float: none;
              display: inline !important;" class="">thanks for your
              answer.</span><br style="font-family: Helvetica;
              font-size: 12px; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              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;
              background-color: rgb(255, 255, 255);" class="">
            <span style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255); float: none;
              display: inline !important;" class="">Well, they look
              correct in JOSM and I paid attention to add the nodes and
              then the node relations in the ways properly when
              assembling the OSM XML.</span><br style="font-family:
              Helvetica; font-size: 12px; font-style: normal;
              font-variant: normal; font-weight: normal; letter-spacing:
              normal; line-height: 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; background-color: rgb(255,
              255, 255);" class="">
            <br style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">
            <span style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255); float: none;
              display: inline !important;" class="">Does OSRM rely on
              any additional OSM nodes at the junctions? Doesn't it node
              the graph itself anyway?</span><br style="font-family:
              Helvetica; font-size: 12px; font-style: normal;
              font-variant: normal; font-weight: normal; letter-spacing:
              normal; line-height: 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; background-color: rgb(255,
              255, 255);" class="">
            <br style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">
            <span style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255); float: none;
              display: inline !important;" class="">Cheers,</span><br
              style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">
            <span style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255); float: none;
              display: inline !important;" class="">Matthias</span><br
              style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">
            <br style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">
            <div class="moz-cite-prefix" style="font-family: Helvetica;
              font-size: 12px; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              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;
              background-color: rgb(255, 255, 255);">On 15.10.2015
              14:20, Emil Tin wrote:<br class="">
            </div>
            <blockquote
              cite="mid:E7D1D3CD-226D-4418-B9E5-22266912B852@tmf.kk.dk"
              type="cite" style="font-family: Helvetica; font-size:
              12px; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              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;
              background-color: rgb(255, 255, 255);" class="">
              <div class="">
                <div style="font-size: 12pt; font-family: Calibri,
                  sans-serif;" class="">
                  <div class="">Are you sure segments are connected at
                    the noded?</div>
                  <div class=""><br class="">
                  </div>
                  <div class="">Sendt fra min HTC-telefon</div>
                  <br class="">
                  <div id="x_htc_header" class="">----- Reply message
                    -----<br class="">
                    Fra: "Matthias Loeks"<span
                      class="Apple-converted-space"> </span><a
                      moz-do-not-send="true"
                      class="moz-txt-link-rfc2396E"
                      href="mailto:matthias@loeks.net"><a class="moz-txt-link-rfc2396E" href="mailto:matthias@loeks.net"><matthias@loeks.net></a></a><br
                      class="">
                    Til:<span class="Apple-converted-space"> </span><a
                      moz-do-not-send="true"
                      class="moz-txt-link-rfc2396E"
                      href="mailto:osrm-talk@openstreetmap.org"><a class="moz-txt-link-rfc2396E" href="mailto:osrm-talk@openstreetmap.org">"osrm-talk@openstreetmap.org"</a></a><span
                      class="Apple-converted-space"> </span><a
                      moz-do-not-send="true"
                      class="moz-txt-link-rfc2396E"
                      href="mailto:osrm-talk@openstreetmap.org"><a class="moz-txt-link-rfc2396E" href="mailto:osrm-talk@openstreetmap.org"><osrm-talk@openstreetmap.org></a></a><br
                      class="">
                    Emne: [OSRM-talk] Using custom data<br class="">
                    Dato: tor, okt. 15, 2015 13:19</div>
                </div>
                <br class="">
              </div>
              <font class="" size="2"><span style="font-size: 10pt;"
                  class="">Hi list,<br class="">
                  <br class="">
                  I'm running a little experiment with using custom geo
                  data for OSRM.<br class="">
                  Following the advice of [1], I converted my data to
                  OSM XML format, for <br class="">
                  now neglecting all kinds of tags/attributes etc. (this
                  could be done later).<br class="">
                  You can find the resulting OSM file here: <br class="">
                  <a moz-do-not-send="true"
                    href="https://dl.dropboxusercontent.com/u/56544580/extract.osm"
                    class="">https://dl.dropboxusercontent.com/u/56544580/extract.osm</a><br
                    class="">
                  The file can be viewed correctly using JOSM.<br
                    class="">
                  <br class="">
                  I also created a very basic profile: <br class="">
                  <a moz-do-not-send="true"
                    href="https://dl.dropboxusercontent.com/u/56544580/custom.lua"
                    class="">https://dl.dropboxusercontent.com/u/56544580/custom.lua</a><br
                    class="">
                  This profile should just contain the necessary
                  variables read by <br class="">
                  osrm-extract. It should not exclude any of the OSM
                  nodes or ways, just <br class="">
                  let them all pass through to the routing graph. Also,
                  there should be no <br class="">
                  turn restrictions.<br class="">
                  <br class="">
                  The processing chain (extract, prepare) runs
                  successfully and I can also <br class="">
                  start the osrm-routed server.<br class="">
                  The locate and nearest services are working fine.
                  However, the viaroute <br class="">
                  service returns only a valid route, if just one
                  segment is involved. As <br class="">
                  soon as there are junctions, no route can be
                  calculated (code 207).<br class="">
                  <br class="">
                  Can this be related to the turn restrictions? I had
                  hoped they would be <br class="">
                  entirely ignored if switched off in the profile.<br
                    class="">
                  Or am I missing something else important in my profile
                  or data?<br class="">
                  Are there maybe any OSM tags which are absolutely
                  required by OSRM <br class="">
                  directly, even if a fully customised profile is being
                  used?<br class="">
                  <br class="">
                  Any help or suggestions on this are greatly
                  appreciated!<br class="">
                  <br class="">
                  Many thanks and best regards,<br class="">
                  Matthias<br class="">
                  <br class="">
                  --<br class="">
                  [1] - <br class="">
                  <a moz-do-not-send="true"
href="https://lists.openstreetmap.org/pipermail/osrm-talk/2015-May/000844.html"
                    class="">https://lists.openstreetmap.org/pipermail/osrm-talk/2015-May/000844.html</a><br
                    class="">
                  <br class="">
                  <br class="">
                  _______________________________________________<br
                    class="">
                  OSRM-talk mailing list<br class="">
                  <a moz-do-not-send="true"
                    class="moz-txt-link-abbreviated"
                    href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br
                    class="">
                  <a moz-do-not-send="true"
                    href="https://lists.openstreetmap.org/listinfo/osrm-talk"
                    class="">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br
                    class="">
                </span></font><br class="">
              <fieldset class="mimeAttachmentHeader"></fieldset>
              <br class="">
              <pre class="" wrap="">_______________________________________________
OSRM-talk mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/osrm-talk">https://lists.openstreetmap.org/listinfo/osrm-talk</a>
</pre>
            </blockquote>
            <span style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255); float: none;
              display: inline !important;" class="">_______________________________________________</span><br
              style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">
            <span style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255); float: none;
              display: inline !important;" class="">OSRM-talk mailing
              list</span><br style="font-family: Helvetica; font-size:
              12px; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              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;
              background-color: rgb(255, 255, 255);" class="">
            <a moz-do-not-send="true"
              href="mailto:OSRM-talk@openstreetmap.org"
              style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">OSRM-talk@openstreetmap.org</a><br
              style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">
            <a moz-do-not-send="true"
              href="https://lists.openstreetmap.org/listinfo/osrm-talk"
              style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br
              style="font-family: Helvetica; font-size: 12px;
              font-style: normal; font-variant: normal; font-weight:
              normal; letter-spacing: normal; line-height: 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;
              background-color: rgb(255, 255, 255);" class="">
          </div>
        </blockquote>
      </div>
      <br class="">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OSRM-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/osrm-talk">https://lists.openstreetmap.org/listinfo/osrm-talk</a>
</pre>
    </blockquote>
  </body>
</html>