Codota Logo
SosContentCache.getFeaturesOfInterestForOffering
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
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

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Kernel (java.awt.image)
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • JFrame (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now