Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Georadius problem with geolocation in some parts of world #3213

Closed
RishaBarCZ opened this issue Apr 23, 2024 · 0 comments
Closed

Georadius problem with geolocation in some parts of world #3213

RishaBarCZ opened this issue Apr 23, 2024 · 0 comments

Comments

@RishaBarCZ
Copy link

Version: 5.0.3

Platform: Python 3.9.13 Ubuntu 2024, Windows 11

Description: I have a problem with loading georadius data with geolocation from China, Japan and others countries. For example Europe and America work perfectly.

example:
lat = 22
lon = 106
radius = 3
mob_keys = r.georadius(name='mob_locations', longitude=lon, latitude=lat, radius=radius, unit='km')
print(mob_keys)
result:
[]

another example:
lat = 40
lon = 60
radius = 3
mob_keys = r.georadius(name='mob_locations', longitude=lon, latitude=lat, radius=radius, unit='km')
print(mob_keys)
result:
[b'mob:a8f76848-ecfa-420d-a7d9-8de9d6a56968', b'mob:7562bcea-a66c-469d-b652-59f52e84b40a', b'mob:3c2e94d6-57cc-4463-84a0-0ff6c03bde5d', b'mob:e33bd41c-6ac6-44df-ad4b-f3789f18a2ac', b'mob:43b8130e-1517-47f6-9c71-b404c31d14e3', b'mob:4c63faa7-c69e-406e-80bd-e042294eb17e', b'mob:fcb7d38e-36bb-4c2d-8374-e9d7bb4bc8d0', b'mob:03d1f8db-00bc-445f-999d-4f563bac8932', b'mob:3fa25ede-09c0-4e69-9a2a-834b7de54fb7', b'mob:9807964e-d026-4048-bb8a-d29a3ba060a7']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant