mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
feat: add weather map and wind tools
Add get_weather_map, which returns the latest NOAA radar, satellite or lightning map over an area as an image, choosing a window the image route accepts and reporting areas outside the product's coverage, and get_wind, which samples GFS or IFS wind at a location with the wind layer's own grid sampling.
This commit is contained in:
1 parent
c43c94ba5f
commit
a3aa058569
10 files changed
+385
-14
No files matched your search
@@ -19,6 +19,8 @@ import { createRadioSource } from '../layers/radio/source.js';
|
||||
import { createSatelliteSource } from '../layers/satellites/source.js';
|
||||
import { createTrafficSource } from '../layers/traffic/source.js';
|
||||
import { createTransitSource } from '../layers/transit/source.js';
|
||||
import { createWeatherSource } from '../layers/weather/source.js';
|
||||
import { createWindSource } from '../layers/wind/source.js';
|
||||
import { createApplicationRequestServices } from '../services/requests.js';
|
||||
import {
|
||||
createAdsbLolSource,
|
||||
@@ -59,6 +61,8 @@ export function createToolServices({ fetchImpl, appUrl }) {
|
||||
transit: createTransitSource({ fetchImpl }),
|
||||
traffic: createTrafficSource({ fetchImpl, tileFetchImpl: fetchImpl }),
|
||||
weather: requests.weather,
|
||||
weatherMaps: createWeatherSource({ fetchImpl }),
|
||||
wind: createWindSource({ fetchImpl }),
|
||||
regional: requests.regional,
|
||||
terrain: requests.terrain,
|
||||
summary: requests.summary,
|
||||
|
||||
Reference in new issue
Block a user