Instances of this class represent parameters for AGSGeometryServiceTask's areasAndLengthsWithParameters: operation.
Public Member Functions | |
| (void) | - decodeWithJSON: |
| (NSDictionary *) | - encodeToJSON |
| (id) | - initWithJSON: |
Static Public Member Functions | |
| (id) | + areasAndLengthsParameters |
Properties | |
| AGSAreaUnits | areaUnit |
| AGSSRUnit | lengthUnit |
| NSArray * | polygons |
| + (id) areasAndLengthsParameters |
Initialize an autoreleased AGSAreasAndLengthsParameters 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. |
- (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 - (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
- (NSArray*) polygons [read, write, retain] |
The array of polygons whose areas and lengths are to be computed.