<div dir="ltr">Ok, thank you for your reply.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 February 2014 15:03, Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hey Marinho,<br>
      <br>
      geocoding (getting a GPS coordinate from an address) is currently
      not the scope of GraphHopper.<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
      <br>
    </div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>Hello,<br>
            <br>
          </div>
          I am developing an application for Android that must have
          offline map and routing features.<br>
          After some search on Internet, I found the libraries mapsforge
          and graphhopper.<br>
        </div>
        <div>I saw the example provided by graphhopper's webpage and
          managed to build my own app using those libraries. But what I
          would like to know is how I can enter the start and end points
          for routing by using address names.<br>
        </div>
        <div>I read the javadocs of graphhopper and saw some classes
          related to data storage and name indexes and in the sdcard
          there are some binary files called "names" and
          "locationIndex", so I guess this should be related to what I
          want.<br>
          <br>
        </div>
        <div>I tried to get access to such files by doing this:<br>
          <br>
          String mapsFolder = 
          Environment.getExternalStorageDirectory().getPath() +
          "/graphhopper/maps/";<br>
          MMapDirectory mapDirectory = new MMapDirectory(mapsFolder);<br>
          NameIndex nameIndex = new NameIndex(mapDirectory);<br>
                  <br>
          String name = nameIndex.get(0);<br>
          log(name);<br>
          <br>
          <br>
        </div>
        <div>And what I got on LogCat was:<br>
          <br>
          02-04 13:49:50.514: I/Marinho(2507): found graph
          LevelGraphStorage|car|MMAP_STORE|2,3,2,2,2, nodes:1196761<br>
          <br>
          <br>
          <br>
        </div>
        <div>So, definitely it was not what I expected.<br>
          <br>
        </div>
        <div>Could someone tell whether this is the right direction or
          not, please ?<br>
          <br>
        </div>
        <div>Regards,<br>
          <br>
        </div>
        <div>Marinho<br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><div class="im"><pre>_______________________________________________
GraphHopper mailing list
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </div></blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>