<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">Hi Nicolas,<br>
      <br>
    </div>
    <blockquote
cite="mid:0317aa72863e41f8a3fe61f943e68483@AMXPR05MB118.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)">
      <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;}
/* 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">Hello,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span lang="EN-US">I developed a custom
            graph reader for our need which worked fine as I could
            create and use our own data to create a graph used by
            GraphHopper.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">When I last synced on
            Friday with the /master, I saw that some OSM graph
            initialization was moved from OsmReader to the GrahHopper
            class.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">For those like us who
            use custom data source and reader this require quite an
            amount of modification to use our graph and this will become
            hard to maintain.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">What I suggest is to
            create a GraphFactory class that would return a graph making
            abstraction of the data source.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Several graph reader
            implementations could then easily be added to this factory
            for an easy integration.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">A property would be
            added to guide the factory in choosing the right
            implementation according everyone’s need.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Are you interested in
            such feature ?</span><br>
        </p>
      </div>
    </blockquote>
    <br>
    Yes, this would be valueable! Feel free to provide a pull request
    and we can discuss the details there!<br>
    <br>
    Regards,<br>
    Peter.<br>
  </body>
</html>