AGSAreasAndLengthsParameters Class Reference


Description

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

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

List of all members.

Public Member Functions

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

Static Public Member Functions

(id) + areasAndLengthsParameters

Properties

AGSAreaUnits areaUnit
AGSSRUnit lengthUnit
NSArray * polygons

Member Function Documentation

+ (id) areasAndLengthsParameters  

Initialize an autoreleased AGSAreasAndLengthsParameters 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

- (AGSAreaUnits) areaUnit [read, write, assign]

The area unit in which areas of polygons will be calculated. It can be any AGSAreaUnits constant. If unit is not specified, the units are derived from sr.

Possible values:

  • AGSAreaUnitsSquareInches
  • AGSAreaUnitsSquareFeet
  • AGSAreaUnitsSquareYards
  • AGSAreaUnitsAcres
  • AGSAreaUnitsSquareMiles
  • AGSAreaUnitsSquareMillimeters
  • AGSAreaUnitsSquareCentimeters
  • AGSAreaUnitsSquareDecimeters
  • AGSAreaUnitsSquareMeters
  • AGSAreaUnitsAres
  • AGSAreaUnitsHectares
  • AGSAreaUnitsSquareKilometers
Since:
1.0
See also:
AGSAreaUnits
- (AGSSRUnit) lengthUnit [read, write, assign]

The length unit in which perimeters of polygons will be calculated. It can be any AGSSRUnit constant. If lengthUnit is not specified, the units are derived from the spatial reference of the input polygons.

Possible value:

For a complete list, see AGSSRUnit

Since:
1.0
See also:
AGSSRUnit
- (NSArray*) polygons [read, write, retain]

The array of AGSPolygon objects whose areas and lengths are to be computed.

Since:
1.0