-
v1.2.2
Bug fix: the metadata datetime is now UTC When transforming AIS messages into the CISE message of type 1, 2 and 3 the adaptor need to translate set in the translated message a period of time of the position. This information is taken from the ais metadata that is generated by the tb salling ais parsing library that by default create a datetime in the moment the ais message is parsed. By default the date time is not created using a UTC clock. This generates timestamps not referring to UTC but referring to the local time of the server hosting the application. It has been fixed overriding the timestamp in metadata with one referring to the UTC time.
-
v1.2.1
The current minor release is fixing two bugs on the Speed over ground and course over ground translation from the ais protocol to the CISE one. In the AIS world the SoG is expressed in 1/10 knot while in the CISE data model is expressed in knots and the CoG is expressed in 1/10 of degrees while in the CISE data model is expressed in degrees. The library that has being used to parse the ais messages was already translating these values from 1/10 to 1 but the ais adaptor was taking into account these values as they were still expressed in 1/10. This finally resulted in a bug of deviding the SoG and the CoG in the ais messaged of one 1/100 instead of 1/10. To fix this bug a new end to end test has been added and the behavior is now correct. Another minor fix is on the AIS messages of type 5 where when the ETA was not specified the CISE message results with an empty <DateTime/> tag. Now a not specified ETA get rid of the DateTime tag.
-
v1.2
In this minor release the ``delete-location-unavailable`` property has been added in the property file to allow a fine grained handling of the ais messages containing not availabe latitude and longitude values, that in the specific case are 91 and 181, respectively. If the property is not set will default to false that is the behavior the ais adaptor had in the prevoius version. Therefore this version is backward compatible. When the ``delete-location-unavailable`` is set to false (default) and the ais message has a latitude=91 and/or longitude=181, the adaptor will write these values in the <Location /> tag even if they are incorrect as degrees. For instance a AISMessage(lat: 91, long: 23.5301) the translated cise message would be: ```xml <Vessel> <LocationRel> <Location> <Geometry> <Latitude>91</Latitude> <Longitude>23.5301</Longitude> </Geometry> <LocationQualitativeAccuracy>High</LocationQualitativeAccuracy> </Location> <COG>12</COG> ... </LocationRel> <MMSI>123456789</MMSI> <NavigationalStatus>UnderWayUsingEngine</NavigationalStatus> </Vessel> ``` Notice that the ``<Latitude>91</Latitude>`` is not a valid degree. When the ``delete-location-unavailable`` is set to true and the ais message has a latitude=91 and/or longitude=181, the adaptor will delete the <Location /> to avoid sending a location with incorrect degrees values inside. For instance a AISMessage(lat: 91, long: 23.5301) the translated cise message would be: ```xml <Vessel> <LocationRel> <COG>12</COG> ... </LocationRel> <MMSI>123456789</MMSI> <NavigationalStatus>UnderWayUsingEngine</NavigationalStatus> </Vessel> ```
-
v1.1
- added the Publish/Subscribe communication pattern. - added the missing attribute locationRole to the translation of message type 5. - computed the ETA for AIS message of type 5 in a more precise way. It is now setting an ETA trying to guess the closest date to today. Note: the ais message don't include the year of the ETA and that might create some ambiguities. - added the support to messages of type 'Push' and ServiceOperation 'Subscribe'. This features allows to interact directly with the light client. - The AisStreamGenerator to be used to read the ais tracks can now be loaded at runtime using a specific configuration property. - Fixed an error on the datetime passed to the translation of the eta ais field. - Added the capability to use a delimiter different from \n specified in the property file. - The printing of the configuration at boot time will shade the properties named `password`. - Updated and improved documentation.