Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GeometryService

Hierarchy

  • Task
    • GeometryService

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

initialized

initialized: boolean

requestOptions

requestOptions: any

The options to be used for data requests.

Read more...

url

url: string

The ArcGIS Server REST service URL (usually of a Feature Service Layer or Map Service Layer) for use in a task.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns GeometryService

areasAndLengths

  • Computes the area and length for the input polygons.

    Read more...

    Parameters

    Returns Promise<any>

autoComplete

  • The Auto Complete operation is performed on a geometry service resource.

    Read more...

    Parameters

    Returns Promise<Polygon>

buffer

  • Creates buffer polygons at a specified distance around the given geometries.

    Read more...

    Parameters

    Returns Promise<Polygon[]>

convexHull

  • The convexHull operation is performed on a geometry service resource.

    Read more...

    Parameters

    • geometries: Geometry[]
    • Optional requestOptions: any

    Returns Promise<Geometry>

cut

  • cut(geometries: Geometry[], cutter: Polyline, requestOptions?: any): Promise<any>
  • The cut operation is performed on a geometry service resource.

    Read more...

    Parameters

    Returns Promise<any>

densify

  • The densify operation is performed on a geometry service resource.

    Read more...

    Parameters

    Returns Promise<Geometry[]>

destroy

  • destroy(): void
  • Returns void

difference

  • The difference operation is performed on a geometry service resource.

    Read more...

    Parameters

    Returns Promise<Geometry>

distance

  • Measures the planar or geodesic distance between geometries.

    Read more...

    Parameters

    Returns Promise<number>

fromGeoCoordinateString

  • Converts an array of well-known strings into xy-coordinates based on the conversion type and spatial reference supplied by the user.

    Read more...

    Parameters

    Returns Promise<any>

generalize

  • Generalizes the input geometries using the Douglas-Peucker algorithm.

    Read more...

    Parameters

    Returns Promise<Geometry[]>

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

intersect

  • The intersect operation is performed on a geometry service resource.

    Read more...

    Parameters

    Returns Promise<Geometry[]>

labelPoints

  • labelPoints(polygons: Polygon[], requestOptions?: any): Promise<Point>
  • Calculates an interior point for each polygon specified.

    Read more...

    Parameters

    • polygons: Polygon[]
    • Optional requestOptions: any

    Returns Promise<Point>

lengths

  • Gets the lengths for a Geometry when the geometry type is Polyline

    Read more...

    Parameters

    Returns Promise<any>

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

offset

  • Constructs the offset of the input geometries based on a planar distance.

    Read more...

    Parameters

    Returns Promise<Geometry[]>

project

  • Projects a set of geometries to a new spatial reference.

    Read more...

    Parameters

    Returns Promise<Geometry[]>

relation

  • Computes the set of pairs of geometries from the input geometry arrays that belong to the specified relation.

    Read more...

    Parameters

    Returns Promise<Polygon[]>

reshape

  • The reshape operation is performed on a geometry service resource.

    Read more...

    Parameters

    Returns Promise<Geometry>

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns GeometryService

  • Parameters

    Returns GeometryService

simplify

  • Alters the given geometries to make their definitions topologically legal with respect to their geometry type.

    Read more...

    Parameters

    • geometries: Geometry[]
    • Optional requestOptions: any

    Returns Promise<Geometry[]>

toGeoCoordinateString

  • Converts an array of XY-coordinates into well-known strings based on the conversion type and spatial reference supplied by the user.

    Read more...

    Parameters

    Returns Promise<string[]>

trimExtend

  • Trims or extends the input polylines using the user specified guide polyline.

    Read more...

    Parameters

    Returns Promise<Polyline[]>

union

  • The union operation is performed on a geometry service resource.

    Read more...

    Parameters

    • geometries: Geometry[]
    • Optional requestOptions: any

    Returns Promise<Geometry>

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc