ArcGIS Runtime SDK for iOS: AGSWFSFeatureTable.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSWFSFeatureTable.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSFeatureTable.h>
29 #import <ArcGIS/AGSRemoteResource.h>
30 
31 
32 
36 typedef NS_ENUM(NSInteger, AGSOGCAxisOrder) {
40 };
41 
42 @class AGSWFSLayerInfo;
43 @class AGSSpatialReference;
44 @class AGSQueryParameters;
46 
47 @protocol AGSCancelable;
48 
58 
59 #pragma mark -
60 #pragma mark initializers
61 
62 
63 
68 -(instancetype)initWithLayerInfo:(AGSWFSLayerInfo*)layerInfo;
69 
74 +(instancetype)WFSFeatureTableWithLayerInfo:(AGSWFSLayerInfo*)layerInfo;
75 
81 -(instancetype)initWithURL:(NSURL*)URL tableName:(NSString*)tableName;
82 
88 +(instancetype)WFSFeatureTableWithURL:(NSURL*)URL tableName:(NSString*)tableName;
89 
90 #pragma mark -
91 #pragma mark properties
92 
101 @property (nonatomic, assign, readwrite) AGSOGCAxisOrder axisOrder;
102 
108 @property (nonatomic, assign, readwrite) AGSFeatureRequestMode featureRequestMode;
109 
115 @property (nonatomic, assign, readwrite) AGSOGCAxisOrder filterAxisOrder;
116 
120 @property (nullable, nonatomic, strong, readonly) AGSWFSLayerInfo *layerInfo;
121 
128 @property (nullable, nonatomic, strong, readwrite) AGSSpatialReference *preferredSpatialReference;
129 
130 #pragma mark -
131 #pragma mark methods
132 
145 -(id<AGSCancelable>)populateFromServiceWithParameters:(AGSQueryParameters *)parameters
146  clearCache:(BOOL)clearCache
147  outFields:(nullable NSArray<NSString*> *)outFields
148  completion:(nullable void(^)(AGSFeatureQueryResult *__nullable result, NSError *__nullable error))completion;
149 
165 -(id<AGSCancelable>)populateFromServiceWithRequestXML:(NSString *)requestXML
166  clearCache:(BOOL)clearCache
167  completion:(nullable void(^)(AGSFeatureQueryResult *__nullable result, NSError *__nullable error))completion;
168 
169 @end
170 
171 
AGSFeatureRequestMode
Definition: AGSFeatureTable.h:39
AGSOGCAxisOrder
Definition: AGSWFSFeatureTable.h:36
@ AGSOGCAxisOrderNoSwap
Definition: AGSWFSFeatureTable.h:39
@ AGSOGCAxisOrderSwap
Definition: AGSWFSFeatureTable.h:38
@ AGSOGCAxisOrderAuto
Definition: AGSWFSFeatureTable.h:37
Result of queries that return features.
Definition: AGSFeatureQueryResult.h:49
A source for dataset containing geographic features or non-spatial records.
Definition: AGSFeatureTable.h:66
Parameters to perform a query using AGSFeatureTable.
Definition: AGSQueryParameters.h:45
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:46
Represents a table in an OGC Web Feature Service.
Definition: AGSWFSFeatureTable.h:57
AGSWFSLayerInfo * layerInfo
Definition: AGSWFSFeatureTable.h:120
AGSOGCAxisOrder filterAxisOrder
Definition: AGSWFSFeatureTable.h:115
AGSOGCAxisOrder axisOrder
Definition: AGSWFSFeatureTable.h:101
AGSFeatureRequestMode featureRequestMode
Definition: AGSWFSFeatureTable.h:108
AGSSpatialReference * preferredSpatialReference
Definition: AGSWFSFeatureTable.h:128
An object that represents the WFS Layer info.
Definition: AGSWFSLayerInfo.h:41
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40