Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A library for DoCoMo Open Iarea.
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
db
lib
spec
tools
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
MIT-LICENSE
README.rdoc
Rakefile
iarea.gemspec

README.rdoc

Iarea

Build Status

A library for DoCoMo Open Iarea.

Installation

% gem install iarea

or add

gem 'iarea'

on your Gemfile.

Example of use

require 'iarea'

area = Iarea::Area.find_by_lat_lng(43.0568397222222,141.3478975)
area.name # => "すすきの"
area.areacode # => "00208"
area.zone.name # => "北海道"
area.prefecture.name # => "北海道"
area.neighbors.map(&:name) #=> ["大通公園周辺", "大通東", "山鼻/藻岩周辺", "中島公園周辺"]

Resources

References

www.nttdocomo.co.jp/service/imode/make/content/iarea/domestic/index.html

db/iareadata contains the data extracted from www.nttdocomo.co.jp/binary/archive/service/imode/make/content/iarea/domestic/iareadata.lzh and www.nttdocomo.co.jp/service/imode/make/content/iarea/domestic/map/js/iarea_def.js.

Something went wrong with that request. Please try again.