Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write outputs polygon elements in counter-clockwise order #153

Open
ggfuzzy opened this issue Mar 31, 2021 · 2 comments
Open

Write outputs polygon elements in counter-clockwise order #153

ggfuzzy opened this issue Mar 31, 2021 · 2 comments

Comments

@ggfuzzy
Copy link

ggfuzzy commented Mar 31, 2021

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.

@arthur-e
Copy link
Owner

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

@ggfuzzy
Copy link
Author

ggfuzzy commented Apr 3, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants