thinky icon indicating copy to clipboard operation
thinky copied to clipboard

support geojson polygons

Open yocontra opened this issue 8 years ago • 3 comments

These are valid RethinkDB types. It seems like the documentation hints that it is something that should be done eventually, but there is no ticket open for it.

screen shot 2016-04-25 at 2 37 17 pm

yocontra avatar Apr 25 '16 18:04 yocontra

Yep, you can't use a polygon in a schema. You can use it to filter things though.

neumino avatar Apr 26 '16 03:04 neumino

https://rethinkdb.com/api/javascript/geojson/ shows an example of converting GeoJSON to a ReQL Geometry object. geojson types and geojson validation are supported first class in the database, Point objects are just one of those geojson types.

yocontra avatar Apr 27 '16 18:04 yocontra

+1 using type.any() for now

deoqc avatar Jul 08 '16 17:07 deoqc