itinero / routing

The routing core of itinero.
Apache License 2.0
222 stars 70 forks source link

Exception contracting europe-latest.osm.pbf - again #282

Open TomQv opened 5 years ago

TomQv commented 5 years ago

Contracting big pbfs like europe with standard-car.lua gives the following exception. Smaller pbfs like germany or south-america are fine. Using 1.6.0-pre10.

type=System.ArgumentOutOfRangeException
message=Specified argument was out of the range of valid values.
Parametername: Cannot store distance on edge, too small.
stacktrace=   bei Itinero.Data.Contracted.Edges.ContractedEdgeDataSerializer.Serialize(Single weight, Nullable`1 direction)
   bei Itinero.Algorithms.Contracted.DirectedMetaGraphExtensions.AddOrUpdateEdge(DirectedMetaGraph graph, UInt32 vertex1, UInt32 vertex2, Single weight, Nullable`1 direction, UInt32 contractedId)
   bei Itinero.Algorithms.Dual.DualGraphBuilder`1.DoRun(CancellationToken cancellationToken)
   bei Itinero.Algorithms.AlgorithmBase.Run(CancellationToken cancellationToken)
   bei Itinero.RouterDbExtensions.AddContracted(RouterDb db, Profile profile, Boolean forceEdgeBased, CancellationToken cancellationToken)
   bei QvxItinero.QmrTools.<>c__DisplayClass1_0.<CompileQmrMulti>b__0() in C:\Users\Tom\QuoVadis\Qvx1\QvxItinero\Qmr\CompileQmrMulti.cs:Zeile 130.
   bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)