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
Hi,
I would like to add points on the map using geo add and then searching all points in a rectangle which isn't axis-aligned.
There is any option to do it?
The text was updated successfully, but these errors were encountered:
sapirshamun
changed the title
How can I do geo search by non-axis box?
How can I geo search by non-axis box?
Jun 13, 2024
Thanks!
At the end I have an envelope which is axis-aligned, it is defined by x1,x2,y1,y2.
I understand that I can use GEOSEARCH with the BYBOX option(which seems to be more efficient), but it seems to require converting the envelope's width and height from degrees to kilometers.
Can I directly provide the minimum and maximum latitude and longitude values to GEOSEARCH BYBOX instead of having to calculate distances in kilometers? I believe that Redis internally needs the latitude/longitude definition of the rectangle to perform the search, so I'm not sure why this functionality isn't exposed in the command.
Hi,
I would like to add points on the map using geo add and then searching all points in a rectangle which isn't axis-aligned.
There is any option to do it?
The text was updated successfully, but these errors were encountered: