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

org.opentripplanner.graph_builder.issues.BogusShapeGeometry 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.model.FeedScopedId;

public class BogusShapeGeometry implements DataImportIssue {

    public static final String FMT = "Shape geometry for shape_id %s does not have two distinct points.";
    
    final FeedScopedId shapeId;
    
    public BogusShapeGeometry(FeedScopedId shapeId){
    	this.shapeId = shapeId;
    }
    
    @Override
    public String getMessage() {
        return String.format(FMT, shapeId);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy