All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.graph_builder.issues.ElevationPropagationLimit Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package org.opentripplanner.graph_builder.issues;

import org.opentripplanner.graph_builder.DataImportIssue;
import org.opentripplanner.routing.graph.Vertex;

public class ElevationPropagationLimit implements DataImportIssue {

        private static final String FMT = "While propagating elevations, hit 2km distance limit at %s ";

        final Vertex vertex;

        public ElevationPropagationLimit(Vertex vertex) {
                this.vertex = vertex;
        }

        @Override
        public String getMessage() {
                return String.format(FMT, vertex);
        }

        @Override
        public Vertex getReferencedVertex() {
                return this.vertex;
        }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy