arjunmehta / node-georedis

Super fast geo queries.
MIT License
192 stars 33 forks source link

Not Working with ioredis #10

Closed koolkarni closed 7 years ago

koolkarni commented 8 years ago

Not providing proper long and lat :

From Location() api => null { latitude: 43.64728555083275, longitude: -79.40306156873703 } nearby locations: { '4': { key: [ '4' ], latitude: null, longitude: null }, null: { key: null, latitude: null, longitude: null }, '': { key: [], latitude: null, longitude: null } } Got Data from Paged Results []

Providing same results for all the nearBy locations

nearby locations: [ { latitude: -89.99999865889549, longitude: -179.99999731779099, key: 'null' } ]

tte commented 8 years ago

Same multiple issues - ioredis not yet compatible w/ this lib.

UPD: @koolkarni Looks like ioredis support native geo module since redis 3.2 released. Gonna check and migrate.

arjunmehta commented 7 years ago

ioredis support in v3.1.0