GeoObject.xid.xml 3.02 KB
<?xml version="1.0" encoding="UTF-8" ?>

<specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               identity="GeoObject.xid.xml">
  <title>Common Geo Object Definitions. </title>
  <comment>This file defines commonly used structures and enumerations used throughout the GeoTracker system.</comment>

  <!-- Include all known definitions -->
  <import ref="https://xid.location.studio/Tensor/V1.1/Definitions.xid.xml" local="Definitions.xid.xml" />
  <import ref="https://xid.location.studio/GeoSpatial/V1.0/SpatialDefs.xid.xml" local="SpatialDefs.xid.xml" />
  <import ref="https://xid.location.studio/GeoSpatial/V1.0/Address.xid.xml" local="Address.xid.xml" />
  <import ref="https://xid.location.studio/GeoSpatial/V1.0/Shape.xid.xml" local="Shape.xid.xml" />


  <namespace name="GeoSpatial">
    <using namespace="Tensor"/>

    <!-- 
    *************************************
    * GeoObject Definition. 
    *************************************
    -->
    <struct name="GeoObject" type="Object"  rttkey="GeoSpatial.ObjectType.GeoObject">
      <comment>Defines the base 3D Geo Object comprising id, bounding box, and various other base information.  GeoObjects are 
      not simple shapes. They have identity, temporal validity, and modification attributes.</comment>

      <elem name="bounds" type="GeoSpatial.BoundingBox" multiplicity="1">
        <comment>Bounding box defining the maximum bounds for this GeoObject in WGS84 reference frame.</comment>
      </elem>

      <elem name="floorMin" type="int16" multiplicity="1" default="0">
        <comment>Defines the minimum floor number associated with the minimum bounds of the bounding box.</comment>
      </elem>

      <elem name="floorMax" type="int16" multiplicity="1" default="0">
        <comment>Defines the maximum floor number associated with the maximum bounds of the bounding box.</comment>
      </elem>

      <elem name="shape" type="GeoSpatial.Shape" multiplicity ="0..1">
        <comment>
          Optional shape defining more detailed boundary of the GeoObject.  This shape must be contained
          entirely within the bounding box.
        </comment>
      </elem>

      <elem name="address" type="GeoSpatial.AddressInfo" multiplicity="0..1">
        <comment>Optional address associated with the GeoObject.</comment>
      </elem>

      <elem name="validBegin" type="datetime" multiplicity="0..1">
        <comment>Optional time stamp denoting beginning validity.</comment>
      </elem>
      <elem name="validEnd" type="datetime" multiplicity="0..1">
        <comment>Optional time stamp denoting ending validity.</comment>
      </elem>
    </struct>


  </namespace>
</specification>