Skip to content

Commit 01c3087

Browse files
committed
Updated Location Vector Builder
1 parent bf9cf5b commit 01c3087

File tree

1 file changed

+3
-3
lines changed
  • sensors/detection/sensorhub-driver-krakenSDR/src/main/java/org/sensorhub/impl/sensor/krakenSDR

1 file changed

+3
-3
lines changed

sensors/detection/sensorhub-driver-krakenSDR/src/main/java/org/sensorhub/impl/sensor/krakenSDR/KrakenSdrOutputDOA.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ public void doInit() {
116116
.description("Name of the KrakenSDR station inputted in the Station Information box in the Web GUI")
117117
.definition(SWEHelper.getPropertyUri("id"))
118118
)
119-
.addField("location", geoFac.newLocationVectorLatLon(SWEHelper.getPropertyUri("location"))
120-
119+
.addField("location", geoFac.createLocationVectorLatLon().label(SWEHelper.getPropertyUri("location"))
120+
.label("Location")
121+
.description("Lat and Long of the Kraken's Position")
121122
)
122123
.addField("heading", sweFactory.createQuantity()
123124
.label("Heading")
@@ -129,7 +130,6 @@ public void doInit() {
129130
.description("Main Heading Sensor Used (\"GPS\"/\"Compass\")")
130131
.definition(SWEHelper.getPropertyUri("heading")))
131132
;
132-
dataStruct.getField("location").setLabel("Location");
133133
dataStruct = recordBuilder.build();
134134

135135

0 commit comments

Comments
 (0)