ILP-374 Factored SLAM types into GeoSpatial types for general purpose use.
Showing
4 changed files
with
209 additions
and
0 deletions
GeoSpatial/V1.0/Address.xid.xml
0 → 100644
| 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | |||
| 3 | <specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 4 | xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 6 | xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd XtensibleInterfaceDefinition.xsd" | ||
| 7 | identity="Address.xid.xml"> | ||
| 8 | <title>Address Information Definition</title> | ||
| 9 | |||
| 10 | <!-- Include all known definitions --> | ||
| 11 | <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" /> | ||
| 12 | |||
| 13 | |||
| 14 | <namespace name="GeoSpatial"> | ||
| 15 | |||
| 16 | <!-- | ||
| 17 | ************************************* | ||
| 18 | * Address Definition. | ||
| 19 | ************************************* | ||
| 20 | --> | ||
| 21 | <struct name="AddressInfo"> | ||
| 22 | <elem name="address1" multiplicity ="1" type="string"> | ||
| 23 | <comment>First line street address.</comment> | ||
| 24 | </elem> | ||
| 25 | <elem name="address2" multiplicity ="0..1" type="string"> | ||
| 26 | <comment>Second line street address.</comment> | ||
| 27 | </elem> | ||
| 28 | <elem name="City" multiplicity ="1" type="string"> | ||
| 29 | <comment>Name of City.</comment> | ||
| 30 | </elem> | ||
| 31 | <elem name="StateRegion" multiplicity ="1" type="string"> | ||
| 32 | <comment>State or region. Two character state definitions ok for U.S. addresses. Default is empty.</comment> | ||
| 33 | </elem> | ||
| 34 | <elem name="PostalCode" multiplicity ="1" type="string"> | ||
| 35 | <comment>Postal code or zip code.</comment> | ||
| 36 | </elem> | ||
| 37 | <elem name="Country" multiplicity ="1" type="string"> | ||
| 38 | <comment>Name of the country.</comment> | ||
| 39 | </elem> | ||
| 40 | |||
| 41 | </struct> | ||
| 42 | </namespace> | ||
| 43 | </specification> | 
GeoSpatial/V1.0/Contact.xid.xml
0 → 100644
| 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | |||
| 3 | <specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 4 | xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 6 | xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd XtensibleInterfaceDefinition.xsd" | ||
| 7 | identity="Contact.xid.xml"> | ||
| 8 | <title>Contact Definitions</title> | ||
| 9 | |||
| 10 | <!-- Include all known definitions --> | ||
| 11 | <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" /> | ||
| 12 | |||
| 13 | |||
| 14 | <namespace name="GeoSpatial"> | ||
| 15 | <!-- | ||
| 16 | ************************************* | ||
| 17 | * ContactInfo Definition. | ||
| 18 | ************************************* | ||
| 19 | --> | ||
| 20 | <struct name="ContactInfo"> | ||
| 21 | <elem name="givenname" multiplicity ="1" type="string" > | ||
| 22 | <comment>Contact given (first) name. Default is empty.</comment> | ||
| 23 | </elem> | ||
| 24 | <elem name="surname" multiplicity ="1" type="string" > | ||
| 25 | <comment>Contact surname (last name). Default is empty.</comment> | ||
| 26 | </elem> | ||
| 27 | <elem name="email" multiplicity ="1" type="string" > | ||
| 28 | <comment>Contact email address.</comment> | ||
| 29 | </elem> | ||
| 30 | <elem name="phone" multiplicity ="1" type="string" > | ||
| 31 | <comment>Contact phone number.</comment> | ||
| 32 | </elem> | ||
| 33 | </struct> | ||
| 34 | </namespace> | ||
| 35 | </specification> | 
GeoSpatial/V1.0/PointOfInterest.xid.xml
0 → 100644
| 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | |||
| 3 | <specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 4 | xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 6 | xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd XtensibleInterfaceDefinition.xsd" | ||
| 7 | identity="PointOfInterest.xid.xml"> | ||
| 8 | <title>Point of Interest information Definition.</title> | ||
| 9 | |||
| 10 | <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" /> | ||
| 11 | <import ref="https://xid.location.studio/GeoSpatial/V1.0.0/SpatialDefs.xid.xml" local="SpatialDefs.xid.xml" /> | ||
| 12 | <import ref="https://xid.location.studio/GeoSpatial/V1.0.0/Address.xid.xml" local="Address.xid.xml" /> | ||
| 13 | <import ref="https://xid.location.studio/GeoSpatial/V1.0.0/Contact.xid.xml" local="Contact.xid.xml" /> | ||
| 14 | |||
| 15 | |||
| 16 | <namespace name="GeoSpatial"> | ||
| 17 | |||
| 18 | <!-- | ||
| 19 | ************************************* | ||
| 20 | * PointOfInterest Definition. | ||
| 21 | ************************************* | ||
| 22 | --> | ||
| 23 | <struct name="PointOfInterest"> | ||
| 24 | <elem name="name" multiplicity ="1" type="string"> | ||
| 25 | <comment>Name of the point of interest.</comment> | ||
| 26 | </elem> | ||
| 27 | <elem name="floor" multiplicity ="1" type="int16" default ="0"> | ||
| 28 | <comment>Optional floor identifier, default is zero meaning the ground floor</comment> | ||
| 29 | </elem> | ||
| 30 | <elem name="description" multiplicity ="1" type="string"> | ||
| 31 | <comment>Other information describing the point of interest.</comment> | ||
| 32 | </elem> | ||
| 33 | <elem name="position" multiplicity="1" type="Position3D" polymorphic="true" > | ||
| 34 | <comment> | ||
| 35 | Center position of the POI. | ||
| 36 | </comment> | ||
| 37 | </elem> | ||
| 38 | <elem name="confidence" type="float32" multiplicity="1"> | ||
| 39 | <comment>Confidence of position shape. Valid range is 0.0 to 1.0</comment> | ||
| 40 | </elem> | ||
| 41 | <elem name="address" multiplicity ="0..1" type="AddressInfo" > | ||
| 42 | <comment>Optional address information.</comment> | ||
| 43 | </elem> | ||
| 44 | <elem name="contact" multiplicity ="0..1" type="ContactInfo" > | ||
| 45 | <comment>Optional contact information.</comment> | ||
| 46 | </elem> | ||
| 47 | </struct> | ||
| 48 | |||
| 49 | </namespace> | ||
| 50 | </specification> | 
GeoSpatial/V1.0/SpatialDefs.xid.xml
0 → 100644
| 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | |||
| 3 | <specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 4 | xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 6 | xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd XtensibleInterfaceDefinition.xsd" | ||
| 7 | identity="SpatialDefs.xid.xml"> | ||
| 8 | <title>GEO Spatial Definitions</title> | ||
| 9 | <comment>Definition defines common geo-spatial types..</comment> | ||
| 10 | |||
| 11 | <!-- Include all known definitions --> | ||
| 12 | <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" /> | ||
| 13 | |||
| 14 | |||
| 15 | <namespace name="GeoSpatial"> | ||
| 16 | |||
| 17 | <!-- | ||
| 18 | ************************************* | ||
| 19 | * Enumerations | ||
| 20 | ************************************* | ||
| 21 | --> | ||
| 22 | <enum name="CoordRefFrameType" type="Tensor.int8" default="unknown"> | ||
| 23 | <comment>Enumerations defines the supported coordinate reference frames</comment> | ||
| 24 | <literal name="unknown" value="0"></literal> | ||
| 25 | <literal name="WGS84" value="1"></literal> | ||
| 26 | <literal name="ENU" value="2"></literal> | ||
| 27 | <literal name="NED" value="3"></literal> | ||
| 28 | </enum> | ||
| 29 | |||
| 30 | |||
| 31 | <!-- | ||
| 32 | ************************************* | ||
| 33 | * BoundingBox Definition. | ||
| 34 | ************************************* | ||
| 35 | --> | ||
| 36 | <struct name="BoundingBox" pack="true"> | ||
| 37 | |||
| 38 | <comment>defines the bounding box parameters</comment> | ||
| 39 | <elem name="latmin" type="Tensor.float64" multiplicity="1" > | ||
| 40 | <comment>minimum value of the latitude</comment> | ||
| 41 | </elem> | ||
| 42 | <elem name="latmax" type="Tensor.float64" multiplicity="1" > | ||
| 43 | <comment>maximum value of the latitude</comment> | ||
| 44 | </elem> | ||
| 45 | <elem name="lonmin" type="Tensor.float64" multiplicity="1" > | ||
| 46 | <comment>minimum value of the longitude</comment> | ||
| 47 | </elem> | ||
| 48 | <elem name="lonmax" type="Tensor.float64" multiplicity="1" > | ||
| 49 | <comment>maximum value of the longitude</comment> | ||
| 50 | </elem> | ||
| 51 | |||
| 52 | <elem name="altmin" type="Tensor.float64" multiplicity="1" > | ||
| 53 | <comment>minimum value of the altitude</comment> | ||
| 54 | </elem> | ||
| 55 | <elem name="altmax" type="Tensor.float64" multiplicity="1" > | ||
| 56 | <comment>maximum value of the altitude</comment> | ||
| 57 | </elem> | ||
| 58 | |||
| 59 | </struct> | ||
| 60 | |||
| 61 | <!-- | ||
| 62 | ************************************* | ||
| 63 | * PositionECEF Definition. | ||
| 64 | ************************************* | ||
| 65 | --> | ||
| 66 | <struct name="PositionECEF" pack="true"> | ||
| 67 | <comment>A 3D, Earth-centered, Earth-Fixed position in rotational coordinates: latitude (deg.), longitude (deg.), altitude(m)</comment> | ||
| 68 | <elem name="lat" type="Tensor.float64" multiplicity="1" > | ||
| 69 | <comment>Latitude of the position in degrees.</comment> | ||
| 70 | </elem> | ||
| 71 | <elem name="lon" type="Tensor.float64" multiplicity="1" > | ||
| 72 | <comment>Longitude of the position in degrees.</comment> | ||
| 73 | </elem> | ||
| 74 | <elem name="alt" type="Tensor.float64" multiplicity="1" > | ||
| 75 | <comment>Altitude of the position in meters.</comment> | ||
| 76 | </elem> | ||
| 77 | </struct> | ||
| 78 | |||
| 79 | |||
| 80 | </namespace> | ||
| 81 | </specification> | 
- 
Please register or sign in to post a comment