Uses of Interface
org.goplanit.utils.zoning.Zone
-
Packages that use Zone Package Description org.goplanit.converter.idmapping org.goplanit.geoio.converter.zoning org.goplanit.geoio.converter.zoning.featurecontext org.goplanit.geoio.util org.goplanit.network.transport Integrated network component object classesorg.goplanit.osm.util org.goplanit.utils.geo org.goplanit.utils.od Top-level abstract interfaces to handle Origin-Destination Dataorg.goplanit.utils.zoning zoning oriented utility classesorg.goplanit.zoning org.goplanit.zoning.modifier -
-
Uses of Zone in org.goplanit.converter.idmapping
Methods in org.goplanit.converter.idmapping that return types with arguments of type Zone Modifier and Type Method Description static Function<Zone,String>
IdMapperFunctionFactory. createZoneIdMappingFunction(IdMapperType idMapper)
create a function that takes a zone and generates the appropriate id based on the user configurationFunction<? super Zone,String>
ZoningIdMapper. getZoneIdMapper()
get id mapper for Zone -
Uses of Zone in org.goplanit.geoio.converter.zoning
Methods in org.goplanit.geoio.converter.zoning with type parameters of type Zone Modifier and Type Method Description protected <Z extends Zone>
voidGeometryZoningWriter. writeZones(Zones<Z> zones, Class<Z> zoneClazz, String zoneFileName)
Write zones container of the zoning -
Uses of Zone in org.goplanit.geoio.converter.zoning.featurecontext
Classes in org.goplanit.geoio.converter.zoning.featurecontext with type parameters of type Zone Modifier and Type Class Description class
PlanitZoneFeatureTypeContext<Z extends Zone,T extends org.locationtech.jts.geom.Geometry>
Track contextual relevant information for PLANit zones that are persistedMethods in org.goplanit.geoio.converter.zoning.featurecontext with type parameters of type Zone Modifier and Type Method Description protected static <ZZ extends Zone,TT extends org.locationtech.jts.geom.Geometry>
List<Triple<String,String,Function<ZZ,? extends Object>>>PlanitZoneFeatureTypeContext. createBaseFeatureDescription(Function<ZZ,String> zoneIdMapper)
The mapping from PLANIT zone base GIS attributes (without geometry to allow for addition of other attributes until adding geometry later via derived class usingPlanitZoneFeatureTypeContext.createGeometryFeatureDescription()
Method parameters in org.goplanit.geoio.converter.zoning.featurecontext with type arguments of type Zone Modifier and Type Method Description static <TT extends org.locationtech.jts.geom.Geometry>
PlanitOdZoneFeatureTypeContext<TT>PlanitOdZoneFeatureTypeContext. create(Function<? super Zone,String> zoneIdMapper, Class<TT> geometryType)
Factory methodstatic <TT extends org.locationtech.jts.geom.Geometry>
PlanitTransferZoneFeatureTypeContextPlanitTransferZoneFeatureTypeContext. create(Function<? super Zone,String> zoneIdMapper, Class<TT> geometryType)
Factory method -
Uses of Zone in org.goplanit.geoio.util
Methods in org.goplanit.geoio.util with type parameters of type Zone Modifier and Type Method Description static <Z extends Zone,T extends org.locationtech.jts.geom.Geometry>
PlanitZoneFeatureTypeContext<Z,T>GeoIoFeatureTypeBuilder. createZoningZoneFeatureContext(ZoningIdMapper primaryIdMapper, Class<Z> zoneClazz, Class<T> geometryType)
Construct GIS feature context containing the information required for persistence of the given zone class and geometry type -
Uses of Zone in org.goplanit.network.transport
Methods in org.goplanit.network.transport that return types with arguments of type Zone Modifier and Type Method Description Map<Zone,CentroidVertex>
TransportModelNetwork. createZoneToCentroidVertexMapping(boolean OdZones, boolean transferZones)
Create a (new) mapping from zones (transfer and or OD) to their centroid vertex.Methods in org.goplanit.network.transport with parameters of type Zone Modifier and Type Method Description protected void
TransportModelNetwork. createAndRegisterConnectoidEdgeAndEdgeSegments(ConnectoidEdgeFactory connectoidEdgeFactory, ConnectoidSegmentFactory connectoidSegmentFactory, CentroidVertex centroidVertex, Zone accessZone, Connectoid connectoid, PlanitJtsCrsUtils geoTools)
Given context of centroid vertex and connectoid + access zone, we create the required connectoid edges and connected segments with the provided factories -
Uses of Zone in org.goplanit.osm.util
Methods in org.goplanit.osm.util that return Zone Modifier and Type Method Description static Zone
OsmNodeUtils. findZoneClosest(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Zone> zones, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
find the closest zone to the node location.static Zone
OsmNodeUtils. findZoneClosest(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Zone> zones, double maxDistanceMeters, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
find the closest zone to the node location.static Zone
OsmWayUtils. findZoneClosest(de.topobyte.osm4j.core.model.iface.OsmWay osmWay, Collection<? extends Zone> zones, double maxDistanceMeters, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
Find the closest zone to the way .static Zone
OsmWayUtils. findZoneClosest(de.topobyte.osm4j.core.model.iface.OsmWay osmWay, Collection<? extends Zone> zones, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
Find the closest zone to the way .static Zone
OsmNodeUtils. findZoneWithClosestCoordinateToNode(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Zone> zones, double maxDistanceMeters, PlanitJtsCrsUtils geoUtils)
find the closest zone to the node location.static Zone
OsmNodeUtils. findZoneWithClosestCoordinateToNode(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Zone> zones, PlanitJtsCrsUtils geoUtils)
identical to findZoneWithClosest coordinate that requires a maximum search distance.Method parameters in org.goplanit.osm.util with type arguments of type Zone Modifier and Type Method Description static Zone
OsmNodeUtils. findZoneClosest(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Zone> zones, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
find the closest zone to the node location.static Zone
OsmNodeUtils. findZoneClosest(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Zone> zones, double maxDistanceMeters, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
find the closest zone to the node location.static Zone
OsmWayUtils. findZoneClosest(de.topobyte.osm4j.core.model.iface.OsmWay osmWay, Collection<? extends Zone> zones, double maxDistanceMeters, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
Find the closest zone to the way .static Zone
OsmWayUtils. findZoneClosest(de.topobyte.osm4j.core.model.iface.OsmWay osmWay, Collection<? extends Zone> zones, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
Find the closest zone to the way .static Zone
OsmNodeUtils. findZoneWithClosestCoordinateToNode(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Zone> zones, double maxDistanceMeters, PlanitJtsCrsUtils geoUtils)
find the closest zone to the node location.static Zone
OsmNodeUtils. findZoneWithClosestCoordinateToNode(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Collection<? extends Zone> zones, PlanitJtsCrsUtils geoUtils)
identical to findZoneWithClosest coordinate that requires a maximum search distance. -
Uses of Zone in org.goplanit.utils.geo
Classes in org.goplanit.utils.geo with type parameters of type Zone Modifier and Type Class Description class
PlanitJtsIntersectZoneVisitor<T extends Zone>
An item visitor for quadtree spatial index to filter out the zones in a quadtree that truly intersect with the given bounding box provided in the query.Methods in org.goplanit.utils.geo with type parameters of type Zone Modifier and Type Method Description static <T extends Zone>
Collection<T>GeoContainerUtils. queryZoneQuadtree(org.locationtech.jts.index.quadtree.Quadtree spatialContainer, org.locationtech.jts.geom.Envelope boundingBox)
Query a quad tree populated with zone locations and return all zones within or touching the given bounding boxstatic <T extends Zone>
org.locationtech.jts.index.quadtree.QuadtreeGeoContainerUtils. toGeoIndexed(Zones<T> zones)
Created quadtree based on transfer zone envelopes as spatial index.Methods in org.goplanit.utils.geo with parameters of type Zone Modifier and Type Method Description static double
PlanitEntityGeoUtils. getDistanceToZone(org.locationtech.jts.geom.Coordinate coord, Zone zone, PlanitJtsCrsUtils geoUtils)
find the distance from the zone to the coordinate. -
Uses of Zone in org.goplanit.utils.od
Methods in org.goplanit.utils.od that return Zone Modifier and Type Method Description Zone
OdDataIterator. getCurrentDestination()
Returns the destination zone object for the current cellZone
OdHashedIterator. getCurrentDestination()
Returns the destination zone object for the current cellZone
OdMatrixIterator. getCurrentDestination()
Returns the destination zone object for the current cellZone
OdDataIterator. getCurrentOrigin()
Returns the origin zone object for the current cellZone
OdHashedIterator. getCurrentOrigin()
Returns the origin zone object for the current cellZone
OdMatrixIterator. getCurrentOrigin()
Returns the origin zone object for the current cellMethods in org.goplanit.utils.od with parameters of type Zone Modifier and Type Method Description T
OdData. getValue(Zone origin, Zone destination)
Returns the value for a specified origin and destinationT
OdHashedImpl. getValue(Zone origin, Zone destination)
Returns the value for a specified origin and destinationT
OdNonPrimitiveMatrix. getValue(Zone origin, Zone destination)
Returns the value for a specified origin and destinationT
OdPrimitiveMatrix. getValue(Zone origin, Zone destination)
Returns the value for a specified origin and destinationvoid
OdData. setValue(Zone origin, Zone destination, T value)
Sets the value for a specified origin and destinationvoid
OdHashedImpl. setValue(Zone origin, Zone destination, T path)
Sets the value for a specified origin and destinationvoid
OdNonPrimitiveMatrix. setValue(Zone origin, Zone destination, T value)
Sets the value for a specified origin and destinationvoid
OdPrimitiveMatrix. setValue(Zone origin, Zone destination, T value)
Sets the value for a specified origin and destination -
Uses of Zone in org.goplanit.utils.zoning
Classes in org.goplanit.utils.zoning with type parameters of type Zone Modifier and Type Interface Description interface
Zones<Z extends Zone>
Interface to manage zonesSubinterfaces of Zone in org.goplanit.utils.zoning Modifier and Type Interface Description interface
OdZone
an OdZone is a zone where trips terminate and or commenceinterface
TransferZone
A zone where transfers between different network layers may occur.Fields in org.goplanit.utils.zoning with type parameters of type Zone Modifier and Type Field Description static Class<Zone>
Zone. ZONE_ID_CLASS
the class to use for the id generationMethods in org.goplanit.utils.zoning with type parameters of type Zone Modifier and Type Method Description static <C extends Connectoid,Z extends Zone>
voidConnectoidUtils. updateAccessZoneMapping(Iterable<C> connectoids, Function<Z,Z> zoneToZoneMapping, boolean removeMissingMappings)
Update the parent edge of all edge segments based on the mapping provided (if any)Methods in org.goplanit.utils.zoning that return Zone Modifier and Type Method Description Zone
Connectoid. addAccessZone(Zone zone)
Add an access zone with default propertiesZone
Zone. deepClone()
An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call.Zone
Connectoid. getFirstAccessZone()
first available zone that is accessible based on the first entry the iterator returnsZone
Centroid. getParentZone()
Return the parent zone of this centroidZone
Zone. shallowClone()
Create a shallow copy of this entityMethods in org.goplanit.utils.zoning that return types with arguments of type Zone Modifier and Type Method Description Map<Zone,Set<T>>
Connectoids. createIndexByAccessZone()
Lay an index across all connectoids based on their access zones, e.g., a reversed index essentiallyCollection<Zone>
Connectoid. getAccessZones()
The zones that can be accessed by this connectoiddefault Class<Zone>
Zone. getIdClass()
Each managed id class is expected to generate its ids based on its class signature.Methods in org.goplanit.utils.zoning with parameters of type Zone Modifier and Type Method Description Zone
Connectoid. addAccessZone(Zone zone)
Add an access zone with default propertiesvoid
Connectoid. addAllowedMode(Zone zone, Mode allowedMode)
Add an allowed mode.default void
Connectoid. addAllowedModes(Zone transferZone, Collection<Mode> allowedModes)
Add allowed modes.default void
Connectoid. addAllowedModes(Zone zone, Mode... allowedModes)
Add allowed modes.Centroid
CentroidFactory. create(Zone parentZone)
Create a new centroidCollection<Mode>
Connectoid. getExplicitlyAllowedModes(Zone accessZone)
collect modes that are explicitly allowed for this zone (unmodifiable).Optional<Double>
Connectoid. getLengthKm(Zone accessZone)
length can be used to virtually assign a length to the connectoid/zone combinationboolean
Connectoid. hasAccessZone(Zone accessZone)
Check if zone is registered as access zonedefault boolean
Connectoid. hasExplicitlyAllowedModes(Zone accessZone)
Verify if any modes are allowed for this zonedefault boolean
Connectoid. hasLength(Zone accessZone)
Verify if a length has been specified for the access zone to connectoid combinationdefault boolean
Connectoid. isAllModesAllowed(Zone accessZone)
Verify if all modes are allowed for this zoneboolean
Connectoid. isModeAllowed(Zone accessZone, Mode mode)
Verify if a mode is allowed access to the zone via this connectoiddefault DirectedConnectoid
DirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone)
Create a new directed connectoid, with default length 0default DirectedConnectoid
DirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)
Create a new directed connectoid, with default length 0DirectedConnectoid
DirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, double length)
Create a new directed connectoiddefault DirectedConnectoid
DirectedConnectoidFactory. registerNew(LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)
Create a new directed connectoid, with default length 0, and choose downstream access node based on the link segment providedUndirectedConnectoid
UndirectedConnectoidFactory. registerNew(Node accessNode, Zone parentZone)
factory method for undirected connectoid, with default length of 0 to use between zone and access nodeUndirectedConnectoid
UndirectedConnectoidFactory. registerNew(Node accessNode, Zone parentZone, double length)
factory method for undirected connectoidvoid
Connectoid. setLength(Zone zone, double length)
Add an access zone and provide length to this connectoidvoid
Centroid. setParentZone(Zone parent)
Set the parent zone of this centroidMethod parameters in org.goplanit.utils.zoning with type arguments of type Zone Modifier and Type Method Description default void
Connectoid. addAllAccessZones(Collection<Zone> accessZonesToAdd)
Add all provided access zones -
Uses of Zone in org.goplanit.zoning
Classes in org.goplanit.zoning with type parameters of type Zone Modifier and Type Class Description class
ZoneFactoryImpl<Z extends Zone>
Factory for creating od zones (on container)class
ZonesImpl<Z extends Zone>
Partial implementation of the Zones <T> interfaceClasses in org.goplanit.zoning that implement Zone Modifier and Type Class Description class
OdZoneImpl
An Od zoneclass
TransferZoneImpl
A transfer zoneclass
ZoneImpl
Represents a zone base class.Fields in org.goplanit.zoning declared as Zone Modifier and Type Field Description Zone
ConnectoidImpl.AccessZoneProperties. accessZone
access zone for these propertiesMethods in org.goplanit.zoning that return Zone Modifier and Type Method Description Zone
ConnectoidImpl. addAccessZone(Zone accessZone)
Add an access zone with default propertiesZone
ConnectoidImpl. getFirstAccessZone()
first available zone that is accessible based on the first entry the iterator returnsZone
CentroidImpl. getParentZone()
Return the parent zone of this centroidZone
Zoning. getZone(long id)
find a zone by over arching id regardless if it is a transfer or Od zoneMethods in org.goplanit.zoning that return types with arguments of type Zone Modifier and Type Method Description Map<Zone,Set<T>>
ConnectoidsImpl. createIndexByAccessZone()
Lay an index across all connectoids based on their access zones, e.g., a reversed index essentiallyCollection<Zone>
ConnectoidImpl. getAccessZones()
The zones that can be accessed by this connectoidIterator<Zone>
ConnectoidImpl. iterator()
Methods in org.goplanit.zoning with parameters of type Zone Modifier and Type Method Description Zone
ConnectoidImpl. addAccessZone(Zone accessZone)
Add an access zone with default propertiesvoid
ConnectoidImpl. addAllowedMode(Zone accessZone, Mode allowedMode)
Add an allowed mode.CentroidImpl
CentroidFactoryImpl. create(Zone parentZone)
Create a new centroidCollection<Mode>
ConnectoidImpl. getExplicitlyAllowedModes(Zone accessZone)
collect modes that are explicitly allowed for this zone (unmodifiable).Optional<Double>
ConnectoidImpl. getLengthKm(Zone accessZone)
length can be used to virtually assign a length to the connectoid/zone combinationboolean
ConnectoidImpl. hasAccessZone(Zone accessZone)
Check if zone is registered as access zoneboolean
ConnectoidImpl. isModeAllowed(Zone accessZone, Mode mode)
Verify if a mode is allowed access to the zone via this connectoidDirectedConnectoid
DirectedConnectoidFactoryImpl. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, double length)
Create a new directed connectoidUndirectedConnectoid
UndirectedConnectoidFactoryImpl. registerNew(Node accessNode, Zone parentZone)
factory method for undirected connectoid, with default length of 0 to use between zone and access nodeUndirectedConnectoid
UndirectedConnectoidFactoryImpl. registerNew(Node accessNode, Zone parentZone, double length)
factory method for undirected connectoidvoid
ConnectoidImpl. setLength(Zone accessZone, double length)
Add an access zone and provide length to this connectoidvoid
CentroidImpl. setParentZone(Zone parentZone)
Set the parent zoneConstructors in org.goplanit.zoning with parameters of type Zone Constructor Description AccessZoneProperties(Zone accessZone)
constructorCentroidImpl(IdGroupingToken groupId, Zone parentZone)
ConstructorConnectoidImpl(IdGroupingToken idToken, Zone accessZone)
ConstructorConnectoidImpl(IdGroupingToken idToken, Zone accessZone, double length)
ConstructorDirectedConnectoidImpl(IdGroupingToken idToken, boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone accessZone, double length)
ConstructorUndirectedConnectoidImpl(IdGroupingToken idToken, DirectedVertex accessVertex, Zone accessZone)
ConstructorUndirectedConnectoidImpl(IdGroupingToken idToken, DirectedVertex accessVertex, Zone accessZone, double length)
Constructor -
Uses of Zone in org.goplanit.zoning.modifier
Methods in org.goplanit.zoning.modifier with parameters of type Zone Modifier and Type Method Description protected void
ZoningModifierImpl. removeZone(Zone toRemove)
remove a zone from its container class (if applicable) without doing anything else
-