We render lines on the map in Gaia GPS, like when you record or import a track. It’s a tricky problem to do this perfectly, where the tracks always look smooth and precise.
Recently, I wanted to generate tests cases that would clarify bugs in our line rendering, to make it easy to isolate and remove bugs.
This Python script generate GeoJson spirals and sawtooth waves, which I used to expose bugs in our rendering.
Spiral
2 Sawtooth shapes