| Package | com.esri.ags.tasks |
| Class | public class GeometryService |
| Inheritance | GeometryService BaseTask flash.events.EventDispatcher |
Set the URL to the ArcGIS Server REST resource that represents a GeometryService, for example, http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer. For more information on constructing a URL, see Using the ArcGIS Services Directory.
See also
| Property | Defined By | ||
|---|---|---|---|
| areasAndLengthsLastResult : AreasAndLengthsResult [read-only]
The result returned from last call to the areasAndLengths function. | GeometryService | ||
| autoCompleteLastResult : Array [read-only]
Array of polygon returned from last call to the autoComplete function. | GeometryService | ||
![]() | autoNormalize : Boolean
If true, normalizes the geometries across the central meridian. | BaseTask | |
| bufferLastResult : Array [read-only]
Array of polygon returned from last call to the buffer function. | GeometryService | ||
![]() | concurrency : String
Value that indicates how to handle multiple calls to the same task. | BaseTask | |
| convexHullLastResult : Geometry [read-only]
Geometry returned from last call to the convexHull function. | GeometryService | ||
| cutLastResult : CutResult [read-only]
The result returned from last call to the cut function. | GeometryService | ||
| densifyLastResult : Array [read-only]
Array of geometry returned from last call to the densify function. | GeometryService | ||
| differenceLastResult : Array [read-only]
Array of geometry returned from last call to the difference function. | GeometryService | ||
![]() | disableClientCaching : Boolean
If true, adds a timestamp parameter ("_ts") to the REST request to prevent the request from
being loaded from the browser's cache. | BaseTask | |
| distanceLastResult : Number [read-only]
The "distance" returned from last call to the distance function. | GeometryService | ||
| generalizeLastResult : Array [read-only]
Array of geometry returned from last call to the generalize function. | GeometryService | ||
| intersectLastResult : Array [read-only]
Array of geometry returned from last call to the intersect function. | GeometryService | ||
| labelPointsLastResult : Array [read-only]
Array of mappoint returned from last call to the labelPoints function. | GeometryService | ||
| lengthsLastResult : Array [read-only]
Array of "length" returned from last call to the lengths function. | GeometryService | ||
![]() | method : String
URL request method to use. | BaseTask | |
| offsetLastResult : Array [read-only]
Array of geometry returned from last call to the offset function. | GeometryService | ||
| projectLastResult : Array [read-only]
Array of geometry returned from last call to the project function. | GeometryService | ||
![]() | proxyURL : String
The URL to proxy the request through. | BaseTask | |
| relationLastResult : Array [read-only]
Object with array of "relation" returned from last call to the relation function. | GeometryService | ||
![]() | requestTimeout : int
The request timeout in seconds. | BaseTask | |
| reshapeLastResult : Geometry [read-only]
Geometry returned from last call to the reshape function. | GeometryService | ||
![]() | showBusyCursor : Boolean
If true, a busy cursor is displayed while a service is executing. | BaseTask | |
| simplifyLastResult : Array [read-only]
Array of geometry returned from last call to the simplify function. | GeometryService | ||
![]() | token : String
Token for accessing a secure task. | BaseTask | |
| trimExtendLastResult : Array [read-only]
Array of polyline returned from last call to the trimExtend function. | GeometryService | ||
| unionLastResult : Geometry [read-only]
Geometry returned from last call to the union function. | GeometryService | ||
![]() | url : String
URL of the task. | BaseTask | |
| Method | Defined By | ||
|---|---|---|---|
GeometryService(url:String = null)
Creates a new GeometryService object. | GeometryService | ||
areasAndLengths(areasAndLengthsParameters:AreasAndLengthsParameters, responder:IResponder = null):AsyncToken
The areasAndLengths operation is performed on a geometry service resource. | GeometryService | ||
autoComplete(polygons:Array, polylines:Array, responder:IResponder = null):AsyncToken
The AutoComplete operation simplifies the process of constructing new polygons that are adjacent to other polygons. | GeometryService | ||
buffer(bufferParameters:BufferParameters, responder:IResponder = null):AsyncToken
The buffer operation is performed on a geometry service resource. | GeometryService | ||
convexHull(geometries:Array, outSR:SpatialReference, responder:IResponder = null):AsyncToken
The convexHull operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
The cut operation splits the input polyline or polygon where it crosses a cutting polyline (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
densify(densifyParameters:DensifyParameters, responder:IResponder = null):AsyncToken
The densify operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
difference(geometries:Array, geometry:Geometry, responder:IResponder = null):AsyncToken
The difference operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
distance(distanceParameters:DistanceParameters, responder:IResponder = null):AsyncToken
The distance operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
generalize(generalizeParameters:GeneralizeParameters, responder:IResponder = null):AsyncToken
The generalize operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
The intersect operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
labelPoints(polygons:Array, responder:IResponder = null):AsyncToken
The labelPoints operation is performed on a geometry service resource (only available with ArcGIS Server 9.3 Service Pack 1 or above). | GeometryService | ||
lengths(lengthsParameters:LengthsParameters, responder:IResponder = null):AsyncToken
Calculate the length of each polyline specified in the input array. | GeometryService | ||
offset(offsetParameters:OffsetParameters, responder:IResponder = null):AsyncToken
The offset operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
project(geometries:Array, outSpatialReference:SpatialReference, responder:IResponder = null):AsyncToken
Projects a set of geometries into a new spatial reference. | GeometryService | ||
relation(relationParameters:RelationParameters, responder:IResponder = null):AsyncToken
The relation operation is performed on a geometry service resource (only available with ArcGIS Server 9.3 Service Pack 1 or above). | GeometryService | ||
The reshape operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
simplify(geometries:Array, responder:IResponder = null):AsyncToken
Alters the given geometries to make their definitions topologically legal with respect to their geometry type. | GeometryService | ||
trimExtend(trimExtendParameters:TrimExtendParameters, responder:IResponder = null):AsyncToken
The trimExtend operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
union(geometries:Array, responder:IResponder = null):AsyncToken
The union operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). | GeometryService | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when an areasAndLengths operation successfully completes. | GeometryService | |||
| Dispatched when a autoComplete operation successfully completes. | GeometryService | |||
| Dispatched when a buffer operation successfully completes. | GeometryService | |||
| Dispatched when a convexHull operation successfully completes. | GeometryService | |||
| Dispatched when a cut operation successfully completes. | GeometryService | |||
| Dispatched when a densify operation successfully completes. | GeometryService | |||
| Dispatched when a difference operation successfully completes. | GeometryService | |||
| Dispatched when a distance operation successfully completes. | GeometryService | |||
| Dispatched when a GeometryService request fails. | GeometryService | |||
| Dispatched when a generalize operation successfully completes. | GeometryService | |||
| Dispatched when a intersect operation successfully completes. | GeometryService | |||
| Dispatched when a labelPoints operation successfully completes. | GeometryService | |||
| Dispatched when a lengths operation successfully completes. | GeometryService | |||
| Dispatched when a offset operation successfully completes. | GeometryService | |||
| Dispatched when a project operation successfully completes. | GeometryService | |||
| Dispatched when a relation operation successfully completes. | GeometryService | |||
| Dispatched when a reshape operation successfully completes. | GeometryService | |||
| Dispatched when a simplify operation successfully completes. | GeometryService | |||
| Dispatched when a trimExtend operation successfully completes. | GeometryService | |||
| Dispatched when a union operation successfully completes. | GeometryService | |||
| Constant | Defined By | ||
|---|---|---|---|
| UNIT_ACRES : String = esriAcres [static]
Acres (areal unit)
| GeometryService | ||
| UNIT_ARES : String = esriAres [static]
Ares (areal unit)
| GeometryService | ||
| UNIT_FOOT : Number = 9002 [static]
International foot (0.3048 meters). | GeometryService | ||
| UNIT_HECTARES : String = esriHectares [static]
Hectares (areal unit)
| GeometryService | ||
| UNIT_KILOMETER : Number = 9036 [static]
Kilometers. | GeometryService | ||
| UNIT_METER : Number = 9001 [static]
International meter. | GeometryService | ||
| UNIT_NAUTICAL_MILE : Number = 9030 [static]
Nautical miles (1,852 metres). | GeometryService | ||
| UNIT_SQUARE_CENTIMETERS : String = esriSquareCentimeters [static]
Square Centimeters (areal unit)
| GeometryService | ||
| UNIT_SQUARE_DECIMETERS : String = esriSquareDecimeters [static]
Square Decimeters (areal unit)
| GeometryService | ||
| UNIT_SQUARE_FEET : String = esriSquareFeet [static]
Square Feet (areal unit)
| GeometryService | ||
| UNIT_SQUARE_INCHES : String = esriSquareInches [static]
Square Inches (areal unit)
| GeometryService | ||
| UNIT_SQUARE_KILOMETERS : String = esriSquareKilometers [static]
Square Kilometers (areal unit)
| GeometryService | ||
| UNIT_SQUARE_METERS : String = esriSquareMeters [static]
Square Meters (areal unit)
| GeometryService | ||
| UNIT_SQUARE_MILES : String = esriSquareMiles [static]
Square Miles (areal unit)
| GeometryService | ||
| UNIT_SQUARE_MILLIMETERS : String = esriSquareMillimeters [static]
Square Millimeters (areal unit)
| GeometryService | ||
| UNIT_SQUARE_YARDS : String = esriSquareYards [static]
Square Yards (areal unit)
| GeometryService | ||
| UNIT_STATUTE_MILE : Number = 9093 [static]
Miles (5,280 feet, 1,760 yards, or exactly 1,609.344 meters). | GeometryService | ||
| UNIT_US_NAUTICAL_MILE : Number = 109012 [static]
US nautical miles. | GeometryService | ||
| areasAndLengthsLastResult | property |
areasAndLengthsLastResult:AreasAndLengthsResult [read-only] The result returned from last call to the areasAndLengths function.
This property can be used as the source for data binding.
public function get areasAndLengthsLastResult():AreasAndLengthsResult| autoCompleteLastResult | property |
autoCompleteLastResult:Array [read-only] Array of polygon returned from last call to the autoComplete function.
This property can be used as the source for data binding.
public function get autoCompleteLastResult():ArraySee also
| bufferLastResult | property |
bufferLastResult:Array [read-only] Array of polygon returned from last call to the buffer function.
This property can be used as the source for data binding.
public function get bufferLastResult():ArraySee also
| convexHullLastResult | property |
convexHullLastResult:Geometry [read-only] Geometry returned from last call to the convexHull function.
This property can be used as the source for data binding.
public function get convexHullLastResult():Geometry| cutLastResult | property |
cutLastResult:CutResult [read-only] The result returned from last call to the cut function.
This property can be used as the source for data binding.
public function get cutLastResult():CutResult| densifyLastResult | property |
densifyLastResult:Array [read-only] Array of geometry returned from last call to the densify function.
This property can be used as the source for data binding.
public function get densifyLastResult():ArraySee also
| differenceLastResult | property |
differenceLastResult:Array [read-only] Array of geometry returned from last call to the difference function.
This property can be used as the source for data binding.
public function get differenceLastResult():ArraySee also
| distanceLastResult | property |
distanceLastResult:Number [read-only] The "distance" returned from last call to the distance function.
This property can be used as the source for data binding.
public function get distanceLastResult():Number| generalizeLastResult | property |
generalizeLastResult:Array [read-only] Array of geometry returned from last call to the generalize function.
This property can be used as the source for data binding.
public function get generalizeLastResult():ArraySee also
| intersectLastResult | property |
intersectLastResult:Array [read-only] Array of geometry returned from last call to the intersect function.
This property can be used as the source for data binding.
public function get intersectLastResult():ArraySee also
| labelPointsLastResult | property |
labelPointsLastResult:Array [read-only] Array of mappoint returned from last call to the labelPoints function.
This property can be used as the source for data binding.
public function get labelPointsLastResult():ArraySee also
| lengthsLastResult | property |
lengthsLastResult:Array [read-only] Array of "length" returned from last call to the lengths function.
This property can be used as the source for data binding.
public function get lengthsLastResult():Array| offsetLastResult | property |
offsetLastResult:Array [read-only] Array of geometry returned from last call to the offset function.
This property can be used as the source for data binding.
public function get offsetLastResult():ArraySee also
| projectLastResult | property |
projectLastResult:Array [read-only] Array of geometry returned from last call to the project function.
This property can be used as the source for data binding.
public function get projectLastResult():ArraySee also
| relationLastResult | property |
relationLastResult:Array [read-only] Object with array of "relation" returned from last call to the relation function.
This property can be used as the source for data binding.
public function get relationLastResult():Array| reshapeLastResult | property |
reshapeLastResult:Geometry [read-only] Geometry returned from last call to the reshape function.
This property can be used as the source for data binding.
public function get reshapeLastResult():Geometry| simplifyLastResult | property |
simplifyLastResult:Array [read-only] Array of geometry returned from last call to the simplify function.
This property can be used as the source for data binding.
public function get simplifyLastResult():ArraySee also
| trimExtendLastResult | property |
trimExtendLastResult:Array [read-only] Array of polyline returned from last call to the trimExtend function.
This property can be used as the source for data binding.
public function get trimExtendLastResult():ArraySee also
| unionLastResult | property |
unionLastResult:Geometry [read-only] Geometry returned from last call to the union function.
This property can be used as the source for data binding.
public function get unionLastResult():Geometry| GeometryService | () | Constructor |
public function GeometryService(url:String = null)Creates a new GeometryService object.
Parametersurl:String (default = null) — [optional] URL to the ArcGIS Server REST resource that represents a geometry service.
|
| areasAndLengths | () | method |
public function areasAndLengths(areasAndLengthsParameters:AreasAndLengthsParameters, responder:IResponder = null):AsyncTokenThe areasAndLengths operation is performed on a geometry service resource. This operation calculates areas and perimeter lengths for each polygon specified in the input array. Using ArcGIS Server 10.0 and above it is possible to specify the units for calculating perimeter lengths and areas.
Parameters
areasAndLengthsParameters:AreasAndLengthsParameters — The AreasAndLengthsParameters object contains the input polygons, lengthUnit and areaUnit.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| autoComplete | () | method |
public function autoComplete(polygons:Array, polylines:Array, responder:IResponder = null):AsyncTokenThe AutoComplete operation simplifies the process of constructing new polygons that are adjacent to other polygons. It constructs polygons that fill in the gaps between existing polygons and a set of polylines.
Parameters
polygons:Array — The array of polygons that will provide some boundaries for new polygons.
| |
polylines:Array — The array of polylines that will provide the remaining boundaries for new polygons.
| |
responder:IResponder (default = null) — The well-known ID of the spatial reference of the input polygons and polylines.
|
AsyncToken |
See also
| buffer | () | method |
public function buffer(bufferParameters:BufferParameters, responder:IResponder = null):AsyncTokenThe buffer operation is performed on a geometry service resource. The result of this operation is buffer polygons at the specified distances for the input geometry array. An option is available to union buffers at each distance.
Parameters
bufferParameters:BufferParameters — The BufferParameters object contains the input geometries, distances, and optional parameters.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| convexHull | () | method |
public function convexHull(geometries:Array, outSR:SpatialReference, responder:IResponder = null):AsyncTokenThe convexHull operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). It returns the convex hull of the input geometry. A convex hull is the smallest convex polygon that encloses a group of objects, such as points. The input geometry can be a point, multipoint, polyline or polygon. The hull is typically a polygon but can also be a polyline or point in degenerate cases.
Parameters
geometries:Array — The geometries whose convex hull is to be created.
| |
outSR:SpatialReference — The well-known ID of the spatial reference of the output geometry.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| cut | () | method |
public function cut(targetGeometries:Array, cutterPolyline:Polyline, responder:IResponder = null):AsyncTokenThe cut operation splits the input polyline or polygon where it crosses a cutting polyline (only available with ArcGIS Server 10.0 or above).
Parameters
targetGeometries:Array — The array of polylines or polygons to be cut.
| |
cutterPolyline:Polyline — The polyline that will be used to divide the targetGeometry into pieces where it crosses the same.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| densify | () | method |
public function densify(densifyParameters:DensifyParameters, responder:IResponder = null):AsyncTokenThe densify operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). This operation densifies geometries by plotting points between existing vertices.
Parameters
densifyParameters:DensifyParameters — The DensifyParameters objects contains the geometries, maxSegmentLength, geodesic and other parameters.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| difference | () | method |
public function difference(geometries:Array, geometry:Geometry, responder:IResponder = null):AsyncTokenThe difference operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). This operation constructs the set-theoretic difference between an array of geometries and another geometry.
Parameters
geometries:Array — An array of points, multipoints, polylines or polygons.
| |
geometry:Geometry — A single geometry of any type, of dimension equal to or greater than the elements of "geometries".
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| distance | () | method |
public function distance(distanceParameters:DistanceParameters, responder:IResponder = null):AsyncTokenThe distance operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). It reports the planar (projected space) / geodesic shortest distance between A and B. Distance is reported in the linear units specified by distanceUnit or the units of input geometry spatialReference if distanceUnit is null.
Parameters
distanceParameters:DistanceParameters — The geometry from where the distance is to be measured.
| |
responder:IResponder (default = null) — The geometry to which the distance is to be measured.
|
AsyncToken |
See also
| generalize | () | method |
public function generalize(generalizeParameters:GeneralizeParameters, responder:IResponder = null):AsyncTokenThe generalize operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). It returns generalized (Douglas-Poiker) versions of the input geometries. Polylines and polygons may be mixed in the input array. Curved segments may be present in the input polylines/polygons but will be densified using the D-P generalization rule in the output.
Parameters
generalizeParameters:GeneralizeParameters — Set the geometries, maximumDeviation and deviationUnit for the generalize operation.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| intersect | () | method |
public function intersect(geometries:Array, geometry:Geometry, responder:IResponder = null):AsyncTokenThe intersect operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). This operation constructs the set-theoretic intersection between an array of geometries and another geometry.
Parameters
geometries:Array — An array of points, multipoints, polylines or polygons.
| |
geometry:Geometry — A single geometry of any type, of dimension equal to or greater than the elements of "geometries".
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| labelPoints | () | method |
public function labelPoints(polygons:Array, responder:IResponder = null):AsyncTokenThe labelPoints operation is performed on a geometry service resource (only available with ArcGIS Server 9.3 Service Pack 1 or above).
Parameters
polygons:Array — The array of polygons whose label points are to be computed.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| lengths | () | method |
public function lengths(lengthsParameters:LengthsParameters, responder:IResponder = null):AsyncTokenCalculate the length of each polyline specified in the input array.
Parameters
lengthsParameters:LengthsParameters — The LengthsParameters object contains the polylines, lengthUnit and optional geodesic parameters.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| offset | () | method |
public function offset(offsetParameters:OffsetParameters, responder:IResponder = null):AsyncTokenThe offset operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). Offset constructs the offset of the given input polycurve. If the offset parameter is positive the constructed offset will be on the right side of the curve. (Left side offsets are constructed with negative parameters.) Tracing the curve from its first vertex to the last will give you a direction along the curve. It is to the right and left perspective of this direction that the positive and negative parameters will dictate where the offset is contructed. In these terms it is simple to infer where the offset of even horizontal polycurves will be constructed. The offsetHow parameter determines how outer corners between segments are handled. Rounded offset rounds the corner between extended offsets. Bevelled offset squares off the corner after a given ratio distance. Mitered offset attempts to allow extended offsets to naturally intersect, but if that intersection occurs too far from the corner, the corner is eventually bevelled off at a fixed distance.
Parameters
offsetParameters:OffsetParameters — Set the geometries, offsetDistance, offsetHow and other parameters for the offset operation.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| project | () | method |
public function project(geometries:Array, outSpatialReference:SpatialReference, responder:IResponder = null):AsyncTokenProjects a set of geometries into a new spatial reference. All geometries need to be of the same geometry type. On completion, the projectComplete event is fired and the optional callback function is invoked. Both the callback and event handlers receive an array of projected geometries.
Parameters
geometries:Array — Array of geometries.
| |
outSpatialReference:SpatialReference — The output spatial reference.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| relation | () | method |
public function relation(relationParameters:RelationParameters, responder:IResponder = null):AsyncTokenThe relation operation is performed on a geometry service resource (only available with ArcGIS Server 9.3 Service Pack 1 or above).
To find out more about using spatialRelationship=SPATIAL_REL_RELATION, read more about the Shape Comparison Language (for example, RELATE(G1, G2, "FFFTTT***")).
Parameters
relationParameters:RelationParameters — Set the geometries1, geometries2, spatialRelationship and other parameters for the relation operation.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| reshape | () | method |
public function reshape(targetGeometry:Geometry, reshaperPolyline:Polyline, responder:IResponder = null):AsyncTokenThe reshape operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). It reshapes a polyline or a part of a polygon using a reshaping line.
Parameters
targetGeometry:Geometry — The polyline or polygon to be reshaped.
| |
reshaperPolyline:Polyline — The single-part polyline that does the reshaping.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| simplify | () | method |
public function simplify(geometries:Array, responder:IResponder = null):AsyncTokenAlters the given geometries to make their definitions topologically legal with respect to their geometry type. On completion, the simplifyComplete event is fired and the optional callback function is invoked. Both the callback and event handlers receive an array of the simplified geometries.
Note: The XY tolerance property of the geometry's associated spatial reference is used during the simplify operation for polylines and polygons, which might slightly change exact locations.
Parameters
geometries:Array — The array of geometries to be simplified.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| trimExtend | () | method |
public function trimExtend(trimExtendParameters:TrimExtendParameters, responder:IResponder = null):AsyncTokenThe trimExtend operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). This operation trims / extends each polyline specified in the input array, using the user specified guide polylines. When trimming features, the part to the left of the oriented cutting line is preserved in the output and the other part is discarded. An empty polyline is added to the output array if the corresponding input polyline is neither cut nor extended.
Parameters
trimExtendParameters:TrimExtendParameters — Set the polylines, trimExtendPolyline and extendHow for the trimExtend operation.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| union | () | method |
public function union(geometries:Array, responder:IResponder = null):AsyncTokenThe union operation is performed on a geometry service resource (only available with ArcGIS Server 10.0 or above). This operation constructs the set-theoretic union of the geometries in the input array. All inputs must be of the same type.
Parameters
geometries:Array — The array of geometries to be unioned.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
See also
| areasAndLengthsComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.AREAS_AND_LENGTHS_COMPLETEDispatched when an areasAndLengths operation successfully completes.
Defines the value of thetype property of an areasAndLengthsComplete event object.
| autoCompleteComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.AUTO_COMPLETE_COMPLETEDispatched when a autoComplete operation successfully completes.
Defines the value of thetype property of a autoCompleteComplete event object [added in version 2.0]
- note: autoComplete() is only available with ArcGIS Server 10.0 or above.
| bufferComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.BUFFER_COMPLETEDispatched when a buffer operation successfully completes.
Defines the value of thetype property of a bufferComplete event object.
| convexHullComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.CONVEX_HULL_COMPLETEDispatched when a convexHull operation successfully completes.
Defines the value of thetype property of a convexHullComplete event object [added in version 2.0]
- note: convexHull() is only available with ArcGIS Server 10.0 or above.
| cutComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.CUT_COMPLETEDispatched when a cut operation successfully completes.
Defines the value of thetype property of a cutComplete event object [added in version 2.0]
- note: cut() is only available with ArcGIS Server 10.0 or above.
| densifyComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.DENSIFY_COMPLETEDispatched when a densify operation successfully completes.
Defines the value of thetype property of a densifyComplete event object [added in version 2.0]
- note: densify() is only available with ArcGIS Server 10.0 or above.
| differenceComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.DIFFERENCE_COMPLETEDispatched when a difference operation successfully completes.
Defines the value of thetype property of a differenceComplete event object [added in version 2.0]
- note: difference() is only available with ArcGIS Server 10.0 or above.
| distanceComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.DISTANCE_COMPLETEDispatched when a distance operation successfully completes.
Defines the value of thetype property of a distanceComplete event object [added in version 2.0]
- note: distance() is only available with ArcGIS Server 10.0 or above.
| fault | Event |
mx.rpc.events.FaultEventmx.rpc.events.FaultEvent.FAULTDispatched when a GeometryService request fails. Applies to all methods.
| generalizeComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.GENERALIZE_COMPLETEDispatched when a generalize operation successfully completes.
Defines the value of thetype property of a generalizeComplete event object [added in version 2.0]
- note: generalize() is only available with ArcGIS Server 10.0 or above.
| intersectComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.INTERSECT_COMPLETEDispatched when a intersect operation successfully completes.
Defines the value of thetype property of a intersectComplete event object [added in version 2.0]
- note: intersect() is only available with ArcGIS Server 10.0 or above.
| labelPointsComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.LABEL_POINTS_COMPLETEDispatched when a labelPoints operation successfully completes.
Defines the value of thetype property of a labelPointsComplete event object [added in version 1.1]
- note: labelPoints() is only available with ArcGIS Server 9.3 Service Pack 1 or above.
| lengthsComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.LENGTHS_COMPLETEDispatched when a lengths operation successfully completes.
Defines the value of thetype property of a lengthsComplete event object.
| offsetComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.OFFSET_COMPLETEDispatched when a offset operation successfully completes.
Defines the value of thetype property of a offsetComplete event object [added in version 2.0]
- note: offset() is only available with ArcGIS Server 10.0 or above.
| projectComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.PROJECT_COMPLETEDispatched when a project operation successfully completes.
Defines the value of thetype property of a projectComplete event object.
| relationComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.RELATION_COMPLETEDispatched when a relation operation successfully completes.
Defines the value of thetype property of a relationComplete event object
- note: relation() is only available with ArcGIS Server 9.3 Service Pack 1 or above.
| reshapeComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.RESHAPE_COMPLETEDispatched when a reshape operation successfully completes.
Defines the value of thetype property of a reshapeComplete event object [added in version 2.0]
- note: reshape() is only available with ArcGIS Server 10.0 or above.
| simplifyComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.SIMPLIFY_COMPLETEDispatched when a simplify operation successfully completes.
Defines the value of thetype property of a simplifyComplete event object.
| trimExtendComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.TRIM_EXTEND_COMPLETEDispatched when a trimExtend operation successfully completes.
Defines the value of thetype property of a trimExtendComplete event object [added in version 2.0]
- note: trimExtend() is only available with ArcGIS Server 10.0 or above.
| unionComplete | Event |
com.esri.ags.events.GeometryServiceEventcom.esri.ags.events.GeometryServiceEvent.UNION_COMPLETEDispatched when a union operation successfully completes.
Defines the value of thetype property of a unionComplete event object [added in version 2.0]
- note: unionComplete() is only available with ArcGIS Server 10.0 or above.
| UNIT_ACRES | Constant |
public static const UNIT_ACRES:String = esriAcresAcres (areal unit)
| UNIT_ARES | Constant |
public static const UNIT_ARES:String = esriAresAres (areal unit)
| UNIT_FOOT | Constant |
public static const UNIT_FOOT:Number = 9002International foot (0.3048 meters).
| UNIT_HECTARES | Constant |
public static const UNIT_HECTARES:String = esriHectaresHectares (areal unit)
| 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_SQUARE_CENTIMETERS | Constant |
public static const UNIT_SQUARE_CENTIMETERS:String = esriSquareCentimetersSquare Centimeters (areal unit)
| UNIT_SQUARE_DECIMETERS | Constant |
public static const UNIT_SQUARE_DECIMETERS:String = esriSquareDecimetersSquare Decimeters (areal unit)
| UNIT_SQUARE_FEET | Constant |
public static const UNIT_SQUARE_FEET:String = esriSquareFeetSquare Feet (areal unit)
| UNIT_SQUARE_INCHES | Constant |
public static const UNIT_SQUARE_INCHES:String = esriSquareInchesSquare Inches (areal unit)
| UNIT_SQUARE_KILOMETERS | Constant |
public static const UNIT_SQUARE_KILOMETERS:String = esriSquareKilometersSquare Kilometers (areal unit)
| UNIT_SQUARE_METERS | Constant |
public static const UNIT_SQUARE_METERS:String = esriSquareMetersSquare Meters (areal unit)
| UNIT_SQUARE_MILES | Constant |
public static const UNIT_SQUARE_MILES:String = esriSquareMilesSquare Miles (areal unit)
| UNIT_SQUARE_MILLIMETERS | Constant |
public static const UNIT_SQUARE_MILLIMETERS:String = esriSquareMillimetersSquare Millimeters (areal unit)
| UNIT_SQUARE_YARDS | Constant |
public static const UNIT_SQUARE_YARDS:String = esriSquareYardsSquare Yards (areal unit)
| 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.