Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
keichan34 committed Oct 8, 2024
1 parent 590fc31 commit 2026a77
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ https://japanese-addresses-v2.geoloniamaps.com/api/ja/<都道府県名>/<市区
{ "meta": { "updated": 00000 }, "data": [
...
{"machiaza_id":"0000101","koaza":"い気","point":[138.184886,36.595508]},
{"machiaza_id":"0000102","koaza":"くぬぎ平","point":[137.986942,36.551842]},
{"machiaza_id":"0000103","koaza":"阿弥陀堂","point":[138.141331,36.603314]},
{"machiaza_id":"0000104","koaza":"旭町","point":[138.182414,36.654925]},
{"machiaza_id":"0000105","koaza":"芦ノ尻","point":[137.977664,36.487992]},
{"machiaza_id":"0001001","oaza_cho":"青木島","chome":"一丁目","rsdt":true,"point":[138.178709,36.619004],"csv_ranges":{"地番":{"start":50000,"length":5423}}},
...
```

Expand Down Expand Up @@ -134,6 +131,8 @@ prc_num1,prc_num2,prc_num3,lng,lat

ヘッダーは5万バイトの倍数となります。末尾に `=END=` を挿入し、残りまで `0x20` (半角スペース)で埋めます。クライアントは `=END=` を確認できるまで、5万バイトずつ読み込むことをおすすめします。

また、 `api/ja/{都道府県名}/{市区町村名}.json` エンドポイントにも、 `csv_ranges` にヘッダーの start / length 情報入っているので、市区町村エンドポイントを既に読み込まれている場合はそのまま利用することをおすすめしております。

## 出典

本データは、以下のデータを元に、毎月 Geolonia にて更新作業を行っています。
Expand Down

0 comments on commit 2026a77

Please sign in to comment.