To see Utility Web Service in action, interact with a live sample of a Utility client.
convertCircleToGeometry(circle:Circle, numPoints:integer, token:string):Geometry
convertCircularArcToGeometry(arc:CircularArc, numPoints:integer, token:string):Geometry
convertEllipseToGeometry(ellipse:Ellipse, numPoints:integer, token:string):Geometry
getBestProjection(extent:Envelope, token:string):Envelope
getDataCollectionDate(dataSource:string, extent:Envelope, mapSize:MapImageSize, token:string):string
getDistance(location1:Point, location2:Point, units:string, numPoints:integer, returnGeometry:boolean, token:string):DistanceInfo
getDriveTime(dataSource:string, point:Point, interval:integer, units:string, token:string):Geometry
getSupportedProjections(type:string, token:string):KeyValue[]
getVersion:string
projectExtent(extent:Envelope, projectTo:CoordSys, token:string):Envelope
projectGeometry(geometry:Geometry, projectTo:CoordSys, token:string):Geometry
projectPoint(point:Point, projectTo:CoordSys, token:string):Point
convertCircleToGeometry |
Converts a circle to a polygon geometry. Use the input numPoints to set the shape of the polygon, for example, a value of "3" converts a circle to a triangle. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
|||||||||||||
|
Code examples |
|
convertCircularArcToGeometry |
Converts a circular arc to a line geometry. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
|||||||||||||
|
Code examples |
|
convertEllipseToGeometry |
Converts an ellipse to a polygon geometry. Use the input numPoints to set the shape of the polygon, for example, a value of "3" converts a circle to a triangle. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
|||||||||||||
|
Code examples |
|
getBestProjection |
Returns an optimal projection for the given extent. |
|||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
|||||||||
|
Input |
|
|||||||||
|
Output |
||||||||||
|
Code examples |
|
getDataCollectionDate |
Returns the latest collection or processing date for data within a specified extent. |
|||||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
|||||||||||||||
|
Input |
|
|||||||||||||||
|
Output |
string |
|||||||||||||||
|
Code examples |
|
getDistance |
Returns the distance between two points. Assumes the shortest distance between the points lies on a great circle. A great circle is any circle or near circle produced by the intersection of a sphere and a flat plane that passes through the center of the sphere. The equator and all lines of longitude are great circles. |
|||||||||||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
|||||||||||||||||||||
|
Input |
|
|||||||||||||||||||||
|
Output |
||||||||||||||||||||||
|
Code examples |
|
getDriveTime |
Returns a polygon of the distance a vehicle can travel in X minutes or miles from a given starting point. |
||||||||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
||||||||||||||||||
|
Input |
|
||||||||||||||||||
|
Output |
|||||||||||||||||||
|
Code examples |
|
getSupportedProjections |
Returns a set of supported projections. Use with object CoordinateSys. |
|||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
|||||||||
|
Input |
|
|||||||||
|
Output |
||||||||||
|
Code examples |
|
getVersion |
Returns the version number of Utility Web Service. |
||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
||||
|
Output |
string |
||||
|
Code examples |
|
projectExtent |
Returns the projected extent. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
|||||||||||||
|
Code examples |
|
projectGeometry |
Returns the projected geometry. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
|||||||||||||
|
Code examples |
|
projectPoint |
Returns the projected point. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/Utility |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
|||||||||||||
|
Code examples |
|
Visit the Feedback page to give comments or suggestions about the ArcWeb Developer's Guide.