static void |
GtfsLinkHelper.breakLinksAtPlanitNode(Node planitNode,
MacroscopicNetworkLayer networkLayer,
MacroscopicLink linkToBreak,
Collection<GraphModifierListener> temporaryListeners,
GtfsZoningHandlerData data) |
break a PLANit link at the PLANit node location while also updating all related tracking indices and/or PLANit network link and link segment references
that might be affected by this process:
tracking of geo indexed PLANit links
connectoid access link segments affected by breaking of link (if any)
|
static Collection<DirectedConnectoid> |
GtfsDirectedConnectoidHelper.createAndRegisterDirectedConnectoids(TransferZone transferZone,
MacroscopicNetworkLayer networkLayer,
Node accessNode,
Iterable<? extends EdgeSegment> linkSegments,
Set<Mode> allowedModes,
GtfsZoningHandlerData data) |
create directed connectoids, one per link segment provided, all related to the given transfer zone and with access modes provided.
|
static TransferZone |
GtfsTransferZoneHelper.createAndRegisterNewTransferZone(GtfsStop gtfsStop,
org.locationtech.jts.geom.Point projectedGtfsStopLocation,
TransferZoneType type,
GtfsZoningHandlerData data) |
Helper method to create and register a new transfer zone based on a GTFS stop
|
static Pair<Node,Boolean> |
GtfsLinkHelper.extractNodeByLinkGeometryLocation(org.locationtech.jts.geom.Point gtfsStopNodeLocation,
MacroscopicLink referenceLink,
MacroscopicNetworkLayer networkLayer,
GtfsZoningHandlerData data) |
Extract/create a PLANit node based on the given location.
|
static Collection<MacroscopicLink> |
GtfsLinkHelper.findNearbyLinks(org.locationtech.jts.geom.Point location,
double pointSearchRadiusMeters,
GtfsZoningHandlerData data) |
Find nearby links based on a given search radius
|
static Collection<TransferZone> |
GtfsTransferZoneHelper.findNearbyTransferZones(org.locationtech.jts.geom.Point location,
double pointSearchRadiusMeters,
GtfsZoningHandlerData data) |
Find nearby zones based on a given search radius
|
static Pair<TransferZone,Double> |
GtfsTransferZoneHelper.findTransferZoneStopLocationClosestTo(org.locationtech.jts.geom.Coordinate gtfsStopLocation,
Collection<TransferZone> nearbyTransferZones,
GtfsZoningHandlerData data) |
find the transfer zone (underlying stop locations if any) closest to the provided GTFS stop location.
|
static double |
GtfsLinkSegmentHelper.getAzimuthFromLinkSegmentToCoordinate(LinkSegment linkSegment,
org.locationtech.jts.geom.Coordinate coordinate,
GtfsZoningHandlerData data) |
Based on coordinate draw a virtual line to closest intersection point on link segment and identify the azimuth (0-360 degrees) that goes with this virtual line
from the intersection point on the link segment towards the coordinate provided
|
static boolean |
GtfsTransferZoneHelper.isGtfsStopOnCorrectSideOfTransferZoneAccessLinkSegments(GtfsStop gtfsStop,
Mode gtfsMode,
TransferZone transferZone,
GtfsZoningHandlerData data,
boolean allConnectoidsMustMatch) |
Verify based on driving direction and orientation of the access link segment(s) whether the GTFS stop is a viable match for the
found transfer zone in terms of being on the correct side of the road.
|