congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
org.n52.sos.util
Code IndexAdd Tabnine to your IDE (free)

How to use org.n52.sos.util

Best Java code snippets using org.n52.sos.util (Showing top 20 results out of 315)

origin: org.n52.sensorweb.sos/gda-operation

public void setNamespace(String namespace) {
  if (StringHelper.isNotEmpty(namespace)) {
    this.namespace = namespace;
  }
}
origin: org.n52.sensorweb.sos/cache

@Override
public Set<String> getChildOfferings(final String offeringIdentifier, final boolean fullHierarchy,
                   final boolean includeSelf) {
  return getHierarchy(this.childOfferingsForOfferings, offeringIdentifier, fullHierarchy, includeSelf);
}
origin: org.n52.sensorweb.sos/coding-inspire-omso

  protected static XmlObject encodeSweCommon(Object o, Map<HelperValues, String> helperValues)
      throws OwsExceptionReport {
    return CodingHelper.encodeObjectToXml(SweConstants.NS_SWE_20, o, helperValues);
  }
}
origin: 52North/SOS

/**
 * Get WKT string from longitude and latitude with axis order as defined by EPSG code.
 *
 * @param longitude Longitude coordinate
 * @param latitude  Latitude coordinate
 * @param epsg      EPSG code to check for axis order
 *
 * @return WKT string
 */
public String getWktString(Object longitude, Object latitude, int epsg) {
  return getWktString(latitude, longitude, isNorthingFirstEpsgCode(epsg));
}
origin: 52North/SOS

/**
 * Check if the EPSG code is easting first.
 *
 * @param epsgCode EPSG code to check
 *
 * @return <code>true</code>, if the EPSG code is easting first
 */
public boolean isEastingFirstEpsgCode(int epsgCode) {
  return !isNorthingFirstEpsgCode(epsgCode);
}
origin: 52North/SOS

/**
 * @return
 */
public int getAndDecrement() {
  int temp = get();
  set(get() - 1);
  return temp;
}
origin: org.n52.sensorweb.sos/coding-gwml

  protected static XmlObject encodeGWMLProperty(Object o, Map<HelperValues, String> helperValues) throws OwsExceptionReport {
    return CodingHelper.encodeObjectToXmlPropertyType(GWMLConstants.NS_GWML_22, o, helperValues);
  }
}
origin: org.n52.sensorweb.sos/coding-wml-v20

@SuppressWarnings("unchecked")
private static Set<EncoderKey> createEncoderKeys() {
  return CollectionHelper.union(getDefaultEncoderKeys(), CodingHelper.encoderKeysForElements(
      WaterMLConstants.NS_WML_20_DR, GetObservationResponse.class, OmObservation.class,
      AbstractFeature.class, SingleObservationValue.class, MultiObservationValues.class));
}
origin: 52North/SOS

/**
 * Get WKT string from longitude and latitude.
 *
 * @param longitude Longitude coordinate
 * @param latitude  Latitude coordinate
 *
 * @return WKT string
 */
public String getWktString(Object longitude, Object latitude) {
  return getWktString(latitude, longitude, datasoureUsesNorthingFirst);
}
origin: 52North/SOS

/**
 * @param value
 */
public IncDecInteger(int value) {
  set(value);
}
origin: 52North/SOS

/**
 * Convert from old-style VividSolutions Envelops to new-style LocationTech Envelopes.
 *
 * @param envelope the envelope
 *
 * @return the converted envelope
 */
public static org.locationtech.jts.geom.Envelope convert(com.vividsolutions.jts.geom.Envelope envelope) {
  return VS2LT_CONVERTER.convert(envelope);
}
origin: org.n52.sensorweb.sos/coding-inspire-omso

protected static XmlObject encodeInspireOMSO(Object o, Map<HelperValues, String> helperValues)
    throws OwsExceptionReport {
  return CodingHelper.encodeObjectToXml(InspireOMSOConstants.NS_OMSO_30, o, helperValues);
}
origin: org.n52.sensorweb.sos/gda-operation

public GetDataAvailabilityRequest setNamespace(String namspace) {
  if (StringHelper.isNotEmpty(namspace)) {
    this.namspace = namspace;
  }
  return this;
}
origin: org.n52.sensorweb.sos/cache

@Override
public Set<String> getParentOfferings(final Set<String> offeringIdentifiers, final boolean fullHierarchy,
                   final boolean includeSelves) {
  return getHierarchy(this.parentOfferingsForOfferings, offeringIdentifiers, fullHierarchy,
            includeSelves);
}
origin: 52North/SOS

@Override
public Set<String> getChildOfferings(final String offeringIdentifier, final boolean fullHierarchy,
                   final boolean includeSelf) {
  return getHierarchy(this.childOfferingsForOfferings, offeringIdentifier, fullHierarchy, includeSelf);
}
origin: 52North/SOS

@Override
public Set<String> getParentFeatures(final Set<String> featureIdentifiers, final boolean fullHierarchy,
                   final boolean includeSelves) {
  return getHierarchy(this.parentFeaturesForFeaturesOfInterest, featureIdentifiers, fullHierarchy,
            includeSelves);
}
origin: 52North/SOS

@Override
public Set<String> getChildProcedures(final String procedureIdentifier, final boolean fullHierarchy,
                   final boolean includeSelf) {
  return getHierarchy(this.childProceduresForProcedures, procedureIdentifier, fullHierarchy, includeSelf);
}
origin: 52North/SOS

@Override
public Set<String> getParentOfferings(final Set<String> offeringIdentifiers, final boolean fullHierarchy,
                   final boolean includeSelves) {
  return getHierarchy(this.parentOfferingsForOfferings, offeringIdentifiers, fullHierarchy,
            includeSelves);
}
origin: org.n52.sensorweb.sos/cache

@Override
public Set<String> getParentProcedures(String procedureIdentifier, boolean fullHierarchy, boolean includeSelf) {
  return getHierarchy(this.parentProceduresForProcedures, procedureIdentifier, fullHierarchy, includeSelf);
}
origin: org.n52.sensorweb.sos/cache

@Override
public Set<String> getChildOfferings(final Set<String> offeringIdentifiers, final boolean fullHierarchy,
                   final boolean includeSelves) {
  return getHierarchy(this.childOfferingsForOfferings, offeringIdentifiers, fullHierarchy, includeSelves);
}
org.n52.sos.util

Most used classes

  • CodingHelper
  • CollectionHelper
  • SosHelper
  • JavaHelper
  • XmlHelper
  • GeometryHandler,
  • DateTimeHelper,
  • StringHelper,
  • MediaType,
  • JTSConverter,
  • KvpHelper,
  • Validation,
  • IncDecInteger,
  • JTSHelper,
  • OMHelper,
  • I18NHelper,
  • JSONUtils,
  • N52XmlHelper,
  • SQLHelper
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now