Represents input parameters for computing service area using ServiceAreaTask. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.1 |
Inherits: |
Properties
- accumulateAttributeNames : list<string>
- defaultImpedanceCutoffs : list<double>
- geometryAtCutoff : Enums.ServiceAreaPolygonCutoffGeometry
- geometryAtOverlap : Enums.ServiceAreaOverlapGeometry
- outputSpatialReference : SpatialReference
- polygonBufferDistance : double
- polygonDetail : Enums.ServiceAreaPolygonDetail
- returnPointBarriers : bool
- returnPolygonBarriers : bool
- returnPolygons : bool
- returnPolylineBarriers : bool
- returnPolylines : bool
- startTime : date
- travelDirection : Enums.TravelDirection
- travelMode : TravelMode
Signals
- accumulateAttributeNamesChanged()
- defaultImpedanceCutoffsChanged()
- geometryAtCutoffChanged()
- geometryAtOverlapChanged()
- outputSpatialReferenceChanged()
- polygonBufferDistanceChanged()
- polygonDetailChanged()
- returnPointBarriersChanged()
- returnPolygonBarriersChanged()
- returnPolygonsChanged()
- returnPolylineBarriersChanged()
- returnPolylinesChanged()
- startTimeChanged()
- travelDirectionChanged()
- travelModeChanged()
Methods
- void clearFacilities()
- void clearPointBarriers()
- void clearPolygonBarriers()
- void clearPolylineBarriers()
- string searchWhereClause(string sourceName)
- void setFacilities(list<ServiceAreaFacility> facilities)
- void setFacilitiesWithFeatureTable(ArcGISFeatureTable featureTable, QueryParameters queryParameters)
- void setPointBarriers(list<PointBarriers> pointBarriers)
- void setPointBarriersWithFeatureTable(ArcGISFeatureTable featureTable, QueryParameters queryParameters)
- void setPolygonBarriers(list<PolygonBarriers> polygonBarriers)
- void setPolygonBarriersWithFeatureTable(ArcGISFeatureTable featureTable, QueryParameters queryParameters)
- void setPolylineBarriers(list<PolylineBarriers> polylineBarriers)
- void setPolylineBarriersWithFeatureTable(ArcGISFeatureTable featureTable, QueryParameters queryParameters)
- void setSearchWhereClause(string sourceName, string searchWhereClause)
Detailed Description
The ServiceAreaParameters class contains all inputs for the ServiceAreaTask, as well as settings such as the facilities, impedance attribute, accumulate and restriction attributes, backtrack (U-turn) policy, etc.
Note: You cannot declare or create a component of this type in QML code. The standard pattern is to retrieve one from the ServiceAreaTask type so it already contain defaults values necessary for solving service area.
See also ServiceAreaTask::createDefaultParameters.
Property Documentation
The list of attributes to accumulate.
Use this parameter to specify if the service should accumulate values other than the value specified as the impedanceAttributeName when generating service area lines. For example, you might want to generate service area lines based on travel distance and accumulate travel time. The service area lines are based on distance, but they also specify how long it would take to reach a portion of the service area.
The behavior of service area output for a single facility when multiple cutoff values are specified.
See also Enums.ServiceAreaPolygonCutoffGeometry.
The behavior of service area output from multiple facilities in relation to one another.
See also Enums.ServiceAreaOverlapGeometry.
outputSpatialReference : SpatialReference |
The output spatial reference.
The level of detail of the output polygons.
See also Enums.ServiceAreaPolygonDetail.
Whether to return point barriers in the result.
Reusing the PointBarriers from the ServiceAreaResult (as opposed to using the original PointBarriers) can increase the speed of any subsequent route calculations.
Whether to return polygon barriers in the result.
Reusing the PolygonBarriers from the ServiceAreaResult (as opposed to using the original PolygonBarriers) can increase the speed of any subsequent route calculations. This is particularly true for complex polygons.
Whether to return polyline barriers in the result.
Reusing the PolylineBarriers from the ServiceAreaResult (as opposed to using the original PolylineBarriers) can increase the speed of any subsequent route calculations. This is particularly true for complex polylines.
The travel direction (to or away from the facility).
See also Enums.TravelDirection.
travelMode : TravelMode |
The travel mode for a service area.
Signal Documentation
Emitted when the accumulateAttributeNames property changes.
Note: The corresponding handler is onAccumulateAttributeNamesChanged
.
Emitted when the defaultImpedanceCutoffs property changes.
Note: The corresponding handler is onDefaultImpedanceCutoffsChanged
.
Emitted when the geometryAtCutoff property changes.
Note: The corresponding handler is onGeometryAtCutoffChanged
.
Emitted when the geometryAtOverlap property changes.
Note: The corresponding handler is onGeometryAtOverlapChanged
.
Emitted when the outputSpatialReference property changes.
Note: The corresponding handler is onOutputSpatialReferenceChanged
.
Emitted when the polygonBufferDistance property changes.
Note: The corresponding handler is onPolygonBufferDistanceChanged
.
Emitted when the polygonDetail property changes.
Note: The corresponding handler is onPolygonDetailChanged
.
Emitted when the returnPointBarriers property changes.
Note: The corresponding handler is onReturnPointBarriersChanged
.
Emitted when the returnPolygonBarriers property changes.
Note: The corresponding handler is onReturnPolygonBarriersChanged
.
Emitted when the returnPolygons property changes.
Note: The corresponding handler is onReturnPolygonsChanged
.
Emitted when the returnPolylineBarriers property changes.
Note: The corresponding handler is onReturnPolylineBarriersChanged
.
Emitted when the returnPolylines property changes.
Note: The corresponding handler is onReturnPolylinesChanged
.
Emitted when the startTime property changes.
Note: The corresponding handler is onStartTimeChanged
.
Emitted when the travelDirection property changes.
Note: The corresponding handler is onTravelDirectionChanged
.
Emitted when the travelMode property changes.
Note: The corresponding handler is onTravelModeChanged
.
Method Documentation
Clears the facilities that have been set on this ServiceAreaParameters::setFacilities().
Clears point barriers that were set by ServiceAreaParameters::setPointBarriers().
Clears the polygon barriers that have been set by ServiceAreaParameters::setPolygonBarriers().
Clears the polyline barriers that have been set on this ServiceAreaParameters::setPolylineBarriers().
Returns the search WHERE clause from the specified sourceName.
This method was introduced in Esri.ArcGISRuntime 100.6.
See also setSearchWhereClause().
void setFacilities(list<ServiceAreaFacility> facilities) |
Sets the list of facilities of this ServiceAreaTask to facilities.
void setFacilitiesWithFeatureTable(ArcGISFeatureTable featureTable, QueryParameters queryParameters) |
Sets the facilities for a ServiceAreaTask by providing a featureTable filtered with queryParameters.
Sets the list of point barriers of this ServiceAreaParameters to pointBarriers.
void setPointBarriersWithFeatureTable(ArcGISFeatureTable featureTable, QueryParameters queryParameters) |
Sets the point barriers for a ServiceAreaTask by providing a featureTable filtered with queryParameters.
Sets the list of polygon barriers of this ServiceAreaParameters to polygonBarriers.
void setPolygonBarriersWithFeatureTable(ArcGISFeatureTable featureTable, QueryParameters queryParameters) |
Sets the polygon barriers for a ServiceAreaTask by providing a featureTable filtered with queryParameters.
Sets the list of polyline barriers of this ServiceAreaParameters to polylineBarriers.
void setPolylineBarriersWithFeatureTable(ArcGISFeatureTable featureTable, QueryParameters queryParameters) |
Sets the polyline barriers for a ServiceAreaTask by providing a featureTable filtered with queryParameters.
Sets the searchWhereClause for the specified sourceName.
This filters the potential matches returned from the task based on an expression.
Note: Search WHERE clauses are not supported for online service area tasks. They are only supported when solving local service area tasks.
This method was introduced in Esri.ArcGISRuntime 100.6.
See also searchWhereClause().