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 classPlanitZoneFeatureTypeContext<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 voidTransportModelNetwork. 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 ZoneOsmNodeUtils. 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 ZoneOsmNodeUtils. 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 ZoneOsmWayUtils. 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 ZoneOsmWayUtils. 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 ZoneOsmNodeUtils. 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 ZoneOsmNodeUtils. 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 ZoneOsmNodeUtils. 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 ZoneOsmNodeUtils. 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 ZoneOsmWayUtils. 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 ZoneOsmWayUtils. 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 ZoneOsmNodeUtils. 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 ZoneOsmNodeUtils. 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 classPlanitJtsIntersectZoneVisitor<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 doublePlanitEntityGeoUtils. 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 ZoneOdDataIterator. getCurrentDestination()Returns the destination zone object for the current cellZoneOdHashedIterator. getCurrentDestination()Returns the destination zone object for the current cellZoneOdMatrixIterator. getCurrentDestination()Returns the destination zone object for the current cellZoneOdDataIterator. getCurrentOrigin()Returns the origin zone object for the current cellZoneOdHashedIterator. getCurrentOrigin()Returns the origin zone object for the current cellZoneOdMatrixIterator. 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 TOdData. getValue(Zone origin, Zone destination)Returns the value for a specified origin and destinationTOdHashedImpl. getValue(Zone origin, Zone destination)Returns the value for a specified origin and destinationTOdNonPrimitiveMatrix. getValue(Zone origin, Zone destination)Returns the value for a specified origin and destinationTOdPrimitiveMatrix. getValue(Zone origin, Zone destination)Returns the value for a specified origin and destinationvoidOdData. setValue(Zone origin, Zone destination, T value)Sets the value for a specified origin and destinationvoidOdHashedImpl. setValue(Zone origin, Zone destination, T path)Sets the value for a specified origin and destinationvoidOdNonPrimitiveMatrix. setValue(Zone origin, Zone destination, T value)Sets the value for a specified origin and destinationvoidOdPrimitiveMatrix. 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 interfaceZones<Z extends Zone>Interface to manage zonesSubinterfaces of Zone in org.goplanit.utils.zoning Modifier and Type Interface Description interfaceOdZonean OdZone is a zone where trips terminate and or commenceinterfaceTransferZoneA 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_CLASSthe 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 ZoneConnectoid. addAccessZone(Zone zone)Add an access zone with default propertiesZoneZone. 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.ZoneConnectoid. getFirstAccessZone()first available zone that is accessible based on the first entry the iterator returnsZoneCentroid. getParentZone()Return the parent zone of this centroidZoneZone. 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 ZoneConnectoid. addAccessZone(Zone zone)Add an access zone with default propertiesvoidConnectoid. addAllowedMode(Zone zone, Mode allowedMode)Add an allowed mode.default voidConnectoid. addAllowedModes(Zone transferZone, Collection<Mode> allowedModes)Add allowed modes.default voidConnectoid. addAllowedModes(Zone zone, Mode... allowedModes)Add allowed modes.CentroidCentroidFactory. 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 combinationbooleanConnectoid. hasAccessZone(Zone accessZone)Check if zone is registered as access zonedefault booleanConnectoid. hasExplicitlyAllowedModes(Zone accessZone)Verify if any modes are allowed for this zonedefault booleanConnectoid. hasLength(Zone accessZone)Verify if a length has been specified for the access zone to connectoid combinationdefault booleanConnectoid. isAllModesAllowed(Zone accessZone)Verify if all modes are allowed for this zonebooleanConnectoid. isModeAllowed(Zone accessZone, Mode mode)Verify if a mode is allowed access to the zone via this connectoiddefault DirectedConnectoidDirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone)Create a new directed connectoid, with default length 0default DirectedConnectoidDirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)Create a new directed connectoid, with default length 0DirectedConnectoidDirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, double length)Create a new directed connectoiddefault DirectedConnectoidDirectedConnectoidFactory. 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 providedUndirectedConnectoidUndirectedConnectoidFactory. registerNew(Node accessNode, Zone parentZone)factory method for undirected connectoid, with default length of 0 to use between zone and access nodeUndirectedConnectoidUndirectedConnectoidFactory. registerNew(Node accessNode, Zone parentZone, double length)factory method for undirected connectoidvoidConnectoid. setLength(Zone zone, double length)Add an access zone and provide length to this connectoidvoidCentroid. 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 voidConnectoid. 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 classZoneFactoryImpl<Z extends Zone>Factory for creating od zones (on container)classZonesImpl<Z extends Zone>Partial implementation of the Zones <T> interfaceClasses in org.goplanit.zoning that implement Zone Modifier and Type Class Description classOdZoneImplAn Od zoneclassTransferZoneImplA transfer zoneclassZoneImplRepresents a zone base class.Fields in org.goplanit.zoning declared as Zone Modifier and Type Field Description ZoneConnectoidImpl.AccessZoneProperties. accessZoneaccess zone for these propertiesMethods in org.goplanit.zoning that return Zone Modifier and Type Method Description ZoneConnectoidImpl. addAccessZone(Zone accessZone)Add an access zone with default propertiesZoneConnectoidImpl. getFirstAccessZone()first available zone that is accessible based on the first entry the iterator returnsZoneCentroidImpl. getParentZone()Return the parent zone of this centroidZoneZoning. 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 ZoneConnectoidImpl. addAccessZone(Zone accessZone)Add an access zone with default propertiesvoidConnectoidImpl. addAllowedMode(Zone accessZone, Mode allowedMode)Add an allowed mode.CentroidImplCentroidFactoryImpl. 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 combinationbooleanConnectoidImpl. hasAccessZone(Zone accessZone)Check if zone is registered as access zonebooleanConnectoidImpl. isModeAllowed(Zone accessZone, Mode mode)Verify if a mode is allowed access to the zone via this connectoidDirectedConnectoidDirectedConnectoidFactoryImpl. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, double length)Create a new directed connectoidUndirectedConnectoidUndirectedConnectoidFactoryImpl. registerNew(Node accessNode, Zone parentZone)factory method for undirected connectoid, with default length of 0 to use between zone and access nodeUndirectedConnectoidUndirectedConnectoidFactoryImpl. registerNew(Node accessNode, Zone parentZone, double length)factory method for undirected connectoidvoidConnectoidImpl. setLength(Zone accessZone, double length)Add an access zone and provide length to this connectoidvoidCentroidImpl. 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 voidZoningModifierImpl. removeZone(Zone toRemove)remove a zone from its container class (if applicable) without doing anything else
-