Class: AcquisitionPlansParser

AcquisitionPlansParser(workers)

new AcquisitionPlansParser(workers)

Parameters:
Name Type Description
workers Workers
Source:

Members

domParser :DOMParser|null

Type:
  • DOMParser | null
Source:

shapeAttributesMap :Object

Type:
  • Object
Source:

Methods

parse(fileInfo, cb)

Parses an acquisition plan kml file. Parsing will be attempted in a web worker and if that fails it will be attemped on the main thread.
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 String An ISODate string used for filtering out shapes that lees than this value. Default is the current date
cb function A callback function, will be called with error and entry params
Source: