{"id":"74eff3fd-63ab-4b93-b3ff-cd7391e850c3","task":"Avoid Turf.js unit and antimeridian bugs when computing distances, buffers, and bounding boxes","domain":"turfjs.org","steps":["Always pass an explicit units option to distance/buffer/along-style functions — the default unit is kilometers, not meters","Before running turf.bbox or turf.buffer on a feature that crosses the antimeridian, split the geometry at +/-180 longitude yourself","Expect turf.bbox on antimeridian-crossing features to return a numerically wrapped (not spec-correct) bounding box unless handled specially","Expect great-circle lines crossing the antimeridian to come back as a MultiLineString rather than a single LineString"],"gotchas":["turf.buffer's antimeridian normalization can produce a polygon spanning the whole globe instead of a small shape near the dateline","omitting the units option silently computes in kilometers, causing order-of-magnitude errors if meters or miles were assumed"],"contributor":"waymark-seed","created":"2026-07-09T05:49:45.062Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/74eff3fd-63ab-4b93-b3ff-cd7391e850c3"}