| Package | com.esri.ags.tasks |
| Class | public class BufferParameters |
var bufferParameters:BufferParameters = new BufferParameters(); bufferParameters.features = [myLastFeature]; bufferParameters.distances = [ 3000 ]; // [ 2000, 4000 ]; bufferParameters.unit = BufferParameters.UNIT_METER; bufferParameters.bufferSpatialReference = new SpatialReference(102100); //30800 myGeometryService.buffer(bufferParameters);
See also
| Property | Defined by | ||
|---|---|---|---|
| bufferSpatialReference : SpatialReference
The well-known ID of the spatial reference in which the geometries are buffered.
| BufferParameters | ||
| distances : Array
The distances the input geometries are buffered.
| BufferParameters | ||
| features : Array
The array of graphics that should be buffered.
| BufferParameters | ||
| outSpatialReference : SpatialReference
The well-known ID of the spatial reference for the returned geometries.
| BufferParameters | ||
| unionResults : Boolean
If true, all geometries buffered at a given distance are unioned into a single
(possibly multipart) polygon and the unioned geometry is placed in the output array.
| BufferParameters | ||
| unit : Number
The units for calculating each buffer distance.
| BufferParameters | ||
| Constant | Defined by | ||
|---|---|---|---|
| UNIT_FOOT : Number = 9002 [static]
International foot (0.3048 meters).
| BufferParameters | ||
| UNIT_KILOMETER : Number = 9036 [static]
Kilometers.
| BufferParameters | ||
| UNIT_METER : Number = 9001 [static]
International meter.
| BufferParameters | ||
| UNIT_NAUTICAL_MILE : Number = 9030 [static]
Nautical miles (1,852 metres).
| BufferParameters | ||
| UNIT_STATUTE_MILE : Number = 9093 [static]
Miles (5,280 feet, 1,760 yards, or exactly 1,609.344 meters).
| BufferParameters | ||
| UNIT_US_NAUTICAL_MILE : Number = 109012 [static]
US nautical miles.
| BufferParameters | ||
| bufferSpatialReference | property |
public var bufferSpatialReference:SpatialReferenceThe well-known ID of the spatial reference in which the geometries are 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 the spatial reference specified by inSpatialReference.
| distances | property |
public var distances:ArrayThe distances the input geometries are buffered. The distance units are specified by unit.
| features | property |
public var features:ArrayThe array of graphics that should be buffered.
See also
| outSpatialReference | property |
public var outSpatialReference:SpatialReferenceThe well-known ID of the spatial reference for the returned geometries. If outSpatialReference is not specified, the output geometries are in the spatial reference specified by bufferSpatialReference. If bufferSpatialReference is also not specified, they are in the spatial reference specified by inSpatialReference.
| unionResults | property |
public var unionResults:BooleanIf true, all geometries buffered at a given distance are unioned into a single (possibly multipart) polygon and the unioned geometry is placed in the output array.
The default value is false.
| unit | property |
public var unit:NumberThe units for calculating each buffer distance. If unit is not specified, the units are derived from bufferSpatialReference. If bufferSpatialReference is not specified, the units are derived from inSpatialReference.
| UNIT_FOOT | constant |
public static const UNIT_FOOT:Number = 9002International foot (0.3048 meters).
| UNIT_KILOMETER | constant |
public static const UNIT_KILOMETER:Number = 9036Kilometers.
| UNIT_METER | constant |
public static const UNIT_METER:Number = 9001International meter.
| UNIT_NAUTICAL_MILE | constant |
public static const UNIT_NAUTICAL_MILE:Number = 9030Nautical miles (1,852 metres).
| UNIT_STATUTE_MILE | constant |
public static const UNIT_STATUTE_MILE:Number = 9093Miles (5,280 feet, 1,760 yards, or exactly 1,609.344 meters).
| UNIT_US_NAUTICAL_MILE | constant |
public static const UNIT_US_NAUTICAL_MILE:Number = 109012US nautical miles.