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

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

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

origin: 52North/SOS

/**
 * Get FOIs contained in an offering
 *
 * @param offering Offering identifier
 *
 * @return FOI identifiers
 *
 *
 * @throws OwsExceptionReport * If an error occurs
 */
protected Set<String> getFOI4offering(final String offering) throws OwsExceptionReport {
  final Set<String> featureIDs = new HashSet<>(0);
  final Set<String> features = getCache().getFeaturesOfInterestForOffering(offering);
  if (!getProfileHandler().getActiveProfile().isListFeatureOfInterestsInOfferings() ||
    features == null) {
    featureIDs.add(OGCConstants.UNKNOWN);
  } else {
    featureIDs.addAll(features);
  }
  return featureIDs;
}
origin: 52North/SOS

/**
 * Get featureOfInterests for procedure and version
 *
 * @return Collection with featureOfInterests
 *
 * @throws OwsExceptionReport If an error occurs
 */
private Collection<String> getFeatureOfInterestIDs()
    throws OwsExceptionReport {
  Set<String> features = Sets.newHashSet();
  // add cache map for proc/fois and get fois for proc
  for (String offering : getCache().getOfferingsForProcedure(getIdentifier())) {
    // don't include features for offerings which this procedure is a
    // hidden child of
    if (!getCache().getHiddenChildProceduresForOffering(offering).contains(getIdentifier())) {
      features.addAll(getCache().getFeaturesOfInterestForOffering(offering));
    }
  }
  return SosHelper.getFeatureIDs(features, getVersion());
}
org.n52.sos.cacheSosContentCachegetFeaturesOfInterestForOffering

Javadoc

Returns all FeaturesOfInterest for the specified offering.

Popular methods of SosContentCache

  • getOfferings
  • getObservableProperties
  • getFeatureOfInterestTypes
  • getObservationTypes
  • getProceduresForOffering
  • hasObservableProperty
  • hasOffering
  • getAllowedObservationTypesForOffering
  • getChildProcedures
    Returns collection containing child procedures for the passed procedures, optionally navigating the
  • getEpsgCodes
  • getOfferingsForProcedure
  • getProcedures
  • getOfferingsForProcedure,
  • getProcedures,
  • getPublishedObservableProperties,
  • getPublishedOfferings,
  • hasResultTemplate,
  • getAllObservationTypesForOffering,
  • getCompositePhenomenonsForOffering,
  • getEnvelopeForOffering,
  • getFeaturesOfInterest

Popular in Java

  • Making http requests using okhttp
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Collectors (java.util.stream)
  • JPanel (javax.swing)
  • Top 12 Jupyter Notebook extensions
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