Search by

splitline / weather

jjgg

Route waypoint sampling, wind-vector math, and Open-Meteo weather enrichment for endurance activities.

v0.1.0 2026-11-25 07:57 UTC

This package is auto-updated.

Last update: 2026-11-25 08:45:02 UTC


README

Route waypoint sampling, wind-vector math, and Open-Meteo weather enrichment returning immutable Splitline\Core\Data\ActivityWeatherData DTOs.

Installation

composer require splitline/weather

Usage

use Splitline\Weather\WindVectorMath;

$math = new WindVectorMath();
$bearing = $math->forwardBearing(-41.2865, 174.7762, -41.2924, 174.7787);

Contributing

This repository is a read-only subtree split. Please submit all issues and pull requests to splitline-php/ingest.

License

MIT — see LICENSE.