digital-go-jp / abr-geocoder

Address Base Registry Geocoder by digital.go.jp
https://lp.geocoder.address-br.digital.go.jp/
MIT License
64 stars 24 forks source link
address-base-registry geocoder

abr-geocoder (Digital Agency Address Base Registry Geocoder)

🚨 Upgrade to version 2.1 from v2.0

Description

A geocoder that matches input address strings with the Address Base Registry maintained by the Digital Agency, Government of Japan, outputting normalized address strings, town IDs, latitude and longitude, etc. It analyzes Japanese domestic address notation, absorbs variations, and outputs normalized results according to the hierarchy.

Image

Features

Use Cases

Limitations

Installation

abrg download command

Downloads the necessary dataset for geocoding from the Address Base Registry and builds the database using SQLite.

abrg download [options]

abrg update-check command

Checks for data updates. If there is local data, it checks for updates in the municipalities contained in the database. If new data is available, it can be downloaded.

abrg update-check [options]

abrg command

Geocodes the input address string with the database and outputs normalized address strings, town IDs, latitude, longitude, etc.

$ abrg <inputFile> [<outputFile>] [options]

abrg serve command

Starts the geocoder as a REST API server.

abrg serve [options]

Example:

curl http://localhost:3000/geocode?address=東京都千代田区紀尾井町1-3