d32c4e67 by Pavan Sabbineni

GeoSpatial XIDs - Removed ord attributes and initialized XIDData.prop

1 parent ef5979c9
......@@ -27,7 +27,7 @@
<struct name="ProducerInfo" type="Object" rttkey="GeoSpatial.ObjectType.ProducerInfo">
<elem name="events" type="Object" multiplicity="0..*" ord="21">
<elem name="events" type="Object" multiplicity="0..*">
<comment>Events defined by this producer.</comment>
</elem>
</struct>
......@@ -70,20 +70,20 @@
</comment>
</elem>
<elem name="uuid" type="Tensor.UUID" multiplicity="1" ord="3">
<elem name="uuid" type="Tensor.UUID" multiplicity="1">
<comment>Instance UUID for the Event, Every event must specify a UUID associated with its unique time and place.</comment>
</elem>
<elem name="epoch" type="datetime" multiplicity="1" ord="4">
<elem name="epoch" type="datetime" multiplicity="1">
<comment>Epoch defines the point in time for which the estimate applies.</comment>
</elem>
<elem name="location" type="Location" multiplicity="0..1" ord="5">
<elem name="location" type="Location" multiplicity="0..1">
<comment>Optional location the event occurred.</comment>
</elem>
<elem name="speed" type="SpeedInfo" multiplicity="0..1" ord="6">
<elem name="speed" type="SpeedInfo" multiplicity="0..1">
<comment>Optional speed information of the associated object at the time the event occurred.</comment>
</elem>
<elem name="data" type="Tensor.raw" multiplicity="0..1" ord="7">
<elem name="data" type="Tensor.raw" multiplicity="0..1">
<comment>Optional event data in the same wireline format as the event structure. The type of this information is dependent on the associate event information.</comment>
</elem>
</struct>
......
......@@ -25,22 +25,22 @@
<comment>identify the type of the GeoObject</comment>
</elem>
<elem name="dtCreate" type="datetime" multiplicity="1" ord="21">
<elem name="dtCreate" type="datetime" multiplicity="1">
<comment>Time stamp of creation</comment>
</elem>
<elem name="dtUpdate" type="datetime" multiplicity="1" ord="22">
<elem name="dtUpdate" type="datetime" multiplicity="1">
<comment>Time stamp of last modification</comment>
</elem>
<elem name="account" type="Tensor.uri" multiplicity="1" ord="24">
<elem name="account" type="Tensor.uri" multiplicity="1">
<comment>URI identifies account information for the GeoObject.</comment>
</elem>
<elem name="group" type="Tensor.uri" multiplicity="1" ord="25">
<elem name="group" type="Tensor.uri" multiplicity="1">
<comment>URI identifies group information for the GeoObject.</comment>
</elem>
<elem name="source" type="Tensor.uri" multiplicity="1" ord="23">
<elem name="source" type="Tensor.uri" multiplicity="1">
<comment>URI identifies the source of the information provided.</comment>
</elem>
......
......@@ -27,33 +27,33 @@
<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" ord="23">
<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" ord="24">
<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" ord="25">
<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" ord="26">
<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" ord="28">
<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" ord="29">
<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" ord="30">
<elem name="validEnd" type="datetime" multiplicity="0..1">
<comment>Optional time stamp denoting ending validity.</comment>
</elem>
</struct>
......
......@@ -26,13 +26,13 @@
used to convey basic information about a place. More complex types with uncertainty, confidence, bounds are available in in GeoObject and HPE positioning
definitions.</comment>
<elem name="shape" type="Shape" multiplicity="1" polymorphic="true" ord="21">
<elem name="shape" type="Shape" multiplicity="1" polymorphic="true">
<comment>
The shape of the location. Can be any of the shape types.
</comment>
</elem>
<elem name="veracity" type="float32" multiplicity="1" default="-1" ord="22">
<elem name="veracity" type="float32" multiplicity="1" default="-1">
<comment>
Veracity defines the validity of the measurement in the range between 0 and 1.
A high score means the estimate is deemed valid and more reliable than a lower score.
......@@ -40,15 +40,15 @@
</comment>
</elem>
<elem name="confidence" type="float32" multiplicity="1" default="-1" ord="23">
<elem name="confidence" type="float32" multiplicity="1" default="-1">
<comment>The estimate confidence. Valid range is 0.0 to 1.0. Typical value is 0.68 (one standard deviation). Default is -1 for not defined.</comment>
</elem>
<elem name="address" type="GeoSpatial.AddressInfo" multiplicity="0..1" ord="24">
<elem name="address" type="GeoSpatial.AddressInfo" multiplicity="0..1">
<comment>Optional address associated with the GeoObject.</comment>
</elem>
<elem name="floor" type="int16" multiplicity="0..1" default="0" ord="25">
<elem name="floor" type="int16" multiplicity="0..1" default="0">
<comment>Optional floor number</comment>
</elem>
......
# GeoSpatial XIDs #
GeoSpatial XIDs do not encode their ordinals (i.e. tags and offets). XIDData.prop is required to maintain backward compatibility.
## Generate / Verify XIDData.prop ##
~~~sh
$ java -Xnoclassgc -jar $XIDSDK/bin/xidcg.jar \
-v \
-prop https://xid.location.studio/Tensor/V1.1/XIDData.prop \
-prop https://xid.location.studio/GeoSpatial/V1.0/XIDData.prop \
https://xid.location.studio/GeoSpatial/V1.0/Address.xid.xml \
https://xid.location.studio/GeoSpatial/V1.0/Contact.xid.xml \
https://xid.location.studio/GeoSpatial/V1.0/Events.xid.xml \
https://xid.location.studio/GeoSpatial/V1.0/GeoObject.xid.xml \
https://xid.location.studio/GeoSpatial/V1.0/Location.xid.xml \
https://xid.location.studio/GeoSpatial/V1.0/PointOfInterest.xid.xml \
https://xid.location.studio/GeoSpatial/V1.0/Shape.xid.xml \
https://xid.location.studio/GeoSpatial/V1.0/ShapeArcBand.xid.xml \
https://xid.location.studio/GeoSpatial/V1.0/ShapeCommon.xid.xml \
https://xid.location.studio/GeoSpatial/V1.0/ShapePolygon.xid.xml \
https://xid.location.studio/GeoSpatial/V1.0/SpatialDefs.xid.xml
~~~
or
~~~sh
$ java -Xnoclassgc -jar $XIDSDK/bin/xidcg.jar \
-v \
-prop ../../Tensor/V1.1/XIDData.prop \
-prop XIDData.prop \
Address.xid.xml \
Contact.xid.xml \
Events.xid.xml \
GeoObject.xid.xml \
Location.xid.xml \
PointOfInterest.xid.xml \
Shape.xid.xml \
ShapeArcBand.xid.xml \
ShapeCommon.xid.xml \
ShapePolygon.xid.xml \
SpatialDefs.xid.xml
~~~
If xidcg reports:
~~~
Generating: xidout/meta/XID/XIDData.prop
~~~
Then something has changed and XIDData.prop needs to get updated.
......@@ -32,7 +32,7 @@
Polygon is a 2D polygon with lat/lon at the geometric center.
</comment>
<elem name="units" type="PolygonArrayUnits" multiplicity="1" default="1">
<elem name="units" type="PolygonArrayUnits" multiplicity="1" default="MicroDegrees">
<comment>
Defines the units of the polgyon points. By default, thease are in units of microdegrees
(rotational frame, e.g WGS84 lat/lon), which limits resolution to a nominal 11 cm depending where
......@@ -55,7 +55,7 @@
relative to the altitude.
</comment>
<elem name="units" type="PolygonArrayUnits" multiplicity="1" default="1">
<elem name="units" type="PolygonArrayUnits" multiplicity="1" default="MicroDegrees">
<comment>
Defines the units of the polgyon points. By default, thease are in units of microdegrees
(rotational frame, e.g WGS84 lat/lon), which limits resolution to a nominal 11 cm depending where
......
......@@ -103,31 +103,31 @@
<comment>
Defines the base Object comprising id, optional name, description, and user data (JSON).
</comment>
<elem name="typeObject" type="ObjectType" multiplicity="1" rttd="true" ord="1">
<elem name="typeObject" type="ObjectType" multiplicity="1" rttd="true">
<comment>Element indicates the type of the Object</comment>
</elem>
<elem name="uuid" type="Tensor.UUID" multiplicity="1" ord="2">
<elem name="uuid" type="Tensor.UUID" multiplicity="1">
<comment>Unique identifier for this object.</comment>
</elem>
<elem name="uriExternal" type="Tensor.uri" multiplicity="0..1" ord="3">
<elem name="uriExternal" type="Tensor.uri" multiplicity="0..1">
<comment>Optional external identifier for this object.</comment>
</elem>
<elem name="uriClassifier" type="Tensor.uri" multiplicity="0..1" ord="4">
<elem name="uriClassifier" type="Tensor.uri" multiplicity="0..1">
<comment>Optional external classifier identifier for this object.</comment>
</elem>
<elem name="name" type="Tensor.string" multiplicity="0..1" ord="5">
<elem name="name" type="Tensor.string" multiplicity="0..1">
<comment>Optional user friendly name of the GeoObject.</comment>
</elem>
<elem name="description" type="Tensor.string" multiplicity="0..1" ord="6">
<elem name="description" type="Tensor.string" multiplicity="0..1">
<comment>Optional user friendly description of the GeoObject.</comment>
</elem>
<elem name="data" type="Tensor.json" multiplicity="0..1" ord="7">
<elem name="data" type="Tensor.json" multiplicity="0..1">
<comment>Optional JSON data associated with this object.</comment>
</elem>
</struct>
......
Idx.GeoSpatial.BoundingBox.altmax=6
Idx.GeoSpatial.BoundingBox.altmin=5
Idx.GeoSpatial.BoundingBox.latmax=2
Idx.GeoSpatial.BoundingBox.latmin=1
Idx.GeoSpatial.BoundingBox.lonmax=4
Idx.GeoSpatial.BoundingBox.lonmin=3
Idx.GeoSpatial.Event.SpeedInfo.azimuth=3
Idx.GeoSpatial.Event.SpeedInfo.horizontal=1
Idx.GeoSpatial.Event.SpeedInfo.uncertainty=4
Idx.GeoSpatial.Event.SpeedInfo.vertical=2
Idx.GeoSpatial.PositionECEF.alt=3
Idx.GeoSpatial.PositionECEF.lat=1
Idx.GeoSpatial.PositionECEF.lon=2
Off.GeoSpatial.BoundingBox.altmax=20
Off.GeoSpatial.BoundingBox.altmin=16
Off.GeoSpatial.BoundingBox.latmax=4
Off.GeoSpatial.BoundingBox.latmin=0
Off.GeoSpatial.BoundingBox.lonmax=12
Off.GeoSpatial.BoundingBox.lonmin=8
Off.GeoSpatial.Event.SpeedInfo.azimuth=8
Off.GeoSpatial.Event.SpeedInfo.horizontal=0
Off.GeoSpatial.Event.SpeedInfo.uncertainty=12
Off.GeoSpatial.Event.SpeedInfo.vertical=4
Off.GeoSpatial.PositionECEF.alt=16
Off.GeoSpatial.PositionECEF.lat=0
Off.GeoSpatial.PositionECEF.lon=8
Ord.GeoSpatial.AddressInfo.City=66
Ord.GeoSpatial.AddressInfo.Country=69
Ord.GeoSpatial.AddressInfo.PostalCode=68
Ord.GeoSpatial.AddressInfo.StateRegion=67
Ord.GeoSpatial.AddressInfo.address1=64
Ord.GeoSpatial.AddressInfo.address2=65
Ord.GeoSpatial.Arc.direction=98
Ord.GeoSpatial.Arc.inner=97
Ord.GeoSpatial.Arc.opening=99
Ord.GeoSpatial.Arc.outer=96
Ord.GeoSpatial.Arc3D.direction=115
Ord.GeoSpatial.Arc3D.height=112
Ord.GeoSpatial.Arc3D.inner=114
Ord.GeoSpatial.Arc3D.opening=116
Ord.GeoSpatial.Arc3D.outer=113
Ord.GeoSpatial.ArcBand.direction=101
Ord.GeoSpatial.ArcBand.major_inner=97
Ord.GeoSpatial.ArcBand.major_outer=96
Ord.GeoSpatial.ArcBand.minor_inner=99
Ord.GeoSpatial.ArcBand.minor_outer=98
Ord.GeoSpatial.ArcBand.opening=102
Ord.GeoSpatial.ArcBand.orient=100
Ord.GeoSpatial.ArcBand3D.direction=113
Ord.GeoSpatial.ArcBand3D.height=112
Ord.GeoSpatial.ArcBand3D.opening=115
Ord.GeoSpatial.ArcBand3D.radius=117
Ord.GeoSpatial.ArcBand3D.tilt=114
Ord.GeoSpatial.ArcBand3D.vopening=116
Ord.GeoSpatial.Circle.radius=96
Ord.GeoSpatial.ContactInfo.email=66
Ord.GeoSpatial.ContactInfo.givenname=64
Ord.GeoSpatial.ContactInfo.phone=67
Ord.GeoSpatial.ContactInfo.surname=65
Ord.GeoSpatial.Ellipse.major=96
Ord.GeoSpatial.Ellipse.minor=97
Ord.GeoSpatial.Ellipse.orient=98
Ord.GeoSpatial.Ellipsoid.major=112
Ord.GeoSpatial.Ellipsoid.minor=113
Ord.GeoSpatial.Ellipsoid.orient=114
Ord.GeoSpatial.Ellipsoid.vert=115
Ord.GeoSpatial.Event.data=68
Ord.GeoSpatial.Event.epoch=65
Ord.GeoSpatial.Event.infoEvent=1
Ord.GeoSpatial.Event.infoProducer=2
Ord.GeoSpatial.Event.location=66
Ord.GeoSpatial.Event.speed=67
Ord.GeoSpatial.Event.uuid=64
Ord.GeoSpatial.EventProducer.Notify.Data.event=80
Ord.GeoSpatial.EventProducer.RequestInfo.Output.producer=80
Ord.GeoSpatial.GeoObject.address=84
Ord.GeoSpatial.GeoObject.bounds=80
Ord.GeoSpatial.GeoObject.floorMax=82
Ord.GeoSpatial.GeoObject.floorMin=81
Ord.GeoSpatial.GeoObject.shape=83
Ord.GeoSpatial.GeoObject.validBegin=85
Ord.GeoSpatial.GeoObject.validEnd=86
Ord.GeoSpatial.Location.address=83
Ord.GeoSpatial.Location.confidence=82
Ord.GeoSpatial.Location.floor=84
Ord.GeoSpatial.Location.shape=80
Ord.GeoSpatial.Location.veracity=81
Ord.GeoSpatial.Object.data=70
Ord.GeoSpatial.Object.description=69
Ord.GeoSpatial.Object.name=68
Ord.GeoSpatial.Object.typeObject=64
Ord.GeoSpatial.Object.uriClassifier=67
Ord.GeoSpatial.Object.uriExternal=66
Ord.GeoSpatial.Object.uuid=65
Ord.GeoSpatial.Point2D.lat=80
Ord.GeoSpatial.Point2D.lon=81
Ord.GeoSpatial.Point3D.alt=96
Ord.GeoSpatial.PointOfInterest.address=69
Ord.GeoSpatial.PointOfInterest.confidence=68
Ord.GeoSpatial.PointOfInterest.contact=70
Ord.GeoSpatial.PointOfInterest.description=66
Ord.GeoSpatial.PointOfInterest.floor=65
Ord.GeoSpatial.PointOfInterest.name=64
Ord.GeoSpatial.PointOfInterest.position=67
Ord.GeoSpatial.Polygon.points=97
Ord.GeoSpatial.Polygon.units=96
Ord.GeoSpatial.Polygon3D.points=113
Ord.GeoSpatial.Polygon3D.units=112
Ord.GeoSpatial.Polygon3D.vert=114
Ord.GeoSpatial.ProducerInfo.events=80
Ord.GeoSpatial.Shape.type=64
Ord.GeoSpatial.Spheroid.radius=112
Ord.GeoSpatial.Spheroid.vert=113
Ord.Logging.ActionMsg.category=98
Ord.Logging.ActionMsg.id=96
Ord.Logging.ActionMsg.iid=99
Ord.Logging.ActionMsg.severity=97
Ord.Logging.AppMetrics.currentCount=81
Ord.Logging.AppMetrics.failureCount=86
Ord.Logging.AppMetrics.peakCount=82
Ord.Logging.AppMetrics.peakTime=84
Ord.Logging.AppMetrics.successCount=85
Ord.Logging.AppMetrics.totalCount=80
Ord.Logging.AppMetrics.totalTime=83
Ord.Logging.DebugInfo.file=64
Ord.Logging.DebugInfo.line=65
Ord.Logging.DebugInfo.thid=66
Ord.Logging.MessageBase.data=68
Ord.Logging.MessageBase.date=65
Ord.Logging.MessageBase.debug=69
Ord.Logging.MessageBase.info=67
Ord.Logging.MessageBase.source=66
Ord.Logging.MessageBase.type=64
Ord.Logging.Metric.metricType=64
Ord.Logging.Metric.name=65
Ord.Logging.MetricMsg.duration=81
Ord.Logging.MetricMsg.metrics=82
Ord.Logging.MetricMsg.start=80
Ord.Logging.PegCount.value=80
Ord.Logging.TaskReport.duration=114
Ord.Logging.TaskReport.result=115
Ord.Logging.TaskReport.start=113
Ord.Logging.TaskReport.taskid=112
Ord.Logging.TraceMsg.level=96
Ord.Logging.TransactionMsg.acctid=82
Ord.Logging.TransactionMsg.appid=84
Ord.Logging.TransactionMsg.devid=83
Ord.Logging.TransactionMsg.etid=81
Ord.Logging.TransactionMsg.tid=80
Ord.Logging.UsageMsg.uri=96
Ord.Tensor.Command.argument=66
Ord.Tensor.Command.etid=65
Ord.Tensor.Command.name=64
Ord.Tensor.CommandApi.Execute.Input.commands=64
Ord.Tensor.CommandApi.Execute.Input.wantresponses=65
Ord.Tensor.CommandApi.Execute.Output.lastcommand=64
Ord.Tensor.CommandApi.Execute.Output.lastresult=65
Ord.Tensor.CommandApi.Execute.Output.responses=66
Ord.Tensor.CommandResponse.etid=65
Ord.Tensor.CommandResponse.name=64
Ord.Tensor.CommandResponse.output=67
Ord.Tensor.CommandResponse.result=66
Ord.Tensor.InputBase.devid=64
Ord.Tensor.InputBase.directive=66
Ord.Tensor.InputBase.etid=65
Ord.Tensor.NameValue.name=64
Ord.Tensor.NameValue.value=65
Ord.Tensor.OutputBase.devid=64
Ord.Tensor.OutputBase.errinfo=67
Ord.Tensor.OutputBase.etid=65
Ord.Tensor.OutputBase.resultcode=66
Ord.Tensor.VoidType.reserved=64
SID.GeoSpatial.EventProducer.Notify.Data=4242
SID.GeoSpatial.EventProducer.RequestInfo.Input=4240
SID.GeoSpatial.EventProducer.RequestInfo.Output=4241
SID.Tensor.CommandApi.Execute.Input=256
SID.Tensor.CommandApi.Execute.Output=257
Size.GeoSpatial.AddressInfo=-1
Size.GeoSpatial.Arc3D=-1
Size.GeoSpatial.Arc=-1
Size.GeoSpatial.ArcBand3D=-1
Size.GeoSpatial.ArcBand=-1
Size.GeoSpatial.BoundingBox=24
Size.GeoSpatial.Circle=-1
Size.GeoSpatial.ContactInfo=-1
Size.GeoSpatial.Ellipse=-1
Size.GeoSpatial.Ellipsoid=-1
Size.GeoSpatial.Event.SpeedInfo=16
Size.GeoSpatial.Event=-1
Size.GeoSpatial.EventProducer.Notify.Data=-1
Size.GeoSpatial.EventProducer.RequestInfo.Input=-1
Size.GeoSpatial.EventProducer.RequestInfo.Output=-1
Size.GeoSpatial.GeoObject=-1
Size.GeoSpatial.Location=-1
Size.GeoSpatial.Object=-1
Size.GeoSpatial.Point2D=-1
Size.GeoSpatial.Point3D=-1
Size.GeoSpatial.PointOfInterest=-1
Size.GeoSpatial.Polygon3D=-1
Size.GeoSpatial.Polygon=-1
Size.GeoSpatial.PositionECEF=24
Size.GeoSpatial.ProducerInfo=-1
Size.GeoSpatial.Shape=-1
Size.GeoSpatial.Spheroid=-1
Size.Logging.ActionMsg=-1
Size.Logging.AppMetrics=-1
Size.Logging.DebugInfo=-1
Size.Logging.MessageBase=-1
Size.Logging.Metric=-1
Size.Logging.MetricMsg=-1
Size.Logging.PegCount=-1
Size.Logging.TaskReport=-1
Size.Logging.TraceMsg=-1
Size.Logging.TransactionMsg=-1
Size.Logging.UsageMsg=-1
Size.Tensor.Command=-1
Size.Tensor.CommandApi.Execute.Input=-1
Size.Tensor.CommandApi.Execute.Output=-1
Size.Tensor.CommandResponse=-1
Size.Tensor.InputBase=-1
Size.Tensor.NameValue=-1
Size.Tensor.OutputBase=-1
Size.Tensor.VoidType=-1
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!