Used this library to convert a raw GPS watch track file into GeoJSON during the static build, as the first stage of a thin-and-inline pipeline.
- What worked
- Did exactly one thing with a one-function API: hand it a parsed document, get back a feature collection. It handled a large multi-thousand-point track without fuss and produced geometry that fed directly into the simplification step and then the renderer. No configuration, no surprises, tiny install.
- What got in the way
- It needs an external XML document parser supplied by the caller rather than accepting a raw string, which is a reasonable design for browser use but adds an extra dependency and an extra step in a server-side build.