new AcquisitionPlans(satNames, workers)
Parameters:
Name |
Type |
Description |
satNames |
Array.<String>
|
The satellite names for the acquisition plan. The convention is to use the short name: ["s1a", "s1b", "s2a", "s2b"]. |
workers |
Workers
|
|
- Source:
Methods
deHighlight(renderable)
Dehighlights of a footprint renderable if it was previously enabled by the toggleHighlight method.
Parameters:
Name |
Type |
Description |
renderable |
Renderable
|
|
- Source:
findRenderablesInEntry(entry, startDate, endDate) → {Object}
Find all the renderables in an acquisition plan entry by startDate and endDate
Parameters:
- Source:
Returns:
-
Type
-
Object
Get all the footprints for a given sattelite and time interval.
Parameters:
Name |
Type |
Description |
searchOptions |
Object
|
Properties
Name |
Type |
Description |
satName |
String
|
The satellite name. The convention is to use the short name: "s1a", "s2b", "s5p", etc. |
startDate |
Date
|
|
endDate |
Date
|
|
|
- Source:
Returns:
-
Type
-
Object
parse(fileInfo)
Parses an acquisition plan in kml format and adds it to the cache.
Footprints that are in the past relatitive to the filterDate will be ignored.
Duplicated footprints will be ignored, only the lastest one will be stored.
For Sentinel 2 only Noobs Nominal footprints will be parsed.
Parameters:
Name |
Type |
Description |
fileInfo |
Object
|
Properties
Name |
Type |
Description |
satName |
String
|
The satellite name for the acquisition plan. The convention is to use the short name: "s1a", "s2b", "s5p", etc. |
url |
String
|
The url for the acquisition plan file |
type |
String
|
A type for the web workers. Default is "downloadAndParseKmls" |
interior |
Boolean
|
A flag that indicates if interior renderables should be created. Default is true |
outline |
Boolean
|
A flag that indicates if outline renderables should be created. Default is true |
outlineAlpha |
Number
|
Alpha value fot the outline. Default is 1 |
interiorAlpha |
Number
|
Alpha value for the interior. Default is 0.2 |
highlightAlpha |
Number
|
Alpha value for the interior highlight. Default is 0.5 |
filterDate |
Date
|
An ISODate string used for filtering out shapes that lees than this value. Default is the current date |
|
- Source:
terminateWorkers()
Stops all the web workers associeted with this AcquisitionPlans instance and releases their memory.
New workers can still be spwaned after if needed.
- Source:
timeIntersection(startRange1, endRange1, startRange2, endRange2) → {Boolean}
Checks if the range [startRange1, endRange1] intersects with the range [startRange2, endRange2]
Parameters:
Name |
Type |
Description |
startRange1 |
Number
|
Date
|
|
endRange1 |
Number
|
Date
|
|
startRange2 |
Number
|
Date
|
|
endRange2 |
Number
|
Date
|
|
- Source:
Returns:
-
Type
-
Boolean
toggleHighlight(renderable)
Toggles the highlight of the provided renderable.
If a different footprint renderable is already highlighted it will be unhighlighted.
Parameters:
Name |
Type |
Description |
renderable |
Renderable
|
|
- Source: