Project

iarea

0.01
No commit activity in last 3 years
No release in over 3 years
A library for DoCoMo Open Iarea.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0

Runtime

 Project Readme

Iarea¶ ↑

<img src=“https://secure.travis-ci.org/darashi/iarea.png?branch=master” alt=“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.