Uses of Interface
org.goplanit.utils.zoning.TransferZoneGroup
-
Packages that use TransferZoneGroup Package Description org.goplanit.converter.idmapping org.goplanit.osm.converter.zoning org.goplanit.osm.converter.zoning.handler.helper org.goplanit.osm.util org.goplanit.utils.zoning zoning oriented utility classesorg.goplanit.zoning -
-
Uses of TransferZoneGroup in org.goplanit.converter.idmapping
Methods in org.goplanit.converter.idmapping that return types with arguments of type TransferZoneGroup Modifier and Type Method Description static Function<TransferZoneGroup,String>
IdMapperFunctionFactory. createTransferZoneGroupIdMappingFunction(IdMapperType idMapper)
create a function that takes a transfer zone group and generates the appropriate id based on the user configurationFunction<TransferZoneGroup,String>
ZoningIdMapper. getTransferZoneGroupIdMapper()
get id mapper for TransferZoneGroup -
Uses of TransferZoneGroup in org.goplanit.osm.converter.zoning
Methods in org.goplanit.osm.converter.zoning that return TransferZoneGroup Modifier and Type Method Description TransferZoneGroup
OsmZoningReaderPlanitData. addTransferZoneGroupByOsmId(long osmId, TransferZoneGroup transferZoneGroup)
Add a transfer zone group by its OSM idTransferZoneGroup
OsmZoningReaderPlanitData. getTransferZoneGroupByOsmId(long osmId)
collect a parsed transfer zone group by OSM idMethods in org.goplanit.osm.converter.zoning with parameters of type TransferZoneGroup Modifier and Type Method Description TransferZoneGroup
OsmZoningReaderPlanitData. addTransferZoneGroupByOsmId(long osmId, TransferZoneGroup transferZoneGroup)
Add a transfer zone group by its OSM id -
Uses of TransferZoneGroup in org.goplanit.osm.converter.zoning.handler.helper
Methods in org.goplanit.osm.converter.zoning.handler.helper that return TransferZoneGroup Modifier and Type Method Description TransferZoneGroup
TransferZoneGroupHelper. createAndPopulateTransferZoneGroup(de.topobyte.osm4j.core.model.iface.OsmRelation osmRelation, Map<String,String> tags)
Create a transfer zone group based on the passed in OSM entity, tags for feature extraction and accessTransferZoneGroup
TransferZoneGroupHelper. createPopulateAndRegisterTransferZoneGroup(de.topobyte.osm4j.core.model.iface.OsmRelation osmRelation, Map<String,String> tags)
Create a transfer zone group based on the passed in OSM entity, tags for feature extraction and access and register itMethods in org.goplanit.osm.converter.zoning.handler.helper that return types with arguments of type TransferZoneGroup Modifier and Type Method Description Set<TransferZoneGroup>
TransferZoneGroupHelper. findModeCompatibleTransferZoneGroups(Collection<String> referenceOsmModes, Collection<TransferZone> potentialTransferZones, boolean allowPseudoModeMatches)
Find all transfer zone groups with at least one transfer zone that is mode compatible (and planit mode mapped) with the passed in osm modes In case no eligible modes are provided (null).Methods in org.goplanit.osm.converter.zoning.handler.helper with parameters of type TransferZoneGroup Modifier and Type Method Description boolean
OsmConnectoidHelper. extractDirectedConnectoids(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, boolean locationIsKnownOsmStopPosition, Collection<TransferZone> transferZones, Collection<PredefinedModeType> planitModeTypes, TransferZoneGroup transferZoneGroup, boolean suppressLogging)
create and/or update directed connectoids for the transfer zones and mode combinations when eligible, based on the passed in OSM node where the connectoids access link segments are extracted fromCollection<TransferZone>
TransferZoneHelper. findTransferZonesForStopPosition(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Map<String,String> tags, SortedSet<String> eligibleOsmModes, TransferZoneGroup transferZoneGroup, boolean suppressLogging)
Find the transfer zone(s) for a given stop_position, either the user overwritten mapping, or conditioned on mode,reference/name/spatially, or just the closest one in absence of eligible modes.boolean
TransferZoneGroupHelper. registerTransferZoneOnGroup(long osmId, de.topobyte.osm4j.core.model.iface.EntityType type, TransferZoneGroup transferZoneGroup, boolean suppressLogging)
Register a transfer zone on a group by providing the OSM id of the transfer zone and its type, if no transfer zone is available for this combination, false is returned and it is not registered.boolean
TransferZoneGroupHelper. registerTransferZoneOnGroup(de.topobyte.osm4j.core.model.iface.OsmEntity osmEntity, TransferZoneGroup transferZoneGroup, boolean suppressLogging)
Register a transfer zone on a group by providing the OSM entity, if no transfer zone is available for this combination, false is returned and it is not registered.boolean
TransferZoneGroupHelper. registerTransferZoneOnGroup(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, Map<String,String> tags, TransferZoneGroup transferZoneGroup, boolean suppressLogging)
Register a transfer zone on a group by providing the OSM node, if no transfer zone is available for this combination, false is returned and it is not registered.static void
TransferZoneGroupHelper. updateTransferZoneGroupName(TransferZoneGroup transferZoneGroup, de.topobyte.osm4j.core.model.iface.OsmEntity osmEntityStation, Map<String,String> tags)
Process an OSM entity that is classified as a (train) station. -
Uses of TransferZoneGroup in org.goplanit.osm.util
Method parameters in org.goplanit.osm.util with type arguments of type TransferZoneGroup Modifier and Type Method Description static TransferZone
PlanitTransferZoneUtils. findTransferZoneClosestByTransferGroup(de.topobyte.osm4j.core.model.iface.OsmEntity osmEntity, Collection<? extends TransferZoneGroup> transferZoneGroups, Map<Long,de.topobyte.osm4j.core.model.iface.OsmNode> osmNodes, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
Find the zone (within any of the transfer zone groups) closest to the passed in OSM Entity -
Uses of TransferZoneGroup in org.goplanit.utils.zoning
Fields in org.goplanit.utils.zoning with type parameters of type TransferZoneGroup Modifier and Type Field Description static Class<TransferZoneGroup>
TransferZoneGroup. TRANSFER_ZONE_GROUP_ID_CLASS
the class to use for the id generationMethods in org.goplanit.utils.zoning with type parameters of type TransferZoneGroup Modifier and Type Method Description static <G extends TransferZoneGroup,Z extends TransferZone>
voidTransferZoneGroupUtils. updateTransferZoneMapping(Iterable<G> transferZoneGroups, Function<Z,Z> zoneToZoneMapping, boolean removeMissingMappings)
Update the transfer zones of all transfer zone groups based on the mapping provided (if any)Methods in org.goplanit.utils.zoning that return TransferZoneGroup Modifier and Type Method Description TransferZoneGroup
TransferZoneGroupFactory. createNew()
create a new transferZoneGroup without registering it yetTransferZoneGroup
TransferZoneGroup. 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.TransferZoneGroup
TransferZoneGroupFactory. registerNew()
create and register a new transferZoneGroupTransferZoneGroup
TransferZoneGroup. shallowClone()
Create a shallow copy of this entityMethods in org.goplanit.utils.zoning that return types with arguments of type TransferZoneGroup Modifier and Type Method Description default Class<TransferZoneGroup>
TransferZoneGroup. getIdClass()
Each managed id class is expected to generate its ids based on its class signature.Set<TransferZoneGroup>
TransferZone. getTransferZoneGroups()
All transfer zone groups the transfer zone resides in (unmodifiable)Methods in org.goplanit.utils.zoning with parameters of type TransferZoneGroup Modifier and Type Method Description void
TransferZone. addToTransferZoneGroup(TransferZoneGroup transferZoneGroup)
register this transfer zone group as a group this transfer zone is part ofboolean
TransferZone. isInTransferZoneGroup(TransferZoneGroup transferZoneGroup)
Verify if transfer zone is part of passed in transfer zone groupboolean
TransferZone. removeFromTransferZoneGroup(TransferZoneGroup transferZoneGroup)
remove from transfer zone group provided and also remove ths transfer zone from group providedMethod parameters in org.goplanit.utils.zoning with type arguments of type TransferZoneGroup Modifier and Type Method Description TransferZoneGroups
TransferZoneGroups. deepCloneWithMapping(BiConsumer<TransferZoneGroup,TransferZoneGroup> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapperTransferZoneGroups
TransferZoneGroups. deepCloneWithMapping(BiConsumer<TransferZoneGroup,TransferZoneGroup> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapper -
Uses of TransferZoneGroup in org.goplanit.zoning
Classes in org.goplanit.zoning that implement TransferZoneGroup Modifier and Type Class Description class
TransferZoneGroupImpl
A transfer zone group implementation.Methods in org.goplanit.zoning that return TransferZoneGroup Modifier and Type Method Description TransferZoneGroup
TransferZoneGroupFactoryImpl. createNew()
create a new transferZoneGroup without registering it yetTransferZoneGroup
TransferZoneGroupFactoryImpl. registerNew()
create and register a new transferZoneGroupMethods in org.goplanit.zoning that return types with arguments of type TransferZoneGroup Modifier and Type Method Description Set<TransferZoneGroup>
TransferZoneImpl. getTransferZoneGroups()
All transfer zone groups the transfer zone resides in (unmodifiable)Methods in org.goplanit.zoning with parameters of type TransferZoneGroup Modifier and Type Method Description void
TransferZoneImpl. addToTransferZoneGroup(TransferZoneGroup transferZoneGroup)
register this transfer zone group as a group this transfer zone is part ofboolean
TransferZoneImpl. isInTransferZoneGroup(TransferZoneGroup transferZoneGroup)
Verify if transfer zone is part of passed in transfer zone groupboolean
TransferZoneImpl. removeFromTransferZoneGroup(TransferZoneGroup transferZoneGroup)
remove from transfer zone group provided and also remove ths transfer zone from group providedMethod parameters in org.goplanit.zoning with type arguments of type TransferZoneGroup Modifier and Type Method Description TransferZoneGroupsImpl
TransferZoneGroupsImpl. deepCloneWithMapping(BiConsumer<TransferZoneGroup,TransferZoneGroup> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapperTransferZoneGroupsImpl
TransferZoneGroupsImpl. deepCloneWithMapping(BiConsumer<TransferZoneGroup,TransferZoneGroup> mapper)
Deep clone implementation where the mapping for its internal copies is captured by the provided mapperConstructor parameters in org.goplanit.zoning with type arguments of type TransferZoneGroup Constructor Description TransferZoneGroupsImpl(TransferZoneGroupsImpl other, boolean deepCopy, BiConsumer<TransferZoneGroup,TransferZoneGroup> mapper)
Copy constructor, also creates new factory with this as its underlying containerTransferZoneGroupsImpl(TransferZoneGroupsImpl other, boolean deepCopy, BiConsumer<TransferZoneGroup,TransferZoneGroup> mapper)
Copy constructor, also creates new factory with this as its underlying container
-