有没有办法穿越 Sainsburys 和 BP 车库的地点,到达它们在一起的地方?
我看到了一张照片,我想追踪它的位置。里面有一个 BP 车库和一家 Sainsburys 超市。谷歌地图保存了所有信息,我相信许多其他人也这样做 - 我想要的是能够快速对数据进行连接类型操作。它必须受到邻近度限制,但如果使用城镇名称或邮政编码的前 4 位数字(英国),那就没问题了。
有什么想法吗?
如果这可以推广,那就太好了,例如我可以找到附近有室内游乐中心的所有露营地,或者其他什么?
I've seen a photo I'd like to trace the location of. In it is a BP garage and a Sainsburys supermarket. Google Maps holds all the info and I'm sure many others do - what I'd like is to be able to quickly do a join-type operation on the data. It would ahve to be proximity limited but if this was using, say, the town name or the first 4 digits of the postcode (UK) that would be fine.
Any ideas?
It'd be great if this could be generalised so for example I could find all campsites with nearby indoor play centres, or whatever?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
绝对有办法做到这一点 - 然而,获取数据可能比实际编写解决方案需要更多工作。一旦您获得了“兴趣点”的纬度/经度,您只需要使用毕达哥拉斯定理(快速且肮脏)、大圆距离(较慢且较少肮脏)或行驶距离(缓慢,更现实 - 可能矫枉过正) - 或者是一个粗略的“这个位置 1 公里见方范围内的东西”,我认为比其他地方非常快和肮脏。 :)
There absolutely is a way to do this - however, getting your hands on the data is probably going to be more work than actually coding up a solution. Once you've the lat/longs for the 'points of interest', you'd just need to use one of pythagoras' theorem (quick 'n dirty), great-circle distances (slower and less dirty), or driving distances (slow, more realistic - probably overkill) - or alternatively a crude 'what's within a 1km square for this location', very quick and dirtier than the rest, I reckon. :)