What's the state of the art for doing processing in in the browser?

e.g. I have a ~60km GPX file, ~100 points, and I wanna know the nearest distance of each point to the line.
I know exactly how to do this in postgis, or even by hand. I know basic JS. How can I do this in JS on a webpage? (pref. non nodejs)

Follow

@amapanda checkout turfjs. It's not perfect, but contains most of what uou need. It speaks geojson though, so you'll have yo convert your gpx

Sign in to participate in the conversation
En OSM Town | Mapstodon for OpenStreetMap

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!