Function query(layerQueries:returnGeometry:returnObjectIDs:returnCount:returnZ:returnM:geometryPrecision:returnTrueCurves:sqlFormat:gdbVersion:)
public func query(
layerQueries: [Self.LayerQuery],
returnGeometry: Bool = true,
returnObjectIDs: Bool = false,
returnCount: Bool = false,
returnZ: Bool = false,
returnM: Bool = false,
geometryPrecision: Int? = nil,
returnTrueCurves: Bool = false,
sqlFormat: SQLFormat = .none,
// useStandardizedQuery: Bool = false,
gdbVersion: String? = nil
)
Query the FeatureServer
.
-
Reference: https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-.htm
Parameters
Name | Type | Description |
---|---|---|
layerQueries | [Self.LayerQuery] |
The queries you want to perform. |
returnGeometry | Bool |
If `true``, the result includes the geometry associated with each feature returned. |
returnObjectIDs | Bool |
If |
returnCount | Bool |
If |
returnZ | Bool |
If |
returnM | Bool |
If |
geometryPrecision | Int? |
The number of decimal places in the response geometries returned by the query operation. This applies to x- and y-values only (not m- or z-values). |
returnTrueCurves | Bool |
This option was added at 10.5. When set to true, the query returns true curves in output geometries. When set to |
sqlFormat | SQLFormat |
[This parameter] can be either standard SQL-92 |
useStandardizedQuery | TODO |
|
gdbVersion | String? |
the geodatabase version to query. This parameter applies only if the |
Returns
An Array
of FeatureLayer
s.