Wicket icon indicating copy to clipboard operation
Wicket copied to clipboard

Write outputs polygon elements in counter-clockwise order

Open ggfuzzy opened this issue 3 years ago • 2 comments

Attempted to use output of wkt write() to feed Oracle OSD, but kept getting Oracle error stating Error: ORA-20002: WKT provided is invalid: 13367 [Element <1>] [Ring <1>]. After troubleshooting, realized that Oracle OSD only functions properly if wkt elements are in clockwise order. I'm wondering if the write() method couldn't be modified to allow either clockwise or counterclockwise output. I looked at the Wkt.Wkt.prototype.write() function and should be possible and not too difficult.

ggfuzzy avatar Mar 31 '21 17:03 ggfuzzy

@ggfuzzy, I'm definitely open to a Pull Request for this issue!

arthur-e avatar Mar 31 '21 17:03 arthur-e

Thanks Arthur!

On Wed, Mar 31, 2021 at 1:57 PM K. Arthur Endsley @.***> wrote:

@ggfuzzy https://github.com/ggfuzzy, I'm definitely open to a Pull Request for this issue!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/arthur-e/Wicket/issues/153#issuecomment-811291691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKB5WQA26CZYDBOIHXNWUJLTGNPAZANCNFSM42FEWZ4Q .

ggfuzzy avatar Apr 03 '21 20:04 ggfuzzy