w3c / geolocation

W3C Geolocation API
https://www.w3.org/TR/geolocation/
81 stars 56 forks source link

Define "geographic coordinates" #136

Closed mgiuca closed 5 months ago

mgiuca commented 1 year ago

The spec uses the term "geographic coordinates" without defining it or referencing another spec:

The latitude and longitude attributes are geographic coordinates specified in decimal degrees.

I noticed that altitude is defined in terms of the WGS84 spec but lat/long are not. The "geographic coordinates" presumably refer to standard latitude/longitude coordinates in degrees, but it would be good to explicitly specify these, so it's clear:

I assume this is defined in WGS84 so it would be good to simply reference that.

reillyeon commented 1 year ago

The non-normative Scope section says that the position information is provided in terms of WGS84, but only the altitude property is normatively defined in terms of those format. The latitude and longitude properties should also be normatively defined as WGS84 coordinates.

marcoscaceres commented 5 months ago

Closed by https://github.com/w3c/geolocation-api/pull/138