Skip to content

Implement SensorML2.0 Event Xml-Decoder & Json-Encoder#395

Open
SpeckiJ wants to merge 9 commits into
52North:masterfrom
SpeckiJ:feature/sensorML20EventDecoding
Open

Implement SensorML2.0 Event Xml-Decoder & Json-Encoder#395
SpeckiJ wants to merge 9 commits into
52North:masterfrom
SpeckiJ:feature/sensorML20EventDecoding

Conversation

@SpeckiJ

@SpeckiJ SpeckiJ commented Jun 8, 2022

Copy link
Copy Markdown
Member

see individual commits

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

Copy link
Copy Markdown

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
Copy Markdown
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?

Copy link
Copy Markdown

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