A class that describes the transportation network that a closest facility task is bound to. More...
Member Function Documentation ClosestFacilityTaskInfo::ClosestFacilityTaskInfo()Default constructor.
Warning: This is for convenience only and will construct an empty object.
ClosestFacilityTaskInfo::ClosestFacilityTaskInfo(const Esri::ArcGISRuntime::ClosestFacilityTaskInfo &other)Copy constructor from other ClosestFacilityTaskInfo.
[noexcept]
ClosestFacilityTaskInfo::ClosestFacilityTaskInfo(Esri::ArcGISRuntime::ClosestFacilityTaskInfo &&other)
Move constructor from other ClosestFacilityTaskInfo.
[noexcept]
ClosestFacilityTaskInfo::~ClosestFacilityTaskInfo()
Destructor.
QStringList ClosestFacilityTaskInfo::accumulateAttributeNames() constReturns the default list of accumulative attribute names.
For example, accumulateAttributeNames = ["Miles", "Kilometers"] indicates that the total cost of the route should also be calculated in miles and kilometers. All supported attributes can be obtained from ClosestFacilityTaskInfo::costAttributes() method.
Note: The same list of accumulate attribute names can be obtained from ClosestFacilityParameters::accumulateAttributeNames() method.
QMap<QString, Esri::ArcGISRuntime::CostAttribute> ClosestFacilityTaskInfo::costAttributes() constReturns a map of available cost attributes from the network.
The key is the name as a QString, and the value is the CostAttribute.
double ClosestFacilityTaskInfo::defaultImpedanceCutoff() constReturns the default value for the impedance beyond which facilities should not be found.
For instance, while finding the closest hospitals from the site of an accident, a cutoff value of 15 minutes would mean that the closest facility task would search for the closest hospital within 15 minutes from the incident. If the closest hospital is 17 minutes away, no routes will be returned in the output routes. A cutoff value is especially useful when searching for multiple facilities or incidents. The units for impedance cutoff is based on the value of the TravelMode::impedanceAttributeName(). For example, if TravelMode::impedanceAttributeName() parameter is TravelTime, the defaultCutoff is specified in minutes.
int ClosestFacilityTaskInfo::defaultTargetFacilityCount() constReturns the default number of facilities to find.
QString ClosestFacilityTaskInfo::defaultTravelModeName() constReturns the default travel mode name.
If the closest facility task is initialized with a URL that has no travel modes, then the default travel mode name is an empty string.
See also TravelMode.
Esri::ArcGISRuntime::UnitSystem ClosestFacilityTaskInfo::directionsDistanceUnits() constReturns the directions distance text units.
Default value UnitSystem::Metric will be returned on error.
QString ClosestFacilityTaskInfo::directionsLanguage() constReturns the directions language.
The language of the output directions e.g. "en-US".
Esri::ArcGISRuntime::DirectionsStyle ClosestFacilityTaskInfo::directionsStyle() constReturns the directions style.
The directions setting to generate directions designed for different kind of applications. Default value DirectionsStyle::Desktop will be returned on error.
[since Esri::ArcGISRuntime 100.7]
Esri::ArcGISRuntime::NetworkDirectionsSupport ClosestFacilityTaskInfo::directionsSupport() const
Returns whether the underlying network dataset supports the returning of directions.
For services prior to ArcGIS 10.8, this value will be NetworkDirectionsSupport::Unknown.
This function was introduced in Esri::ArcGISRuntime 100.7.
bool ClosestFacilityTaskInfo::isEmpty() constReturns true
if this ClosestFacilityTaskInfo is empty.
[since Esri::ArcGISRuntime 100.6]
double ClosestFacilityTaskInfo::maxLocatingDistance() const
Returns the maximum locating distance is the furthest distance in meters that Network Analyst searches when locating or relocating a point onto the network.
The search looks for suitable edges or junctions and snaps the point to the nearest one. If a suitable location isn't found within the maximum locating distance, the object is marked as unlocated.
Maximum locating distance is the furthest distance (in meters) that Network Analyst searches when locating or relocating a point onto the network. The search looks for suitable edges or junctions and snaps the point to the nearest one. If a suitable location isn't found within the maximum locating distance, the object is marked as unlocated.
This function was introduced in Esri::ArcGISRuntime 100.6.
QString ClosestFacilityTaskInfo::networkName() constReturns the network name.
Esri::ArcGISRuntime::SpatialReference ClosestFacilityTaskInfo::outputSpatialReference() constReturns the default output spatial reference.
The spatial reference that will be used for output geometry during closest facility solving.
QMap<QString, Esri::ArcGISRuntime::RestrictionAttribute> ClosestFacilityTaskInfo::restrictionAttributes() constReturns a map of available restriction attributes from the network.
The key is the name as a QString, and the value is the RestrictionAttribute.
The names of set restriction attributes e.g. "Oneway".
Esri::ArcGISRuntime::RouteShapeType ClosestFacilityTaskInfo::routeShapeType() constReturns the route shape type.
The enumeration value for the output shape type e.g.straight line shape, true shape, or no shape. Default value RouteShapeType::None will be returned on error.
QDateTime ClosestFacilityTaskInfo::startTime() constReturns the default start time of the closest facility route in UTC time.
An empty QDateTime if a start time was not set.
Esri::ArcGISRuntime::StartTimeUsage ClosestFacilityTaskInfo::startTimeUsage() constReturns the default start time usage type.
Default value StartTimeUsage::DepartureTime will be returned on error.
QStringList ClosestFacilityTaskInfo::supportedLanguages() constReturns a list of supported languages.
Supported languages of the output directions.
QStringList ClosestFacilityTaskInfo::supportedRestrictionUsageParameterValues() constReturns the supported values for soft restrictions.
Restrictions can be identified for particular elements such that during an analysis, traversing restricted elements is prohibited entirely, avoided, or preferred. The values in this list which are assigned to the restriction usage parameter determine whether the restriction attribute prohibits, avoids, or prefers its associated network elements. Furthermore, the degree to which network elements are avoided or preferred can be defined by choosing High, Medium, or Low.
Esri::ArcGISRuntime::TravelDirection ClosestFacilityTaskInfo::travelDirection() constReturns the default travel direction type.
Default value TravelDirection::FromFacility will be returned on error.
QList<Esri::ArcGISRuntime::TravelMode> ClosestFacilityTaskInfo::travelModes() constReturns a list of travel modes set in the ClosestFacilityParameters.
[noexcept]
Esri::ArcGISRuntime::ClosestFacilityTaskInfo &ClosestFacilityTaskInfo::operator=(Esri::ArcGISRuntime::ClosestFacilityTaskInfo &&other)
Move operator from other ClosestFacilityTaskInfo.
Esri::ArcGISRuntime::ClosestFacilityTaskInfo &ClosestFacilityTaskInfo::operator=(const Esri::ArcGISRuntime::ClosestFacilityTaskInfo &other)Assignment operator from other ClosestFacilityTaskInfo.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4