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

org.opentripplanner.service.osminfo.OsmInfoGraphBuildRepository Maven / Gradle / Ivy

The newest version!
package org.opentripplanner.service.osminfo;

import java.io.Serializable;
import java.util.Optional;
import org.opentripplanner.service.osminfo.model.Platform;
import org.opentripplanner.street.model.edge.Area;
import org.opentripplanner.street.model.edge.Edge;

/**
 * Store OSM data used during graph build, but discard it after it is complete.
 * 

* This is a repository to support the {@link OsmInfoGraphBuildService}. */ public interface OsmInfoGraphBuildRepository extends Serializable { /** * Associate the edge with a platform */ void addPlatform(Edge edge, Platform platform); /** * Associate named area with a platform */ void addPlatform(Area area, Platform platform); /** * Find the platform the edge belongs to */ Optional findPlatform(Edge edge); /** * Find the platform which relates to an area */ Optional findPlatform(Area area); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy