Releases: osbytes/is-on-water
Releases · osbytes/is-on-water
Release list
v1.4.1
v1.4.0
Minor Changes
- f9b8655: Add
GET /api/nearestto return nearby water bodies as a distance-then-size ranked array. Callers can limit results withcount, filter by featuretype(e.g.lakesoroceans,lakes), and bound the search withmaxKm. - 5b1f0c3: Make coverage opt-in through
{feature}:{precision}layers selected withWATER_LAYERS, and query the FlatGeobuf spatial index directly instead of rebuilding an RBush at startup (~1.05 GB resident to ~430 MB). Water responses now report the matching layer, andGET /api/layersreports which layers an instance has enabled. Adds opt-in globalriversandpondslayers built from Geofabrik OSM continent extracts (river/canal area polygons and small inland water ≤ 2 km²), published asdata-v1release assets. - 1fbe1e7: Replace geo-maps with OSM oceans/seas plus HydroLAKES inland lakes (≥2 km²).
v1.3.0
Minor Changes
- 492a891: Rename the API to
/api/water, wrap batch payloads, and return RFC 9457 problem details.
v1.2.0
Minor Changes
- 712ac1b: Redesign the landing page for osbytes branding, serve waterbodies from FlatGeobuf, and clarify request log field names.
Water layer data v1
Global FlatGeobuf water-layer artifacts for is-on-water.
Assets
rivers-medium.fgb.gz— OSM riverbank / river / canal area geometries (all Geofabrik continents), ~138 MB gzip, ~597k featuresponds-medium.fgb.gz— OSM ponds/small lakes/reservoirs 0.01–2 km² (global), ~820 MB gzip, ~10.1M features
Referenced from data/layers.json with delivery: download. Oceans and lakes medium tiers remain bundled in the repository.
v1.1.1
Patch Changes
- 761cc4d: Upgrade
@fastify/staticto 9.3.0 to fix Dependabot advisories for path traversal and encoded path separator bypass.
v1.1.0
Minor Changes
-
73e04cf: Migrate to the Fastify template base with opt-in Redis rate limiting, zod validation, Swagger docs, and CI/Changesets.
Also switch to a single waterbodies GeoJSON lookup, fix coordinate bounds, add MIT license plus OSM attribution, and improve the demo map (coordinate form, live API link, clearer copy).