Instances of this class represent parameters for AGSGeometryServiceTask
's bufferWithParameters:
operation.
Public Member Functions | |
(void) | - decodeWithJSON: |
(NSDictionary *) | - encodeToJSON |
(id) | - initWithJSON: |
Static Public Member Functions | |
(id) | + bufferParameters |
Properties | |
AGSSpatialReference * | bufferSpatialReference |
NSArray * | distances |
NSArray * | geometries |
AGSSpatialReference * | outSpatialReference |
BOOL | unionResults |
AGSSRUnit | unit |
+ (id) bufferParameters |
Returns an autoreleased instance of the AGSBufferParameters
object.
- (void) decodeWithJSON: | (NSDictionary *) | json | [optional, inherited] |
Decode object from JSON representation.
json | The JSON representation of the object to be decoded. |
- (NSDictionary *) encodeToJSON | [optional, inherited] |
Encode and return JSON representation for object.
- (id) initWithJSON: | (NSDictionary *) | json | [optional, inherited] |
Initialize and return object from JSON representation.
json | The JSON representation of the object to be created. |
Reimplemented in AGSWebMapFeatureCollection.
- (AGSSpatialReference*) bufferSpatialReference [read, write, retain] |
The spatial reference in which the geometries should be buffered. If bufferSpatialReference
is not specified, the geometries are buffered in the spatial reference specified by outSpatialReference. If outSpatialReference is also not specified, they are buffered in their original spatial reference.
- (NSArray*) distances [read, write, retain] |
The distances by which the input geometries are to be buffered. The distance units are specified by unit.
- (NSArray*) geometries [read, write, retain] |
The input geometries to buffer.
- (AGSSpatialReference*) outSpatialReference [read, write, retain] |
The spatial reference for the returned geometries. If this is not specified, the output geometries are in the spatial reference specified by bufferSpatialReference. If bufferSpatialReference is also not specified, they are returned in their original spatial reference.
- (BOOL) unionResults [read, write, assign] |
If YES
, all geometries buffered at a given distance are unioned into a single (possibly multipart) polygon. Default is NO
.
- (AGSSRUnit) unit [read, write, assign] |
The units of the buffer distance. Possible values are listed in the documentation for esriSRUnitType and esriSRUnit2Type.
If unit
is not specified, the units are derived from bufferSpatialReference. If bufferSpatialReference is not specified, the units are derived from the features' spatial reference.