Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface geometryService

A convenience module for importing geometryService functions when developing with TypeScript.

Read more...

Hierarchy

  • geometryService

Index

Methods

areasAndLengths

  • Computes the area and length for the input polygons.

    Read more...

    Parameters

    Returns Promise<any>

autoComplete

  • autoComplete(url: string, polygons: Polygon[], polylines: Polyline[], requestOptions?: any): Promise<Polygon>
  • The Auto Complete operation is performed on a geometry service resource.

    Read more...

    Parameters

    • url: string
    • polygons: Polygon[]
    • polylines: Polyline[]
    • Optional requestOptions: any

    Returns Promise<Polygon>

buffer

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

    Read more...

    Parameters

    Returns Promise<Polygon[]>

convexHull

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

    Read more...

    Parameters

    • url: string
    • geometries: Geometry[]
    • Optional requestOptions: any

    Returns Promise<Geometry>

cut

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

    Read more...

    Parameters

    • url: string
    • geometries: Geometry[]
    • cutter: Polyline
    • Optional requestOptions: any

    Returns Promise<any>

densify

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

    Read more...

    Parameters

    Returns Promise<Geometry[]>

difference

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

    Read more...

    Parameters

    • url: string
    • geometries: Geometry[]
    • geometry: Geometry
    • Optional requestOptions: any

    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[]>

intersect

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

    Read more...

    Parameters

    • url: string
    • geometries: Geometry[]
    • intersector: Geometry
    • Optional requestOptions: any

    Returns Promise<Geometry[]>

labelPoints

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

    Read more...

    Parameters

    • url: string
    • 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>

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

    • url: string
    • geometry: Geometry
    • reshaper: Polyline
    • Optional requestOptions: any

    Returns Promise<Geometry>

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

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

    Read more...

    Parameters

    • url: string
    • geometries: Geometry[]
    • Optional requestOptions: any

    Returns Promise<Geometry>

Generated using TypeDoc