Skip to content

Comments

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

Open
SpeckiJ wants to merge 9 commits into52North:masterfrom
SpeckiJ:feature/sensorML20EventDecoding
Open

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

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