Approaches to storing geospatial data in Redis

前端 未结 2 2106
一整个雨季
一整个雨季 2021-02-14 23:25

I\'ve got a MySQL table consisting of roughly 1 million latitudes and longitudes with a primary key value for each row.

I\'d like to migrate this table into Redis either

2条回答
  •  天命终不由人
    2021-02-15 00:17

    Yes, it has already been done (using geohashing ...)

    You can check for instance the data structure behind the Geodis package (from Dvir Volk and friends):

    https://github.com/doat/geodis

    There were some discussions about it on the Redis mailing-list:

    https://groups.google.com/d/topic/redis-db/Mw0lRzutnkE/discussion https://groups.google.com/d/topic/redis-db/6M-aAPA-iXc/discussion https://groups.google.com/d/topic/redis-db/Bps95jeRgr8/discussion

提交回复
热议问题