# 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="../data-types-and-formats/dt.com.04-decimal">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="../data-types-and-formats/dt.com.04-decimal">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="../data-types-and-formats/dt.com.04-decimal">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="do.com.05-googlepluscode">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](https://standards.spdci.org/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-objects/do.com.03-address "mention")
* [do.com.07-place](https://standards.spdci.org/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/data-objects/do.com.07-place "mention")

### JSON-LD File on GitHub

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