<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Exactly, an edge is just a connection
      between two junctions.<br>
      <br>
      Also have a look into the <a
href="http://karussell.wordpress.com/2014/01/23/graphhopper-news-article-in-java-magazine-and-fosdem-2014/">Java
        Magazine article</a> where I described this issue. E.g. using
      osm ids would require us to use a HashMap which requires more RAM
      (in an array you don't need to store the indices!) and is
      potentially slower than an array.<br>
      <br>
      If you need them nevertheless you can create a file on disc while
      import to map internal ints to OSM long IDs<br>
      <br>
      <pre wrap="">> non deterministic edge IDs.</pre>
      BTW: these IDs are deterministic in a sense that an identical OSM
      file produces exactly the same graph file with the same IDs. No
      random behaviour involved!<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
    </div>
    <blockquote cite="mid:1044331730843202094@unknownmsgid" type="cite">
      <blockquote type="cite">
        <pre wrap="">I was just wondering why the OSM UIDs are not used instead of iterative
self generated non deterministic edge IDs.
</pre>
      </blockquote>
      <pre wrap="">
Because a single OSM way ID might yield more than one edge?

Bye
Frederik

</pre>
    </blockquote>
    <br>
  </body>
</html>