geofirex icon indicating copy to clipboard operation
geofirex copied to clipboard

bug: geo query returns every item twice

Open eikooc opened this issue 7 years ago • 7 comments

Hello. When I query a collection and have a radius over ~1500 km the query returns all the items twice so a collection of 9 items would become 18. it doesn't happen when I query with a radius below ~1500 km

const center = this.geo.point(location.lat, location.lon)
const field = 'position'
const items = this.geo.collection('items')
const query = items.within(center, radius, field)

eikooc avatar Aug 23 '18 13:08 eikooc

Hmm, this might be an edge case we need to investigate with certain geohash boundries. Can you you give me your centerpoint lat/lng so I can try to reproduce it.

codediodeio avatar Aug 24 '18 18:08 codediodeio

lat: 56.12 and lon: 12.6. The entries were all within a 500 km radius

eikooc avatar Sep 11 '18 07:09 eikooc

any update on this? I'm facing the same issue

hybridsimone avatar May 07 '19 14:05 hybridsimone

I'm running into this problem still. Any chances of a fix, possible along with support for collection group queries?

jaipresto avatar Jul 06 '19 21:07 jaipresto

Hello, I'm facing the same issue, any updates?

nagyszem22 avatar Sep 02 '19 10:09 nagyszem22

@codediodeio do you have any updates on this?

TdoubleG avatar Apr 14 '20 19:04 TdoubleG

Hello, i know this is old but im also facing this issue...

ikanimai avatar Sep 01 '21 05:09 ikanimai