Skip to content

Polygon type does not support multiple holes #116

@mick-h

Description

@mick-h

Polygons in Rethinkdb support having multiple holes, but the driver will error when parsing them with a CaseClauseError. This appears to be due to to the RethinkDB.Pseudotype.Geometry.Polygon struct assuming there will only be one hole or no hole. The struct probably can stay the way it is but inner needs to be a list of lists of coordinates, rather than just a list of coordinates. The parser would need to be updated, and I'm not sure what else will break.

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