ea5c9afa by Michael B. Mathews

ILP-374 Factored SLAM types into GeoSpatial types for general purpose use.

1 parent 93eba968
<?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 XtensibleInterfaceDefinition.xsd"
identity="Address.xid.xml">
<title>Address Information Definition</title>
<!-- Include all known definitions -->
<import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
<namespace name="GeoSpatial">
<!--
*************************************
* Address Definition.
*************************************
-->
<struct name="AddressInfo">
<elem name="address1" multiplicity ="1" type="string">
<comment>First line street address.</comment>
</elem>
<elem name="address2" multiplicity ="0..1" type="string">
<comment>Second line street address.</comment>
</elem>
<elem name="City" multiplicity ="1" type="string">
<comment>Name of City.</comment>
</elem>
<elem name="StateRegion" multiplicity ="1" type="string">
<comment>State or region. Two character state definitions ok for U.S. addresses. Default is empty.</comment>
</elem>
<elem name="PostalCode" multiplicity ="1" type="string">
<comment>Postal code or zip code.</comment>
</elem>
<elem name="Country" multiplicity ="1" type="string">
<comment>Name of the country.</comment>
</elem>
</struct>
</namespace>
</specification>
<?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 XtensibleInterfaceDefinition.xsd"
identity="Contact.xid.xml">
<title>Contact Definitions</title>
<!-- Include all known definitions -->
<import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
<namespace name="GeoSpatial">
<!--
*************************************
* ContactInfo Definition.
*************************************
-->
<struct name="ContactInfo">
<elem name="givenname" multiplicity ="1" type="string" >
<comment>Contact given (first) name. Default is empty.</comment>
</elem>
<elem name="surname" multiplicity ="1" type="string" >
<comment>Contact surname (last name). Default is empty.</comment>
</elem>
<elem name="email" multiplicity ="1" type="string" >
<comment>Contact email address.</comment>
</elem>
<elem name="phone" multiplicity ="1" type="string" >
<comment>Contact phone number.</comment>
</elem>
</struct>
</namespace>
</specification>
<?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 XtensibleInterfaceDefinition.xsd"
identity="PointOfInterest.xid.xml">
<title>Point of Interest information Definition.</title>
<import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
<import ref="https://xid.location.studio/GeoSpatial/V1.0.0/SpatialDefs.xid.xml" local="SpatialDefs.xid.xml" />
<import ref="https://xid.location.studio/GeoSpatial/V1.0.0/Address.xid.xml" local="Address.xid.xml" />
<import ref="https://xid.location.studio/GeoSpatial/V1.0.0/Contact.xid.xml" local="Contact.xid.xml" />
<namespace name="GeoSpatial">
<!--
*************************************
* PointOfInterest Definition.
*************************************
-->
<struct name="PointOfInterest">
<elem name="name" multiplicity ="1" type="string">
<comment>Name of the point of interest.</comment>
</elem>
<elem name="floor" multiplicity ="1" type="int16" default ="0">
<comment>Optional floor identifier, default is zero meaning the ground floor</comment>
</elem>
<elem name="description" multiplicity ="1" type="string">
<comment>Other information describing the point of interest.</comment>
</elem>
<elem name="position" multiplicity="1" type="Position3D" polymorphic="true" >
<comment>
Center position of the POI.
</comment>
</elem>
<elem name="confidence" type="float32" multiplicity="1">
<comment>Confidence of position shape. Valid range is 0.0 to 1.0</comment>
</elem>
<elem name="address" multiplicity ="0..1" type="AddressInfo" >
<comment>Optional address information.</comment>
</elem>
<elem name="contact" multiplicity ="0..1" type="ContactInfo" >
<comment>Optional contact information.</comment>
</elem>
</struct>
</namespace>
</specification>
<?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 XtensibleInterfaceDefinition.xsd"
identity="SpatialDefs.xid.xml">
<title>GEO Spatial Definitions</title>
<comment>Definition defines common geo-spatial types..</comment>
<!-- Include all known definitions -->
<import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
<namespace name="GeoSpatial">
<!--
*************************************
* Enumerations
*************************************
-->
<enum name="CoordRefFrameType" type="Tensor.int8" default="unknown">
<comment>Enumerations defines the supported coordinate reference frames</comment>
<literal name="unknown" value="0"></literal>
<literal name="WGS84" value="1"></literal>
<literal name="ENU" value="2"></literal>
<literal name="NED" value="3"></literal>
</enum>
<!--
*************************************
* BoundingBox Definition.
*************************************
-->
<struct name="BoundingBox" pack="true">
<comment>defines the bounding box parameters</comment>
<elem name="latmin" type="Tensor.float64" multiplicity="1" >
<comment>minimum value of the latitude</comment>
</elem>
<elem name="latmax" type="Tensor.float64" multiplicity="1" >
<comment>maximum value of the latitude</comment>
</elem>
<elem name="lonmin" type="Tensor.float64" multiplicity="1" >
<comment>minimum value of the longitude</comment>
</elem>
<elem name="lonmax" type="Tensor.float64" multiplicity="1" >
<comment>maximum value of the longitude</comment>
</elem>
<elem name="altmin" type="Tensor.float64" multiplicity="1" >
<comment>minimum value of the altitude</comment>
</elem>
<elem name="altmax" type="Tensor.float64" multiplicity="1" >
<comment>maximum value of the altitude</comment>
</elem>
</struct>
<!--
*************************************
* PositionECEF Definition.
*************************************
-->
<struct name="PositionECEF" pack="true">
<comment>A 3D, Earth-centered, Earth-Fixed position in rotational coordinates: latitude (deg.), longitude (deg.), altitude(m)</comment>
<elem name="lat" type="Tensor.float64" multiplicity="1" >
<comment>Latitude of the position in degrees.</comment>
</elem>
<elem name="lon" type="Tensor.float64" multiplicity="1" >
<comment>Longitude of the position in degrees.</comment>
</elem>
<elem name="alt" type="Tensor.float64" multiplicity="1" >
<comment>Altitude of the position in meters.</comment>
</elem>
</struct>
</namespace>
</specification>
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!