Grid Zones, Longitudinal Strips, and Latitude Bands

Hierarchy

  • GridZones

Constructors

Properties

bands: Map<string, LatitudeBand> = ...

Latitude Bands

gridZones: Map<number, Map<string, GridZone>> = ...

Grid Zones

strips: Map<number, LongitudinalStrip> = ...

Longitudinal Strips

Methods

  • Get the band letter of the latitude (degrees between MGRSConstants#MIN_LAT and MGRSConstants#MAX_LAT)

    Returns

    band letter

    Parameters

    • latitude: number

      latitude in degrees

    • northern: boolean = true

      true for northern band on edges, false for southern

    Returns string

  • Get a band letter range between the southern and northern latitudes in degrees

    Returns

    band letter range

    Parameters

    • south: number

      southern latitude in degrees

    • north: number

      northern latitude in degrees

    Returns BandLetterRange

  • Get the east longitude in degrees of the zone number

    Returns

    longitude in degrees

    Parameters

    • zoneNumber: number

      zone number

    Returns number

  • Get the grid zone by zone number and band letter

    Returns

    grid zone

    Parameters

    • zoneNumber: number

      zone number

    • bandLetter: string

      band letter

    Returns GridZone

  • Get the north latitude in degrees of the band letter

    Returns

    latitude in degrees

    Parameters

    • bandLetter: string

      band letter

    Returns number

  • Get the south latitude in degrees of the band letter

    Returns

    latitude in degrees

    Parameters

    • bandLetter: string

      band letter

    Returns number

  • Get the west longitude in degrees of the zone number

    Returns

    longitude in degrees

    Parameters

    • zoneNumber: number

      zone number

    Returns number

  • Get the zone number of the longitude and latitude

    Returns

    zone number

    Parameters

    • longitude: number

      longitude

    • latitude: number

      latitude

    Returns number

  • Get the zone number of the longitude (degrees between MGRSConstants#MIN_LON and MGRSConstants#MAX_LON)

    Returns

    zone number

    Parameters

    • longitude: number

      longitude in degrees

    • eastern: boolean = true

      true for eastern number on edges, false for western

    Returns number

  • Get the zone number of the point

    Returns

    zone number

    Parameters

    • point: Point

      point

    Returns number

  • Get a zone number range between the western and eastern longitudes

    Returns

    zone number range

    Parameters

    • west: number

      western longitude in degrees

    • east: number

      eastern longitude in degrees

    Returns ZoneNumberRange

  • Is the zone number and band letter a Svalbard GZD (31X - 37X)

    Returns

    true if a Svalbard GZD

    Parameters

    • zoneNumber: number

      zone number

    • bandLetter: string

      band letter

    Returns boolean

  • Is the band letter a Svalbard GZD (X)

    Returns

    true if a Svalbard GZD

    Parameters

    • bandLetter: string

      band letter

    Returns boolean

  • Is the zone number a Svalbard GZD (31 - 37)

    Returns

    true if a Svalbard GZD

    Parameters

    • zoneNumber: number

      zone number

    Returns boolean

Generated using TypeDoc