【文件属性】:
文件名称:osmn:OpenStreetMap Nominatim API 的 Ruby 包装器
文件大小:6KB
文件格式:ZIP
更新时间:2021-07-13 02:48:48
Ruby
OSMN
OpenStreetMap Nominatim API 的 Ruby 包装器。
Nominatim 是一种通过名称和地址搜索 osm 数据并生成 osm 点的合成地址(反向地理编码)的工具。
服务可以在找到 API 详细信息可以在找到
安装
$ gem install osmn
用法
简单的方法:
# search for a place
OSMN :: search ( '135 pilkington avenue, birmingham' )
# convert latitude and longitude into a place
OSMN :: reverse_geocode ( 52.5487429714954 , - 1.81602098644987 )
完全控制方式:
搜索
# search for address
# required params:
【文件预览】:
osmn-master
----Rakefile(115B)
----test()
--------test_osmn.rb(4KB)
----LICENSE(0B)
----.gitignore(0B)
----lib()
--------osmn.rb(430B)
--------osmn()
----README.md(3KB)
----osmn.gemspec(857B)