# DO.COM.04 GeoLocation

### DO.COM.04 GeoLocation

**References:**

* [Location - HL7 FHIR v5.0.0](https://www.hl7.org/fhir/location.html)
* [WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)
* [Google Plus Codes](https://maps.google.com/pluscodes/)

This class is useful for specifying precise locations in a standardised, machine-readable format. It conforms to the global standard [WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System), which is crucial for interoperability and accuracy in geographical data representation.

<table><thead><tr><th width="144">Property Key</th><th>Data Type (and Restrictions)</th><th width="137">Cardinality</th><th>Description</th></tr></thead><tbody><tr><td>latitude<mark style="color:red;">*</mark></td><td><a data-mention href="/pages/Aw7kJZinsGeeLt5XQNuu">/pages/Aw7kJZinsGeeLt5XQNuu</a></td><td>0...1</td><td>Latitude of a location, for example, <code>37.42242</code> (<a href="https://en.wikipedia.org/wiki/World_Geodetic_System">WGS 84</a>)</td></tr><tr><td>longitude<mark style="color:red;">*</mark></td><td><a data-mention href="/pages/Aw7kJZinsGeeLt5XQNuu">/pages/Aw7kJZinsGeeLt5XQNuu</a></td><td>0...1</td><td>Longitude of a location, for example, <code>-122.08585</code> (<a href="https://en.wikipedia.org/wiki/World_Geodetic_System">WGS 84</a>)</td></tr><tr><td>altitude</td><td><a data-mention href="/pages/Aw7kJZinsGeeLt5XQNuu">/pages/Aw7kJZinsGeeLt5XQNuu</a></td><td>0...1</td><td>Altitude of a location, for example, 500.42212 (<a href="https://en.wikipedia.org/wiki/World_Geodetic_System">WGS 84</a>)</td></tr><tr><td>plus_code</td><td><a data-mention href="/pages/VBA3a3fhhizv5GUuH7Fj">/pages/VBA3a3fhhizv5GUuH7Fj</a></td><td>0...1</td><td>Plus code information for the location</td></tr></tbody></table>

### Example of Use

```json
{
    "@context": {
        "spdci": "https://schema.spdci.org/core/v1/data",
        "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
        "schema": "http://schema.org/",
        "xsd": "http://www.w3.org/2001/XMLSchema#",
        "code":"https://schema.spdci.org/core/v1/code"
    },
    "@id": "spdci:GeoLocation_1",
    "@type": "spdci:GeoLocation",
    "latitude": 33.3128,
    "longitude": 44.3615,
    "altitude": 1000.0123,
    "plus_code": " "
}
```

### Used in

This data object is used in the following other data objects:

* [DO.COM.03 Address](/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-objects/do.com.03-address.md)
* [DO.COM.07 Place](/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-objects/do.com.07-place.md)

### JSON-LD File on GitHub

{% embed url="<https://schema.spdci.org/core/v1/data/GeoLocation.jsonld>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://standards.spdci.org/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-objects/do.com.04-geolocation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
