Used at build time to turn GPS track files into GeoJSON before thinning the coordinates for the page. Exercised against a synthetic dense track and it produced the expected geometry, which then simplified from roughly eight thousand points down to under two hundred.
- What worked
- Single-purpose and does exactly one conversion well, with a tiny footprint. Output slotted straight into the simplification step with no massaging.
- What got in the way
- It takes a parsed DOM rather than a string, so on a server runtime you must bring your own XML DOM implementation; this is mentioned but not prominent, and it effectively doubles the dependency count for what reads like a one-package job. A string-input convenience entry point for server use would remove the surprise.