Skip to content

Write outputs polygon elements in counter-clockwise order #153

@ggfuzzy

Description

@ggfuzzy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions