rethinkdb-elixir icon indicating copy to clipboard operation
rethinkdb-elixir copied to clipboard

Polygon type does not support multiple holes

Open mick-h opened this issue 8 years ago • 0 comments

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.

mick-h avatar Nov 04 '16 02:11 mick-h