Does RBUSH supports to use Latitude and Longitude?
raj1127 opened this issue · 5 comments
raj1127 commented
Can we use starting latitude/longitude and ending latitude/longitude of the rectangle instead of minx, miny, maxx and maxy to insert and search rbush tree?
mourner commented
Yes.
raj1127 commented
Thanks for your reply. Just one question what is then
minX: (is it LEFT?)
minY: (is it TOP?)
maxX (is it RIGHT?)
maxY (is it BOTTOM?)
I will appreciate your reply.
mourner commented
In case of geographic locations, latitude goes from south to north, so minY is bottom and maxY is top. minX and maxX (longitude) are west and east respectively.
raj1127 commented
Thanks Vladimir. I appreciate it.
elie-chaaban commented
hi,
how can i use it on react native? Let's say list of coordinates, how can i calculate minX and Y and MaxX and Y