Hi all,
FYI I have removed unit conversion code from the SOS_Process class because I have implemented this feature in the process chain engine in a more generic manner.
I know it may cause other things that I’m not aware of to break, but I think this is the right way to go forward.
Making connections between two “incompatible” units (i.e. connecting meters to radians for instance) is not allowed and will result in an error.
When making connections between two “compatible” units (i.e. radians to degrees, meters to feet), units are converted automatically in the org.vast.process.DataConnection class.
When units are not specified on either end of a connection, no conversion is done.
So from now on, please make sure that “uom” is specified corectly in SensorML process chains.
Thanks,
-----------------------------------------------
Alexandre Robin
Sensia Software, LLC
Innovation for the Geo-Sensor Web