congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JTextField (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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