<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi,</div><div><br></div><div>I also suspect that you somehow used 0.2 version graphhopper to generate graphs.</div><div><br></div><div>With a little effort you can also try to use different (newer or older) graphhopper JAR versions with Nutiteq SDK, as long as you use also graphs with corresponding version. To change it I would do following:</div><div>1) change graphhopper version in <b>pom.xml</b> </div><div>2) change <span class="final-path"><b>GraphhopperRouteActivity.java</b> [1]</span><span class="final-path"> (from where you probably got GH-Nutiteq integration code) to reflect GH API changes. With all updates there have been mandatory small GH API changes - some parameter renamed, some added, some removed. It should not be more than 1-2 line changes, as client uses just one API call, but Peter knows best. Maybe there is even update guide somewhere in release notes?</span></div><div><br></div><div>In a production app I would use the latest Graphhopper version (0.4?), for both data processing and in mobile. Nutiteq SDK sample app may have older version. Pull requests are welcome :)</div><div><br></div><div>[1] <a href="https://github.com/nutiteq/hellomap3d/blob/master/AdvancedMap3D/src/main/java/com/nutiteq/advancedmap/activity/GraphhopperRouteActivity.java">https://github.com/nutiteq/hellomap3d/blob/master/AdvancedMap3D/src/main/java/com/nutiteq/advancedmap/activity/GraphhopperRouteActivity.java</a> </div><div><br></div><div>Jaak</div><div>Nutiteq</div><div><br></div><br><div><div>On 10 Oct 2014, at 14:53, Peter <<a href="mailto:graphhopper@gmx.de">graphhopper@gmx.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Christian,<br>
      <br>
      that is strange. v0.3 should indeed produce the necessary files
      for the nutiteq example, or are you using v0.2 somehow to generate
      the files?<br>
      <br>
      Another way around this problem is to package the Nutiteq example
      on your own with GraphHopper 0.3<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
      BTW: thanks emux et al for answering!<br>
      <br>
      On 10.10.2014 09:30, Christian Doerr wrote:<br>
    </div>
    <blockquote cite="mid:CAOyZEXL3k7ac6OAK6txPJCN-chgifddAcn=fc2fEEyaF3-qnJA@mail.gmail.com" type="cite">
      <div dir="ltr"><p class="">Hello,<br>
        </p><p class="">I am using GraphHopper as part of Nutiteq's SDK for
          offline maps on Android, and I have been running into issues
          with version incompatibilities of the nodes and edge files
          Graphhopper generates. My question is which version of
          GraphHopper I should use to generate a gh-package with the
          following version numbers:<br>
        </p><p class="">graph.dimension=2<br>
          nodes.version=3<br>
          edges.version=5<br>
          geometry.version=3<br>
          locationIndex.version=2<br>
          nameIndex.version=2</p><p class=""><br>
        </p><p class="">Nutiteq says they have generated their example with
          Graphhopper v0.3, when I do this the node file is in version
          2, instead of version 3, which throws an error in the SDK.
          Also, the other files are in versions too early:<br>
        </p><p class="">nodes.version=2<br>
          edges.version=4<br>
          geometry.version=2<br>
          locationIndex.version=2<br>
          nameIndex.version=2</p><p class=""><br>
        </p><p class="">When I try GraphHopper v0.4, an exception get thrown
          in the load() function of GraphHopper (<a moz-do-not-send="true" href="https://github.com/nutiteq/hellomap3d/blob/master/AdvancedMap3D/src/main/java/com/nutiteq/advancedmap/activity/GraphhopperRouteActivity.java"><span class="">https://github.com/nutiteq/hellomap3d/blob/master/AdvancedMap3D/src/main/java/com/nutiteq/advancedmap/activity/GraphhopperRouteActivity.java</span></a>),
          as the version of the edges (7) is too new and unexpected:<br>
          graph.dimension=2<br>
          nodes.version=3<br>
          edges.version=7<br>
          geometry.version=3<br>
          locationIndex.version=2<br>
          nameIndex.version=2</p><p class="">I have not been able to find a release between 0.3
          and 0.4, at which point in the development was the version of
          the files changed so that I can work from that version in the
          github repo? Would there be an easier way to generate a gh
          package with the versions numbers above which the SDK expects?<br>
        </p><p class="">Thank you very much in advance,<br>
        </p><p class="">Christian</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="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
  </div>

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