public interface StreetVertexIndexService
Modifier and Type | Method and Description |
---|---|
CandidateEdgeBundle |
getClosestEdges(GenericLocation location,
TraversalRequirements reqs)
Get the closest edges to this location are traversable given these preferences.
|
CandidateEdgeBundle |
getClosestEdges(GenericLocation location,
TraversalRequirements reqs,
List<Edge> extraEdges,
Collection<Edge> preferredEdges,
boolean possibleTransitLinksOnly)
Get the closest edges to this location are traversable given these preferences.
|
com.vividsolutions.jts.geom.Coordinate |
getClosestPointOnStreet(com.vividsolutions.jts.geom.Coordinate coordinate)
Finds the on-street coordinate closest to a given coordinate
|
Collection<Edge> |
getEdgesForEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
Return the edges whose geometry intersect with the specified envelope.
|
List<TransitStop> |
getNearbyTransitStops(com.vividsolutions.jts.geom.Coordinate coordinate,
double radiusMeters) |
Vertex |
getSampleVertexAt(com.vividsolutions.jts.geom.Coordinate coordinate,
boolean dest)
Get a vertex at a given coordinate, using the same logic as in Samples.
|
List<TransitStop> |
getTransitStopForEnvelope(com.vividsolutions.jts.geom.Envelope envelope) |
Vertex |
getVertexForLocation(GenericLocation place,
RoutingRequest options,
boolean endVertex)
Finds the appropriate vertex for this location.
|
Collection<Vertex> |
getVerticesForEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
Returns the vertices intersecting with the specified envelope.
|
Collection<Vertex> getVerticesForEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
envelope
- Collection<Edge> getEdgesForEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
envelope
- CandidateEdgeBundle getClosestEdges(GenericLocation location, TraversalRequirements reqs, List<Edge> extraEdges, Collection<Edge> preferredEdges, boolean possibleTransitLinksOnly)
location
- extraEdges
- Additional edges to consider, may be nullpreferredEdges
- Edges which are preferred, may be nullpossibleTransitLinksOnly
- Only include possible transit links.CandidateEdgeBundle getClosestEdges(GenericLocation location, TraversalRequirements reqs)
location
- List<TransitStop> getNearbyTransitStops(com.vividsolutions.jts.geom.Coordinate coordinate, double radiusMeters)
coordinate
- radiusMeters
- List<TransitStop> getTransitStopForEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
envelope
- Vertex getVertexForLocation(GenericLocation place, RoutingRequest options, boolean endVertex)
place
- options
- endVertex:
- whether this is a start vertex (if it's false) or end vertex (if it's true)com.vividsolutions.jts.geom.Coordinate getClosestPointOnStreet(com.vividsolutions.jts.geom.Coordinate coordinate)
coordinate
- The coordinate to be found on the street networkCoordinate
that's closest to the given input Coordinate
Vertex getSampleVertexAt(com.vividsolutions.jts.geom.Coordinate coordinate, boolean dest)
Copyright © 2015. All rights reserved.