-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement SensorML2.0 Event Xml-Decoder & Json-Encoder #395
base: master
Are you sure you want to change the base?
Conversation
* optional: swe:label [0..1] | ||
*/ | ||
private String label; | ||
public class SweDataStream extends AbstractSWEIdentifiable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use SweAbstractDataComponent
instead of creating a new AbstractSWEIdentifiable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If i take a look at https://portal.ogc.org/files/?artifact_id=41157 Section 7.2.2. it's the other way around - SweAbstractDataComponent
should not define those field itself but extends AbstractSWEIdentifiable
. Or do i miss something here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the spec perspective you are correct but we have merged some classes from the spec into one class in our implementation
see individual commits