在自己的服务器上处理地理位置 [英] Address geolocation on own server

查看:136
本文介绍了在自己的服务器上处理地理位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


免责声明对于我来说, API NO OPTION ,因为 strong>
我想要处理的地方。我知道有
的服务很多,但我想拥有自己的解决方案

Disclaimer: Any API is NO OPTION for me because of the vast amounts of places I want to process. I know there are plenty of services out there but I'd like to have my own solution

有一些平台,如 OpenStreetMap ,也许其他人在将地图的世界带入开源社区方面做得很好。

There are platforms like OpenStreetMap and maybe others who are doing very well in bringing the world of maps into the open source community.

需要

我有一个位于世界任何地方的地址,我想计算纬度和经度,海拔将是好的,但并不重要。

I have an address located anywhere in the world and I want to compute the latitude and longitude, elevation would be nice but doesn't really matter.

我已经看到OpenStreetMap提供的大量解决方案来生成自定义地图,生成Google-like网络地图体验等的地图贴图。

I've seen plenty of solutions offered around OpenStreetMap to generate custom maps, generate map tiles for a 'Google-Like' web-map experience etc.

我无法想象数据如何能够从中创建详细的地图,但如果我能够生成地图,甚至将指针指向特定的POI或地址或坐标 - 它必须有可能做相反的事情。

I can't imagine how data looks like to be able to create a detailed map from it but if I am able to generate maps and even put pointers at specific POI or addresses or coordinates - it must be possible to do the thing reverse as well.

地图gurus在那里指向正确的方向:)任何任何工具运行linux,任何免费的数据库和任何代码或算法的代码或算法来计算我的地址中的11.12345,44.12425样式的指针将是有帮助的 - 只要它不依赖于有库存或网络服务的公司。

Map gurus out there point me to the right directions :) Any any tools running on linux, any free available database and any piece of code or algorithm to compute a 11.12345, 44.12425-style point out of my address would be helpful - as long as it does not rely on a company at stock or a web service.

到目前为止Google已经做得很好,但是最近他们得到了笨笨的东西。)

So far Google did this job quite well, but they're getting d*** greedy lately :)

如果这也有助于我了解如何呈现漂亮的地图我绝对不会说不。

If this also helps me to understand how to render a pretty map I'd definitly not say no

我可以做什么

我非常擅长地址规范化和匹配,所以这不是问题。但是我需要一些提示和数据来源开始挖掘。

I am very good at address normalization and matching, so that's not a problem. But I need some hints and data sources where to start digging.

EDIT1:

当然,可能的分辨率取决于可用的数据质量。我希望能够至少在世界各地的街道准确。一些地区在谷歌上没有街道,所以当然这些灌木丛对于100米的准确度无关紧要

Of course, possible resolution is depending on available data quality. I'd like to be able to at least be accurate on street level worldwide. some regions dont have even streets on google so of course those bushlands don't matter for 100m accuracy

推荐答案

OpenStreetMap使用 Nominatim 用于地址查找和反向地理编码。您可以在服务器上安装本地实例导入OSM数据库,然后运行您自己的查询。

OpenStreetMap uses Nominatim for both address lookup and reverse geocoding. You can install a local instance on your server, import the OSM database and then run your own queries on it.

这篇关于在自己的服务器上处理地理位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆