@Configurable public final class SweHelper extends Object
| Constructor and Description |
|---|
SweHelper() |
@Setting(value="coding.tokenSeparator") public void setTokenSeparator(String separator) throws ConfigurationError
ConfigurationError@Setting(value="coding.tupleSeparator") public void setTupleSeparator(String separator) throws ConfigurationError
ConfigurationError@Setting(value="coding.decimalSeparator") public void setDecimalSeparator(String separator) throws ConfigurationError
ConfigurationErrorpublic SweDataArray createSosSweDataArray(OmObservation sosObservation) throws EncodingException
SweDataArray from OmObservationsosObservation - The OmObservation to create SweDataArray fromSweDataArrayEncodingException - If the service does not support the SweDataArray
creation from value of OmObservationpublic SweDataArray createSosSweDataArray(AbstractObservationValue<?> observationValue) throws EncodingException
SweDataArray from AbstractObservationValueobservationValue - The AbstractObservationValue to create
SweDataArray fromSweDataArrayEncodingException - If the service does not support the SweDataArray
creation from AbstractObservationValuepublic SweAbstractEncoding createTextEncoding(OmObservation o)
o - SosObservation with token and tuple separatorpublic SweQuantity createSweQuantity(Object value, String axis, String uom)
SweQuantity from parametervalue - the SweQuantity valueaxis - the SweQuantity axis iduom - the SweQuantity unit of measureSweQuantity from parameter@Setting(value="swe.coordinate.northing") public void setNorthingNames(String northingNames)
northingNames - the northingNames to setpublic boolean hasNorthingName(String... names)
names - Names to checktrue, if the name is defined.@Setting(value="swe.coordinate.easting") public void setEastingNames(String eastingNames)
eastingNames - the eastingNames to setpublic boolean hasEastingName(String... names)
names - Names to checktrue, if the name is defined.@Setting(value="swe.coordinate.altitude") public void setAltitudeNames(String altitudeNames)
altitudeNames - the altitudeNames to setpublic boolean hasAltitudeName(String... names)
names - Names to checktrue, if the name is defined.Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.