onaci / leaflet-velocity

Visualise velocity data on a leaflet layer
https://onaci.github.io/leaflet-velocity/
Other
594 stars 213 forks source link

Can we use this to also create isobars? #92

Open nullart2 opened 2 years ago

nullart2 commented 2 years ago

The same with what windy have? Can you point me to the right direction how this can be done?

2018-02-01-15_27_25-windy_-wind-map-amp-weather-forecast-also-known-as-windyty

brentfraser commented 2 years ago

leaflet-velocity does not have this capability (and as far as I know there are no plans to add it). Typically isobars would be implemented on the server-side using something like mapserver's contour capability (https://www.mapserver.org/input/vector/contour.html). It would then be added as a separate layer in the leaflet application.

As an alternate I see there is a plugin for leaflet https://github.com/equinor/leaflet.tilelayer.gloperations/wiki
It may do what you want.

nullart2 commented 2 years ago

Thank you