| author | spgraph-docs-team |
|---|---|
| description | The geoCoordinates resource provides geographic coordinates and elevation of a location based on metadata contained within the file. |
| ms.date | 09/10/2017 |
| title | GeoCoordinates |
| ms.localizationpriority | medium |
| doc_type | resourcePageType |
| ms.subservice | entra-monitoring-health |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Provides geographic coordinates and elevation of a location based on metadata contained within the file. If a driveItem has a non-null location facet, the item represents a file with a known location assocaited with it.
Note
When updating the latitude and longitude of a photo, a photo resource (empty or otherwise) must be provided.
| Property | Type | Description |
|---|---|---|
| altitude | Double | Optional. The altitude (height), in feet, above sea level for the item. Read-only. |
| latitude | Double | Optional. The latitude, in decimal, for the item. Writable on OneDrive Personal. |
| longitude | Double | Optional. The longitude, in decimal, for the item. Writable on OneDrive Personal. |
None.
The following JSON representation shows the resource type.
{
"altitude": 1024.13,
"latitude": 26.13246,
"longitude": 24.34616
}