> For the complete documentation index, see [llms.txt](https://standards.spdci.org/standards/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://standards.spdci.org/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-objects/do.com.04-geolocation.md).

# DO.COM.04 GeoLocation

The spdci:GeoLocation object represents a geographical location set defined by a latitude, a longitude, and altitude (optional), according to the WGS 84 system, and an option for a Google Plus Code.

### 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="/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-types-and-formats/dt.com.04-decimal.md">DT.COM.04 decimal</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="/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-types-and-formats/dt.com.04-decimal.md">DT.COM.04 decimal</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="/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-types-and-formats/dt.com.04-decimal.md">DT.COM.04 decimal</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="/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-objects/do.com.05-googlepluscode.md">DO.COM.05 GooglePlusCode</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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
