... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GraphHopper Routing Exception
#10
(04.08.2019, 06:59)thomas.friese Wrote: Ich habe das jetzt mal prototypisch implementiert:
- nicht mehr nur ein einzelnes Downloadable mit dem Finder holen, sondern (im Moment noch zusätzlich) eine sortierte Liste.
- wenn beim routing was schief geht den nächsten Eintrag (=nächste Karte) in der Liste nehmen und den GraphHopper neu damit initialisieren und noch mal routen


Cool. Das scheint eine pragmatische Lösung zu sein.

Eine Frage aus Neugier: Warum hast Du in DownloadableFinder nicht

public Downloadable getDownloadableFor(BoundingBox routeBoundingBox) 

auf eine Liste von Downloadable aufgebohrt?


(04.08.2019, 06:59)thomas.friese Wrote: Von der Idee her: was kann da systematisch schief gehen, wenn ich fireDownloading() und downloadAndWait() im Error-Handling für ggf. response Errors in der GraphHopper.getRouteBetween() Funktion aufrufe?

Man erwartet es nicht. GraphHopper#getRouteBetween() sollte keine Fehlerbehandlung und Notifications machen sondern nur ein Routing durchführen.

Schwierig finde ich

private List<Downloadable> routingTileInfoList;

Denn eigentlich sollte doch

private java.io.File osmPbfFile;

auf eine Liste aufgebohrt werden, oder?
--
Christian
Reply


Messages In This Thread
RE: GraphHopper Routing Exception - by kumo - 01.08.2019, 14:11
RE: GraphHopper Routing Exception - by routeconverter - 05.08.2019, 12:11

Forum Jump:


Users browsing this thread: 1 Guest(s)