AGSGeneralizeParameters Class Reference


Description

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

Defined in:
AGSGeometryParameters.h ( ArcGIS library)
Since:
1.0
See also:
AGSGeometryServiceTask
Inheritance diagram for AGSGeneralizeParameters:
<AGSCoding>

List of all members.

Public Member Functions

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

Static Public Member Functions

(id) + generalizeParameters

Properties

AGSSRUnit deviationUnit
NSArray * geometries
double maxDeviation

Member Function Documentation

- (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) generalizeParameters  

Returns an autoreleased instance of the AGSGeneralizeParameters 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

- (AGSSRUnit) deviationUnit [read, write, assign]

(Optional) The units to be used for maxDeviation. If the deviationUnit is not specified, the units are derived from the spatial reference of the input geometries.

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

The array of input geometries to generalize. All geometries in this array must be of the same geometry type (AGSPolyline or AGSPolygon).

Since:
1.0
- (double) maxDeviation [read, write, assign]

Specifies the maximum deviation for constructing a generalized geometry based on the input geometries.

Since:
1.0