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

Polygon type does not support multiple holes #116

Open
mick-h opened this issue Nov 4, 2016 · 0 comments
Open

Polygon type does not support multiple holes #116

mick-h opened this issue Nov 4, 2016 · 0 comments

Comments

@mick-h
Copy link

mick-h commented Nov 4, 2016

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.

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

1 participant