简单的纬度/经度 +整数数据库?
是否有一个快速、持久的数据库来存储纬度、经度和整数值以进行快速地理空间查找?
我的想法是,我有很多不同事物的 ID,并且我想通过纬度/经度方块搜索给定位置的所有 ID。
我的第一个想法是创造性地使用像 membase 或 redis 这样的键值存储。但是,我无法找出一种基于纬度和经度等属性进行搜索的方法,除非创建设置大小的纬度/经度块并将所有 id 放置为值(这效果不太好)。
Is there a fast, persistent database for storing a latitude, longitude, and integer value for quick geo-spacial lookups?
The idea is that I have lots of ID's of different things and I want to search by lat/lon squares for all the ID's in a given location.
My first thought was the creative use of key-value store like membase or redis. However, I can't figure out a method to search based on properties like latitude and longitude short of creating set sized lat/lon blocks and placing all ids as the value (which doesn't work very well).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Spatiallite、geocouch、带空间扩展的 mongodb 或 postgis 怎么样?不要使用 MySQL - 它不具备当前实现的大部分空间功能
How about Spatiallite, geocouch, mongodb with the spatial extension, or postgis? Don't use MySQL - it doesn't have most of the spatial functions currently implemented
我会选择 MongoDB。它简单并且对地理空间索引和邻域查询有很好的支持。
http://www.mongodb.org/display/DOCS/Geospatial+Indexing #GeospatialIndexing-查询
I would go for MongoDB. Its simple and has good support for Geospatial indexing and neighborhood queries.
http://www.mongodb.org/display/DOCS/Geospatial+Indexing#GeospatialIndexing-Querying