<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">Also there is ongoing development at
      mapsforge where the rewrite branch supports offline maps on the
      desktop via AWT/Swing.<br>
      <br>
      If you need a solution now there was already desktop support for
      mapsforge but they dropped it:<br>
<a class="moz-txt-link-freetext" href="http://sourceforge.net/apps/mediawiki/osm4j/index.php?title=Searcher">http://sourceforge.net/apps/mediawiki/osm4j/index.php?title=Searcher</a><br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
    </div>
    <blockquote
cite="mid:3dbfb3dd7fb14a70a81d2dbedcecf5c9@AMXPR05MB056.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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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";}
span.shorttext
        {mso-style-name:short_text;}
span.hps
        {mso-style-name:hps;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
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-size:10.0pt;}
@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="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi
            Dmitriy<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">GraphHopper only meant to compute routes
            between two points, displaying it on a map is a hole other
            story.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">However, GraphHopper come with a nice web
            application that can create and display routes on a map.
            This is the graphhopper-web module.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">Here is how to use it
            <a moz-do-not-send="true"
              href="https://github.com/graphhopper/graphhopper/tree/master/web">https://github.com/graphhopper/graphhopper/tree/master/web</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">For desktop application you have to create your
            own and the hardest part will probably be to display a map
            background.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">This can be done by either getting this map
            from internet through a API’s like OSM, MapQuest, Google and
            some other or creating your own map from data with a map
            rendering tool like Mapnik, the latest requiring more
            effort.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US">Regards,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
            lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Nicolas
              GILLET<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
          <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></b></p>
          <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Market-IP
                –</span></b><i><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"></span></i><i><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#404040">Creating
                Mobile Intelligence</span></i><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Phone :
              +32 81 33 11 11
              <o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Fax :
              +32 81 33 11 10<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a
                moz-do-not-send="true" href="http://www.market-ip.com/">www.market-ip.com</a>
              –
              <a moz-do-not-send="true" href="http://www.telefleet.com/">www.telefleet.com</a>
              – <a moz-do-not-send="true"
                href="http://www.geoplanning.net/">
                www.geoplanning.net</a> – <a moz-do-not-send="true"
                href="http://www.drivexpert.net/">www.drivexpert.net</a>
              <o:p></o:p></span></p>
          <p class="MsoNormal"><a moz-do-not-send="true"
href="http://www.linkedin.com/groups/MarketIP-4289716?gid=4289716&trk=hb_side_g"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;text-decoration:none"><img
                  id="Image_x0020_1"
                  src="cid:part6.08040204.02000201@yahoo.de"
                  alt="Description : cid:image003.png@01CD5521.849F3340"
                  border="0" height="25" width="30"></span></a><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                  lang="FR">De :</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
                lang="FR"> Дмитрий Пучков [<a class="moz-txt-link-freetext" href="mailto:d-puchkov@mail.ru">mailto:d-puchkov@mail.ru</a>]
                <br>
                <b>Envoyé :</b> mercredi 3 juillet 2013 08:09<br>
                <b>À :</b> <a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
                <b>Objet :</b> [GraphHopper] Drawing map and route<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Hello!<br>
          Tell me please, how to start desktop application with<span
            class="shorttext"> </span>
          <span class="hps"><span lang="EN">a rendered</span></span><span
            class="shorttext"><span lang="EN">
            </span></span><span class="hps"><span lang="EN">map</span></span>?<br>
          <br>
          I work at eclipse, and i have four projects imports from <a
            moz-do-not-send="true"
            href="https://github.com/graphhopper/graphhopper">
            https://github.com/graphhopper/graphhopper</a>:<br>
          1)graphhopper<br>
          2)graphhopper-parrent<br>
          3)graphhopper-tools<br>
          4)graphhopper-web<br>
          <br>
          In my class I do next :<br>
          <br>
           GraphHopper gh;<br>
           private static final String ghLoc =
          "/home/dmitriy/graphhopper/core/target";<br>
           private static final String testOsm =
          "/home/dmitriy/graphhopper/russia-european-part-latest.osm.pbf";<br>
           gh = new GraphHopper().setInMemory(true,
          false).setEncodingManager(<br>
                          new
          EncodingManager("CAR")).setCHShortcuts(true,
          true).setGraphHopperLocation(<br>
                          ghLoc).setOSMFile(testOsm);<br>
                  gh.importOrLoad();<br>
                  GHResponse ph = gh.route(new GHRequest(51.2492152,
          9.4317166, 51.2, 9.4).setAlgorithm("dijkstrabi"));<br>
          <br>
          <span class="hps"><span lang="EN">It</span></span><span
            lang="EN"> <span class="hps">
              works fine</span>, but I <span class="hps">can not
              understand</span> <span class="hps">
              how</span> <span class="hps">to run</span> <span
              class="hps">a graphical</span> <span class="hps">
              map and</span> <span class="hps">draw a</span> <span
              class="hps">route</span> <span class="hps">
              on it.</span><br>
            <span class="hps">Would you please explain to me? </span><br>
            <span class="hps">I will be very grateful!</span><br>
          </span>-- <br>
          Dmitriy Puchkov<o:p></o:p></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>
  </body>
</html>