Click or drag to resize
ISpeciesObservationSearchCriteria Interface
This interface holds parameters used to search for species observations.

Namespace: ArtDatabanken.Data
Assembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public interface ISpeciesObservationSearchCriteria

The ISpeciesObservationSearchCriteria type exposes the following members.

Properties
  NameDescription
Public propertyAccuracy
Requested minimum accuracy of the coordinates. Species observations with bad accurray (ie higher accuracy value ) will not be included in the search result. Unit is meters.
Public propertyBirdNestActivityLimit
Limit returned observations based on bird nest activity level. Only bird observations in Artportalen are affected by this search criteria. Only bird observations with the specified bird nest activity level or stronger may be returned. Observation of other organism groups (not birds) are not affected by this search criteria. Use method GetBirdNestActivities() in SpeciesObservationManager to retrieve currently used bird nest activities. Property BirdNestActivityLimit should be set to one of the bird nest activities.
Public propertyBoundingBox
Limit returned observations to specified bounding box. Only two-dimensional bounding boxes (rectangles) are handled in SwedishSpeciesObservationService.
Public propertyChangeDateTime
Search observations based on change date and time.
Public propertyCountyProvinceRegionSearchType
Specifies how to search when having county or province Regions in the search criteria. ByCoordinate is the default type and uses the precalculated Id's of the observation, the Id is calculated using coordinates. ByName works in the same way as ByCoordinates but the Id's are calculated by matching of region names (primary), secondary by coordinates.
Public propertyDataContext
Data context.
Public propertyDataSourceGuids
List of data sources to use in the search. All data sources are used if no specific data sources are provided.
Public propertyFieldLogicalOperator
Specify how field search criteria should be logically combined when species observations are searched.
Public propertyFieldSearchCriteria
Limit search based on values for any data that is related to species observations.
Public propertyIncludeNeverFoundObservations
This property indicates whether to search for never found observations. "Never found observations" is an observation that says that the specified species was not found in a location deemed appropriate for the species.
Public propertyIncludeNotRediscoveredObservations
This property indicates whether to search for not rediscovered observations. "Not rediscovered observations" is an observation that says that the specified species was not found in a location where it has previously been observed.
Public propertyIncludePositiveObservations
This property indicates whether to search for positive observations. "Positive observations" are normal observations indicating that a species has been seen at a specified location.
Public propertyIncludeRedListCategories
Search observations based on taxa that is readlisted in any of the specified red list categories. If property IncludeRedListCategories is not empty all taxa that is redlisted in any of the specified red list categories are added to property TaxonIds by the web service.
Public propertyIncludeRedlistedTaxa
Search observations based on readlisted taxa. If property IncludeRedlistedTaxa is set to true all redlisted taxa is added to property TaxonIds by the web service.
Public propertyIsAccuracyConsidered
Indicates if species observations that are outside geography area (bounding box, polygons or regions) but close enough when accuracy of observation are considered should be included in the result.
Public propertyIsDisturbanceSensitivityConsidered
Indicates if species observations that are outside geography area (bounding box, polygons or regions) but close enough when disturbance sensitivity of species are considered should be included in the result.
Public propertyIsNaturalOccurrence
Restrict search based on if a positive observation is natural or not. Property IsIsNaturalOccurrenceSpecified indicates if property IsNaturalOccurrence should be used or not.
Public propertyLocalityNameSearchString
String search criteria to match with locality names. All localities are used if LocalityNameSearchString is empty.
Public propertyMaxProtectionLevel
Only observations that has a protection level that is equal to or lower than the value of this property are included in the result. 1 is the lowest possible value.
Public propertyMinProtectionLevel
Only observations that has a protection level that is equal to or higher than the value of this property are included in the result. 1 is the lowest possible value.
Public propertyObservationDateTime
Search observations based on observation date and time. If ObservationDateTime.PartOfYear has a DateTimeInterval value then the first value in PartOfYear is used and search is limited to part of year with no limit on years. If ObservationDateTime.PartOfYear is empty then ObservationDateTime.Begin and ObservationDateTime.End is used to limit species observation search.
Public propertyObserverIds
Search observations based on observers. Observer id corresponds to person id in the user service. Observations that are not related to persons defined in user service will not match this search criteria. This property is not used in the current version of SwedishSpeciesObservationService.
Public propertyObserverSearchString
String search criteria to match with observer names.
Public propertyPolygons
Search observations that are inside specified polygons.
Public propertyProjectGuids
Get observations related to specified projects (projects corresponds to "syfte" in Artportalen 1). This property is not used in the current version of SwedishSpeciesObservationService.
Public propertyRegionGuids
Limit search to specified regions. Regions are defined by GeoReferenceService.
Public propertyRegionLogicalOperator
Specify how regions, polygons or bounding box should be logically combined when species observations are searched. The logical operator OR are used between spatial geometries. This property is not used in the current version of SwedishSpeciesObservationService.
Public propertyReportedDateTime
Search observations based on reported date and time. Not all functionality in WebDateTimeSearchCriteria are implemented. Current restrictions: Only Days are handled if Accuracy has been specified.
Public propertySpeciesActivityIds
Limit returned observations based on species activities. Use method GetSpeciesActivities() in web service SwedishSpeciesObservationService to retrieve currently used species activities. This property is currently not used.
Public propertyTaxonIds
List of taxa to use in the search. Ids for taxon are defined in Dyntaxa.
Public propertyValidationStatusIds
Return only observations with specified validation status. This property is not used in the current version of SwedishSpeciesObservationService.
Top
Methods
  NameDescription
Public methodAddRegionGuid
Add region GUID to search criteria.
Public methodAddTaxon
Add taxon id to search criteria.
Public methodSetObservationDataTime
Set observation date time search criteria.
Top
See Also