Skip to content

Improve altitude definition / consistency #210

@jlfy738

Description

@jlfy738

MDN : GeolocationCoordinates.altitude

Returns a double representing the position's altitude in meters, relative to nominal sea level. This value can be null if the implementation cannot provide the data.

W3C Recommendation

9.2 altitude and altitudeAccuracy attributes
The altitude attribute denotes the height of the position, specified in meters above the WGS84 ellipsoid.

Implementations :

  • Android refers to the wgs84 elipsoid
  • iOS : refers to the geoid (sea level)

There are therefore actually two issues:

  • consistency between the documentation and the specification
  • consistency between implementations

The API could at least provide the reference system for the returned metric.

See also :

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions