-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #420 from NASA-IMPACT/develop
Deploy v1.6.0
- Loading branch information
Showing
7 changed files
with
104 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
app/assets/scripts/components/common/layers/layer-detection-plane.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import config from '../../../config'; | ||
import { indicatorGroupColors } from '../../../styles/theme/theme'; | ||
|
||
export default { | ||
id: 'detection-plane', | ||
name: 'Planes', | ||
type: 'inference-timeseries', | ||
domain: [ | ||
'2020-01-01', | ||
'2020-04-30' | ||
], | ||
source: { | ||
vector: { | ||
type: 'geojson', | ||
data: `${config.api}/detections/plane/{spotlightId}/{date}.geojson` | ||
}, | ||
raster: { | ||
type: 'raster', | ||
tiles: [ | ||
`${config.api}/planet/{z}/{x}/{y}?date={date}&site={spotlightId}` | ||
] | ||
} | ||
}, | ||
exclusiveWith: ['agriculture', 'no2', 'no2-diff', 'co2-diff', 'co2', 'gibs-population', 'car-count', 'nightlights-viirs', 'nightlights-hd', 'detection-multi', 'water-chlorophyll', 'water-spm'], | ||
enabled: false, | ||
swatch: indicatorGroupColors.economic, | ||
timeUnit: 'day', | ||
info: 'Planes detected each day in PlanetScope imagery are shown in red.' | ||
}; |
22 changes: 22 additions & 0 deletions
22
app/assets/scripts/components/common/layers/layer-recovery.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import config from '../../../config'; | ||
|
||
import { indicatorGroupColors } from '../../../styles/theme/theme.js'; | ||
|
||
export default { | ||
id: 'recovery', | ||
name: 'Recovery Proxy Map', | ||
type: 'raster', | ||
source: { | ||
type: 'raster', | ||
tiles: [ | ||
`${config.api}/{z}/{x}/{y}@1x?url=s3://covid-eo-data/rpm/rpm-{spotlightId}.cog.tif&resampling_method=bilinear&bidx=1%2C2%2C3%24` | ||
] | ||
}, | ||
paint: { | ||
'raster-opacity': 0.9 | ||
}, | ||
exclusiveWith: ['agriculture', 'co2', 'co2-diff', 'gibs-population', 'car-count', 'nightlights-viirs', 'nightlights-hd', 'detection-ship', 'detection-multi', 'water-chlorophyll', 'water-spm'], | ||
enabled: true, | ||
swatch: indicatorGroupColors.economic, | ||
info: 'Recovery Proxy Maps show areas with the greatest increase in car activity shaded in orange. Darker orange indicates areas of greater change.' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters