<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">Hey Philippe,<br>
<br>
edges (and also nodes) is one big 'array' as explained in the
developer guide:<br>
<a
href="https://github.com/graphhopper/graphhopper/wiki/Developers">https://github.com/graphhopper/graphhopper/wiki/Developers</a>
(Technical Overview)<br>
So, every edge has the same number of properties. E.g. the
distance, but also an integer reference to the wayGeometry.<br>
<br>
the loc2index serves the purpose of retrieving a node-id from a
gps coordinate. See Location2IDIndex.<br>
Also this file is just a big integer array (although this will
change in the upcomming push) and it is a simplistic quadtree.<br>
<br>
To integrate a different source other than OpenStreetMap you will
need to adjust the import (see the OSMReader* classes). <br>
E.g. create edges like this<br>
graph.edge(a, b, distance,
flagsLikeVelocityAndDirection).wayGeometry(listOfCoordinatesBetween_a_and_b)<br>
<br>
and add node information like so:<br>
graph.setNode(nodeIndex, latitude, longitude)<br>
<br>
If you want to store more information than this you'll have to
extend GraphStorage - see LevelGraphStorage or GraphStorage3D.<br>
<br>
Let me know if you need more information!<br>
<br>
Regards,<br>
Peter.<br>
<br>
<br>
</div>
<blockquote
cite="mid:E1ABDE6824074549B65D0ECFA1FD9A5F4A339A57@DB3PRD0511MB556.eurprd05.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texte de bulles Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.TextedebullesCar
{mso-style-name:"Texte de bulles Car";
mso-style-priority:99;
mso-style-link:"Texte de bulles";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Peter,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">We would like
to start our TomTom data’s integration into GraphHopper.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Could you
describe us how your data’s are organised on the file
system?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Could you
describe the different concept: edge, nodes, loc2index, …?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thank you for
your help.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards.</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span
style="font-size:12.0pt;color:#1F497D;mso-fareast-language:EN-GB"
lang="EN-US">Suray Philippe<o:p></o:p></span></b></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;color:#1F497D;mso-fareast-language:EN-GB"
lang="EN-US">Product & Project Manager<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:gray;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="color:#1F497D;mso-fareast-language:FR-BE"
lang="EN-US">Market-IP –</span></b><i><span
style="color:#1F497D;mso-fareast-language:FR-BE"
lang="EN-US">
</span></i><i><span
style="color:#404040;mso-fareast-language:FR-BE"
lang="EN-US">Creating Mobile Intelligence<o:p></o:p></span></i></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;color:#1F497D;mso-fareast-language:FR-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;color:#1F497D;mso-fareast-language:FR-BE">Phone :
+32 81 33 11 11<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:FR-BE"
lang="FR-BE"><a moz-do-not-send="true"
href="http://www.market-ip.com/"><span style="color:blue"
lang="EN-GB">www.market-ip.com</span></a></span><span
style="color:#1F497D;mso-fareast-language:FR-BE"> –
</span><span style="color:#1F497D;mso-fareast-language:FR-BE"
lang="FR-BE"><a moz-do-not-send="true"
href="http://www.telefleet.com/"><span style="color:blue"
lang="EN-GB">www.telefleet.com</span></a></span><span
style="color:#1F497D;mso-fareast-language:FR-BE"> –
</span><span style="color:#1F497D;mso-fareast-language:FR-BE"
lang="FR-BE"><a moz-do-not-send="true"
href="http://www.geoplanning.net/"><span
style="color:blue" lang="EN-GB">www.geoplanning.net</span></a></span><span
style="color:#1F497D;mso-fareast-language:FR-BE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-BE"><a
moz-do-not-send="true"
href="http://www.linkedin.com/groups/MarketIP-4289716?gid=4289716&trk=hb_side_g"><span
style="color:#1F497D;mso-fareast-language:EN-GB;text-decoration:none"
lang="EN-GB"><img id="Image_x0020_1"
src="cid:part5.08070205.07070608@yahoo.de"
alt="Description : Description :
cid:image003.png@01CD5521.849F3340" border="0"
height="25" width="30"></span></a></span><span
style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-BE"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/graphhopper">http://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
GraphHopper.com - Your way is our destination!</pre>
</body>
</html>