new FeaturesOfInterest(networkPropertiesopt)
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
networkProperties |
Object |
<optional> |
{} |
Properties
|
Methods
(async) getFeatureOfInterestById(fId, featureOfInterestFilteropt) → {Promise.<JSON>}
Get a specific feature resource by ID. Note that this will return the description of the feature valid at the current time.
To get the description valid for a past (or future) time, use the "history" sub-collection.
route: /featuresOfInterest/{id}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
fId |
String | The ID of the Feature resource | ||
featureOfInterestFilter |
FeatureOfInterestFilter |
<optional> |
new FeatureOfInterestFilter() | default FOI filter |
Returns:
- The corresponding FeaturesOfInterest as JSON
- Type
- Promise.<JSON>
(async) searchFeaturesOfInterest(featureOfInterestFilteropt, pageSizeopt) → {Promise.<Collection.<FeaturesOfInterest>>}
List or search all sampled and sampling features available through this API. By default, only top level features
and collections are listed (i.e. nested members of feature collections are ommitted) unless the "parent" query parameter is set.
route: /featuresOfInterest
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
featureOfInterestFilter |
FeatureOfInterestFilter |
<optional> |
new FeatureOfInterestFilter() | default FOI filter |
pageSize |
Number |
<optional> |
10 | default page size |
Returns:
- A Collection of FeaturesOfInterest
- Type
- Promise.<Collection.<FeaturesOfInterest>>