@Configurable public final class SweHelper extends Object
| Constructor and Description |
|---|
SweHelper() |
@Setting(value="coding.tokenSeparator", required=false) public void setTokenSeparator(String separator) throws ConfigurationError
ConfigurationError@Setting(value="coding.tupleSeparator", required=false) public void setTupleSeparator(String separator) throws ConfigurationError
ConfigurationError@Setting(value="coding.decimalSeparator", required=false) 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 SweAbstractEncoding createTextEncoding(String tuple, String token, String decimal)
tuple - Token separatortoken - Tuple separatordecimal - Decimal separatorpublic SweAbstractEncoding createDefaultTextEncoding()
public 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", required=false) 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", required=false) 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", required=false) 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–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.