ArcGIS Runtime SDK for iOS: AGSWFSFeatureTable.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSWFSFeatureTable.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 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 #import <ArcGIS/AGSCancelable.h>
31 
32 
33 
37 typedef NS_ENUM(NSInteger, AGSOGCAxisOrder) {
41 };
42 
43 @class AGSWFSLayerInfo;
44 @class AGSSpatialReference;
45 @class AGSQueryParameters;
47 
57 
58 #pragma mark -
59 #pragma mark initializers
60 
61 
62 
67 -(instancetype)initWithLayerInfo:(AGSWFSLayerInfo*)layerInfo;
68 
73 +(instancetype)WFSFeatureTableWithLayerInfo:(AGSWFSLayerInfo*)layerInfo;
74 
80 -(instancetype)initWithURL:(NSURL*)URL tableName:(NSString*)tableName;
81 
87 +(instancetype)WFSFeatureTableWithURL:(NSURL*)URL tableName:(NSString*)tableName;
88 
89 #pragma mark -
90 #pragma mark properties
91 
100 @property (nonatomic, assign, readwrite) AGSOGCAxisOrder axisOrder;
101 
107 @property (nonatomic, assign, readwrite) AGSFeatureRequestMode featureRequestMode;
108 
114 @property (nonatomic, assign, readwrite) AGSOGCAxisOrder filterAxisOrder;
115 
119 @property (nullable, nonatomic, strong, readonly) AGSWFSLayerInfo *layerInfo;
120 
127 @property (nullable, nonatomic, strong, readwrite) AGSSpatialReference *preferredSpatialReference;
128 
129 #pragma mark -
130 #pragma mark methods
131 
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:40
AGSOGCAxisOrder
Definition: AGSWFSFeatureTable.h:37
@ AGSOGCAxisOrderNoSwap
Definition: AGSWFSFeatureTable.h:40
@ AGSOGCAxisOrderSwap
Definition: AGSWFSFeatureTable.h:39
@ AGSOGCAxisOrderAuto
Definition: AGSWFSFeatureTable.h:38
Result of queries that return features.
Definition: AGSFeatureQueryResult.h:49
A source for dataset containing geographic features or non-spatial records.
Definition: AGSFeatureTable.h:65
Parameters to perform a query using AGSFeatureTable.
Definition: AGSQueryParameters.h:45
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49
Represents a table in an OGC Web Feature Service.
Definition: AGSWFSFeatureTable.h:56
AGSWFSLayerInfo * layerInfo
Definition: AGSWFSFeatureTable.h:119
AGSOGCAxisOrder filterAxisOrder
Definition: AGSWFSFeatureTable.h:114
AGSOGCAxisOrder axisOrder
Definition: AGSWFSFeatureTable.h:100
AGSFeatureRequestMode featureRequestMode
Definition: AGSWFSFeatureTable.h:107
AGSSpatialReference * preferredSpatialReference
Definition: AGSWFSFeatureTable.h:127
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