diff --git a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/HeavyVehicleAttributesGraphStorage.java b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/HeavyVehicleAttributesGraphStorage.java index 305ddbc271..e62d96397a 100644 --- a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/HeavyVehicleAttributesGraphStorage.java +++ b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/HeavyVehicleAttributesGraphStorage.java @@ -60,10 +60,6 @@ private int nextBlockEntryIndex(int size) { return res; } - public void setSegmentSize(int bytes) { - orsEdges.setSegmentSize(bytes); - } - public HeavyVehicleAttributesGraphStorage create(long initBytes) { orsEdges.create(initBytes * edgeEntryBytes); return this; diff --git a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/RoadAccessRestrictionsGraphStorage.java b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/RoadAccessRestrictionsGraphStorage.java index 3efaa75fa2..9f1c1cc5b1 100644 --- a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/RoadAccessRestrictionsGraphStorage.java +++ b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/RoadAccessRestrictionsGraphStorage.java @@ -79,10 +79,6 @@ protected final int nextBlockEntryIndex(int size) { return res; } - public void setSegmentSize(int bytes) { - edges.setSegmentSize(bytes); - } - public RoadAccessRestrictionsGraphStorage create(long initBytes) { edges.create(initBytes * edgeEntryBytes); return this; diff --git a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TollwaysGraphStorage.java b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TollwaysGraphStorage.java index 649330b08e..560ab84da6 100644 --- a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TollwaysGraphStorage.java +++ b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TollwaysGraphStorage.java @@ -47,10 +47,6 @@ protected final int nextBlockEntryIndex(int size) { return res; } - public void setSegmentSize(int bytes) { - edges.setSegmentSize(bytes); - } - public TollwaysGraphStorage create(long initBytes) { edges.create(initBytes * edgeEntryBytes); return this; diff --git a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TrafficGraphStorage.java b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TrafficGraphStorage.java index 7940e7495b..6b5658dd96 100644 --- a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TrafficGraphStorage.java +++ b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TrafficGraphStorage.java @@ -459,17 +459,6 @@ public void init() { this.orsSpeedPatternLookup = d.find(""); } - /** - * sets the segment size in all additional data storages - * - * @param bytes Size in bytes. - */ - public void setSegmentSize(int bytes) { - orsEdgesProperties.setSegmentSize(bytes); - orsEdgesTrafficLinkLookup.setSegmentSize(bytes); - orsSpeedPatternLookup.setSegmentSize(bytes); - } - /** * @return true if successfully loaded from persistent storage. */ diff --git a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TrailDifficultyScaleGraphStorage.java b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TrailDifficultyScaleGraphStorage.java index 5d6a6e084c..27e9e1198f 100644 --- a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TrailDifficultyScaleGraphStorage.java +++ b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/TrailDifficultyScaleGraphStorage.java @@ -48,10 +48,6 @@ protected final int nextBlockEntryIndex(int size) { return res; } - public void setSegmentSize(int bytes) { - edges.setSegmentSize(bytes); - } - public TrailDifficultyScaleGraphStorage create(long initBytes) { edges.create(initBytes * edgeEntryBytes); return this; diff --git a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/WayCategoryGraphStorage.java b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/WayCategoryGraphStorage.java index 8f137c7e2f..a5508526dc 100644 --- a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/WayCategoryGraphStorage.java +++ b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/WayCategoryGraphStorage.java @@ -41,10 +41,6 @@ public void init(Graph graph, Directory dir) { this.orsEdges = dir.find("ext_waycategory"); } - public void setSegmentSize(int bytes) { - orsEdges.setSegmentSize(bytes); - } - public WayCategoryGraphStorage create(long initBytes) { orsEdges.create(initBytes * edgeEntryBytes); return this; diff --git a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/WaySurfaceTypeGraphStorage.java b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/WaySurfaceTypeGraphStorage.java index 1eea3659d5..f69546900f 100644 --- a/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/WaySurfaceTypeGraphStorage.java +++ b/ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/storages/WaySurfaceTypeGraphStorage.java @@ -50,10 +50,6 @@ protected final int nextBlockEntryIndex(int size) { return edgeEntryIndex; } - public void setSegmentSize(int bytes) { - orsEdges.setSegmentSize(bytes); - } - public WaySurfaceTypeGraphStorage create(long initBytes) { orsEdges.create(initBytes * edgeEntryBytes); return this;