From 97e8502e95e7dc156b877d41dfebc8603a1870cd Mon Sep 17 00:00:00 2001 From: Anson Stewart Date: Thu, 30 Nov 2023 15:28:25 -0500 Subject: [PATCH] Revert to kph inputs --- src/main/java/com/conveyal/r5/shapefile/SpeedMatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/conveyal/r5/shapefile/SpeedMatcher.java b/src/main/java/com/conveyal/r5/shapefile/SpeedMatcher.java index 73c815925..e34bad72d 100644 --- a/src/main/java/com/conveyal/r5/shapefile/SpeedMatcher.java +++ b/src/main/java/com/conveyal/r5/shapefile/SpeedMatcher.java @@ -17,7 +17,7 @@ public SpeedMatcher (StreetLayer streets) { @Override void setEdgePair (SimpleFeature feature, int attributeIndex, EdgeStore.Edge edge) { if (feature.getAttribute(attributeIndex) != null) { - double speedKph = KPH_PER_MPH * ((Number) feature.getAttribute(attributeIndex)).doubleValue(); + double speedKph = ((Number) feature.getAttribute(attributeIndex)).doubleValue(); edge.setSpeedKph(speedKph); edge.advance(); edge.setSpeedKph(speedKph);