Models > Location

Editors:

Johan Strydom

Introduction to the Location Model

Modeling the location means specifying a geographical point, normally as a GPS coordinate.

Location as entity allows for the identification of places, settlements, geopolitical regions and countries.

Location

Location inherits from Locale in the Address archetype within the Party model. Settlement and GeoPoliticalRegion in turn inherits from Location. ISOCountryCode identifies a country within the GeoPoliticalRegion.

Location Model

Location Attributes

location attributes

The attributes are as follows:

  • Locale
    • Identifier of type String
    • Name of type String
    • Description of type String
  • Location
    • Latitude of type String
    • Longitude of type String
    • Elevation of type String
  • Settlement
    • Region of type GeoPoliticalRegion
    • Border of type GeoPolygonalChain
    • Type of type String (E.g. Village, Town, City)
  • GeoPoliticalRegion
    • CapitalCity of type Settlement
    • Parent of type GeoPoliticalRegion
    • Border of type GeoPolygonalChain
    • Type of type String (E.g. Region, State, Country)
  • ISOCountryCode
    • alphabeticThreeCharacterCode of type String
    • numericCode of type String
    • officialName of type String