AGSBufferParameters Class Reference


Description

Instances of this class represent parameters for AGSGeometryServiceTask's bufferWithParameters: operation.

Defined in:
AGSGeometryParameters.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for AGSBufferParameters:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Static Public Member Functions

(id) + bufferParameters

Properties

AGSSpatialReferencebufferSpatialReference
NSArray * distances
NSArray * geometries
AGSSpatialReferenceoutSpatialReference
BOOL unionResults
AGSSRUnit unit

Member Function Documentation

+ (id) bufferParameters  

Returns an autoreleased instance of the AGSBufferParameters object.

Since:
1.0
- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0

Property Documentation

- (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.

Since:
1.0
- (NSArray*) distances [read, write, retain]

The distances by which the input geometries are to be buffered. The distance units are specified by unit.

Since:
1.0
- (NSArray*) geometries [read, write, retain]

The input geometries to buffer.

Since:
1.0
- (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.

Since:
1.0
- (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.

Since:
1.0
- (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.

Since:
1.0