Closed sebkur closed 2 years ago
Thank you, @sebkur, for the requested change!
It uses a different property order for serialization, not sure if you care about that.
Currently, we don't perform any normalization on the GeoJSON data (even the missing newline at the very end won't trigger the formatting checker on npm test
).
btw, there's no need to force-push. I would have just squashed your commits when merging anyway :innocent:
Merged and online: https://click-that-hood.com/?bad-belzig :partying_face: Thank you again, @sebkur!
Tested this locally and works as expected now.
Used https://github.com/bjornharrtell/jts2geojson for reading this into JTS, then used
Geometry#normalize()
to fix the orientation and wrote back to GeoJSON using jts2geojson. It uses a different property order for serialization, not sure if you care about that.