2.1.5 GEOGRAPHY POINT Structure
The GEOGRAPHY POINT structure contains latitude and longitude coordinates as double values representing a point located on a spheroid.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Latitude (double) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Longitude (double) |
|||||||||||||||||||||||||||||||
... |
Latitude (double) (8 bytes): The GEOGRAPHY POINT structure’s latitude.
Longitude (double) (8 bytes): The GEOGRAPHY POINT structure’s longitude.
-
The following rules apply to the structure's latitude and longitude coordinates:
The example structure that is provided in this section uses the Well-Known Text (WKT) protocol that is described in [OGCSFS] section 7.
Latitude and longitude coordinates are stored as decimal degree values. Negative values are used to designate south latitude and west longitude values.
Latitude values MUST be between -90 and 90 degrees, inclusive.
Longitude values MUST be between -15069 and 15069 degrees, inclusive.
Latitude and Longitude values MUST NOT contain Infinity or NaN [IEEE754].