Skip to content
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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

SpeckiJ
Copy link
Member

@SpeckiJ SpeckiJ commented Jun 8, 2022

see individual commits

* optional: swe:label [0..1]
*/
private String label;
public class SweDataStream extends AbstractSWEIdentifiable

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

Copy link
Member Author

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?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants