You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like right now this gem only supports zero-volume values. Are you interested in a PR that accepts non-point values? With postgres you can give a min/max for each dimension with cube(ARRAY[the, min, values], ARRAY[the, max, values]). What do you think would be a good way to represent that in Ruby?
I'm not sure myself if that would be useful for model attributes, but it seems useful as a condition in a query, e.g. WHERE features && cube(ARRAY[1,1,1], ARRAY[3,7,10]).
The text was updated successfully, but these errors were encountered:
Sorry, I forgot to watch my own repo and missed this earlier. I haven't had time to work on this in a while but I'm definitely open to a PR for this functionality!
It looks like right now this gem only supports zero-volume values. Are you interested in a PR that accepts non-point values? With postgres you can give a min/max for each dimension with
cube(ARRAY[the, min, values], ARRAY[the, max, values])
. What do you think would be a good way to represent that in Ruby?I'm not sure myself if that would be useful for model attributes, but it seems useful as a condition in a query, e.g.
WHERE features && cube(ARRAY[1,1,1], ARRAY[3,7,10])
.The text was updated successfully, but these errors were encountered: