Merge branch 'master' into roundtrip

This commit is contained in:
afischerdev 2025-03-12 19:05:32 +01:00 committed by GitHub
commit ec41cf5769
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 650 additions and 370 deletions

View file

@ -15,7 +15,10 @@ final class KinematicPrePath extends OsmPrePath {
protected void initPrePath(OsmPath origin, RoutingContext rc) {
byte[] description = link.descriptionBitmap;
if (description == null) throw new IllegalArgumentException("null description for: " + link);
if (description == null) {
//throw new IllegalArgumentException("null description for: " + link);
description = (targetNode.descriptionBitmap != null ? targetNode.descriptionBitmap : new byte[] {0, 1, 0});
}
// extract the 3 positions of the first section
int lon0 = origin.originLon;