<div dir="ltr">Hi Petter,<div>thanks for the quick response :)</div><div><br></div><div>I have a few questions related of what you sayd,</div><div>I'm making the app for android offline, so i'm using the </div><div>
<br></div><div>GraphHopper tmpHopp = new GraphHopper().forMobile(); <br></div><div><br></div><div>I probably cant use as it is showed in the <span style="font-family:arial,sans-serif;font-size:13px">GraphHopperTest</span><span style="font-family:arial,sans-serif;font-size:13px"> </span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><pre style="margin-top:0px;margin-bottom:0px"><div class="" id="LC126" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px;padding-left:10px">
<span class="">instance</span> <span class="" style="font-weight:bold">=</span> <span class="" style="font-weight:bold">new</span> <span class="">GraphHopper</span><span class="" style="font-weight:bold">().</span><span class="" style="color:rgb(0,128,128)">init</span><span class="" style="font-weight:bold">(</span></div>
<div class="" id="LC127" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px;padding-left:10px">                <span class="" style="font-weight:bold">new</span> <span class="" style="color:rgb(153,0,0);font-weight:bold">CmdArgs</span><span class="" style="font-weight:bold">().</span></div>
<div class="" id="LC128" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px;padding-left:10px">                <span class="">put</span><span class="" style="font-weight:bold">(</span><span class="" style="color:rgb(221,17,68)">"osmreader.acceptWay"</span><span class="" style="font-weight:bold">,</span> <span class="" style="color:rgb(221,17,68)">"FOOT,CAR"</span><span class="" style="font-weight:bold">). ...</span></div>
<div class="" id="LC128" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px;padding-left:10px"><span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal;white-space:normal"><br>
</span></div><div class="" id="LC128" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px;padding-left:10px"><span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal;white-space:normal"><br>
</span></div><div class="" id="LC128" style="padding-left:10px"><font face="arial"><span style="white-space:normal">I used the </span></font><span style="font-family:arial,sans-serif;font-size:13px;white-space:normal">Java API and try to do it in the code</span></div>
<div class="" id="LC128" style="padding-left:10px"><span style="font-family:arial,sans-serif;font-size:13px;white-space:normal"><br></span></div><span style="font-family:arial,sans-serif;font-size:13px;white-space:normal">hopper.setEncodingManager(new EncodingManager("FOOT")) </span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif" size="3"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal">i got an error and i'm thinkind the problem is with the .map e got from my contry that probably dont have FOOT option</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="white-space:normal"><font face="arial">"An error happend while creating graph:Encoding does not match Graphhopper config: foot:com.graphhopper.routing.util.FootFlagEncoder Graph: car:com.graphhopper.routing.util.CarFlagEncoder"</font></span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="white-space:normal"><font face="arial"><br></font></span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="white-space:normal"><font face="arial">just to check i take out the setEncodingManager and read the log while its working</font></span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="white-space:normal"><font face="arial"><br></font></span></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">Tag: GH  <br>
Text: found graph LevelGraphStorage|car|MMAP_STORE|1,2,1,1,1,1, nodes 562252"</span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">do you think i'm having a problem with the project or maybe i downloaded a map that doesnt have the foot option?</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">i download the Portugal information from the website you have in the Android Demo</span></font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><a href="http://download.geofabrik.de/europe.html">http://download.geofabrik.de/europe.html</a><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px">
<font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px">
<font face="arial"><span style="white-space:normal"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="white-space:normal"><font face="arial"><br>
</font></span><div class="" id="LC128" style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px;padding-left:10px"><span class="" style="font-weight:bold"><div>
<br></div></span></div></pre></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 1:32 PM, 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>Hi Bruno,<div class="im"><br>
      <br>
      > There is more documentation about the Graphhopper? <br>
      <br></div>
      The unit tests and the wiki are for documentation<div class="im"><br>
      <br>
      <br>
      > How can i change the routing for pedestrians instead of
      routing for Cars?<br>
      <br></div>
      You can configure this in the config.properties or if you prefer
      the Java API do<br>
      hopper.setEncodingManager(new EncodingManager("FOOT")) <br>
      or see the GraphHopperTest and how to specify the
      osmreader.acceptWay property<div class="im"><br>
      <br>
      <br>
      > Do i need to create the routing data specifically for
      pedestrians before put the -gh info in the SD card?<br>
      <br></div>
      Only if you use the speed up technic 'contraction hierarchies',
      which is the default. Disable it via config.properties or
      hopper.disableCHShortcuts()<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
      <br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I'm trying to create an app for android that show the route
          for pedestrians.</div>
        <div>I now have Graphhopper prepared and running in my Android
          device as the examples are show in the Android Demo.</div>
        <div><br>
        </div>
        <div>There is more documentation about the Graphhopper? </div>
        <div>How can i change the routing for pedestrians instead of
          routing for Cars?</div>
        <div><br>
        </div>
        <div>I saw in the Low Level API "<span>EncodingManager</span><span> </span><span>em</span><span> </span><span>=</span><span> </span><span>new</span><span> </span><span>EncodingManager</span><span>(</span><span>"CAR"</span><span>);"</span>,</div>

        <div>do i need to do something like this but for pedestrianīs?
          Do i need to create the routing data specifically for
          pedestrians before put the -gh info in the SD card?</div>
        <div><br>
        </div>
        <div>Sorry for the bad English and thanks in advance,</div>
        <div><br>
        </div>
        <div>Best Regards,</div>
        <div>Bruno</div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></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><br clear="all"><div><br></div>-- <br><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px">t</span></font>
</div>