Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Projection

Single Projection for an authority and code

Hierarchy

  • Projection

Index

Constructors

constructor

  • new Projection(authority: string, code: string, definition: ProjectionDefinition): Projection
  • Constructor

    Parameters

    • authority: string
             coordinate authority
    • code: string
             coordinate code
    • definition: ProjectionDefinition
             proj4 definition

    Returns Projection

Methods

equals

  • equals(authority: string, code: string): boolean
  • Check if this projection is equal to the authority and code

    Parameters

    • authority: string

      coordinate authority

    • code: string

      coordinate code

    Returns boolean

    true if equal

equalsProjection

getAuthority

  • getAuthority(): string

getCode

  • getCode(): string

getDefinition

  • getDefinition(): ProjectionDefinition
  • Get the projection definition

    Returns ProjectionDefinition

    definition

getInverseTransformation

  • Get the inverse transformation from this Projection to the EPSG code. Each thread of execution should have it's own transformation.

    Parameters

    Returns ProjectionTransform

    transform

getInverseTransformationTo

  • Get the inverse transformation from this Projection to the EPSG code. Each thread of execution should have it's own transformation.

    Parameters

    • Default value authority: string = ProjectionConstants.AUTHORITY_EPSG
             coordinate authority
    • code: string | number
             coordinate code

    Returns ProjectionTransform

    transform

getTransformation

getTransformationTo

  • Get the transformation from this Projection to the EPSG code. Each thread of execution should have it's own transformation.

    Parameters

    • Default value authority: string = ProjectionConstants.AUTHORITY_EPSG
             coordinate authority
    • code: string | number
             coordinate code

    Returns ProjectionTransform

    transform

toString

  • toString(): string

Generated using TypeDoc