Tabnine Logo
SosContentCache.getObservablePropertiesForOffering
Code IndexAdd Tabnine to your IDE (free)

How to use
getObservablePropertiesForOffering
method
in
org.n52.sos.cache.SosContentCache

Best Java code snippets using org.n52.sos.cache.SosContentCache.getObservablePropertiesForOffering (Showing top 3 results out of 315)

origin: 52North/SOS

protected void setUpPhenomenaForOffering(final Set<String> offerings, final String procedure,
                     final SosObservationOffering sosOffering) {
  Collection<String> phenomenons = offerings.stream().flatMap(offering -> {
    Collection<String> observableProperties = getCache().getObservablePropertiesForOffering(offering);
    return observableProperties.stream().filter(observableProperty -> {
      Set<String> procedures = getCache().getProceduresForObservableProperty(observableProperty);
      return procedures.contains(procedure) || isHiddenChildProcedureObservableProperty(offering, procedures);
    });
  }).collect(toList());
  sosOffering.setCompositePhenomena(offerings.stream()
      .map(getCache()::getCompositePhenomenonsForOffering)
      .flatMap(Set::stream).collect(toSet()));
  sosOffering.setPhens4CompPhens(sosOffering.getCompositePhenomena().stream()
        .collect(toMap(Function.identity(),
                getCache()::getObservablePropertiesForCompositePhenomenon)));
  sosOffering.setObservableProperties(phenomenons);
}
origin: 52North/SOS

sosObservationOffering.setObservableProperties(cache.getObservablePropertiesForOffering(offering));
sosObservationOffering.setCompositePhenomena(cache.getCompositePhenomenonsForOffering(offering));
Map<String, Set<String>> phens4CompPhens = cache.getCompositePhenomenonsForOffering(offering).stream()
origin: 52North/SOS

    .getObservablePropertiesForOffering(offering.getIdentifier()));
Set<String> compositePhenomenonsForOffering = getCache().getCompositePhenomenonsForOffering(offering
    .getIdentifier());
org.n52.sos.cacheSosContentCachegetObservablePropertiesForOffering

Javadoc

Get the observable properties associated with the specified offering.

Popular methods of SosContentCache

  • getOfferings
  • getObservableProperties
  • getFeatureOfInterestTypes
  • getObservationTypes
  • getProceduresForOffering
  • hasObservableProperty
  • hasOffering
  • getAllowedObservationTypesForOffering
  • getChildProcedures
  • getEpsgCodes
  • getOfferingsForProcedure
  • getProcedures
  • getOfferingsForProcedure,
  • getProcedures,
  • getPublishedObservableProperties,
  • getPublishedOfferings,
  • hasResultTemplate,
  • getAllObservationTypesForOffering,
  • getCompositePhenomenonsForOffering,
  • getEnvelopeForOffering,
  • getFeaturesOfInterest,
  • getFeaturesOfInterestForOffering

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top PhpStorm plugins
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