Class: GeoUtilities

GeoUtilities()

The GeoUtilities model has methods foe handling spatial data that are used across multiple models/collections/views, and that don't belong in any one of them.

Constructor

new GeoUtilities()

Since:
  • 2.27.0
Source:

Extends

  • Backbone.Model

Members

type :String

The type of model this is.
Type:
  • String
Source:

Methods

geodeticToECEF(coord) → {Array}

Convert geodetic coordinates to Earth-Centered, Earth-Fixed (ECEF) coordinates. Currently this function assumes the WGS-84 ellipsoid, and does not account for altitude/height (it's assumed the coordinate is at sea level)
Parameters:
Name Type Description
coord Array The geodetic coordinates in the form [longitude, latitude].
Source:
Returns:
The ECEF coordinates.
Type
Array