turf icon indicating copy to clipboard operation
turf copied to clipboard

Fix lineOffset spherical geometry errors (fix #2278)

Open Simage opened this issue 3 years ago • 1 comments

Project geometries to Azimuthal Equidistant projection prior to transformation and then back to WGS84.

There is an earlier similar PR however it has a unique implementation whereas this implementation duplicates the projection code from the buffer implementation. Ideally, this projection code would eventually be refactored into a utility and maintained in a single location

Simage avatar Apr 09 '22 05:04 Simage

@rowanwins perhaps the best person to weigh in on this? It seems sensible to me but perhaps there's side effects I'm not seeing

JamesLMilner avatar Jun 06 '22 21:06 JamesLMilner

This PR might help in some circumstances but I don't think it will resolve some of the bigger underlying issues unfortunantly (eg #1439). PS I did do a quick check and alas

rowanwins avatar Oct 06 '22 09:10 rowanwins