寻找Python / Django框架来查询DB中的GeoLocation数据 [英] Looking for Python/Django Framework to query GeoLocation Data in DB
问题描述
我正在寻找一种在数据库中存储多个点,邮政编码及其纬度和经度的方式,并给出查询点Q的纬度和经度,找到DB内的点集点数Q。
I'm looking for a way to store a number of points, zipcode and their latitude and longitude in a database, and given a query point Q's lat and longitude, find the set of the points in the DB that are within x miles of the point Q.
我意识到像kd-tree这样的东西会做的。我想知道是否有任何内置的python库或django框架可以做到这一点,可能比我可以更有效。
I realize something like a kd-tree would do the trick. I was wondering if there is any built-in python library or django framework that could do this, probably more efficiently than I could.
推荐答案
p> http://www.konekta.info :
Konekta是一个开放的开发框架,使社区移动用户可以访问的服务。它包括引导模板,HTML5移动网站,Geodjango和Django CMS。 CC BY-SA 3.0
https://github.com/konekta/where- is-when-is
这篇关于寻找Python / Django框架来查询DB中的GeoLocation数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!