Municipality List Service

Give me your short comment.

This service provides the list of municipality names of the specified prefecture in Japan. This service shares the data with Simple Geocoding Service.

Web Services act to provide single feature, applications are built by some Web Services.

Please read Terms of Use before using the services.

Service URL

The URL for this service is http://www.finds.jp/ws/municipalitylist.php .

Parameters

See also Toy Service General Specs.

jsonp (General)
If this is set by a function name, JSONP style documents are returned. If this is set without a function name, JSON style documents are returned.
json (General)
If this is set, JSON style documents are returned. The value may be set by any value or may not be set.
php (General)
If this is set, PHP Serialization style documents are returned. The value may be set by any value or may not be set.
pcode
JIS X 0401 prefecture code.
lc
If this is set by 'en', this service returns the alphabetical list.

Response document

Root element

The name of the root element is municipalitylist .

Response status

CodeDescription
200Service finished successfully (General)
400Service failed because of wrong parameters (General)
500Service failed inside the server (General)

"result" element

See also Toy Service General Specs.

result element has elements as below.

<municipality> (may appear more than one)
One of municipalities. This has code and name elements.
<mcode>
Has code of the municipality.
<mname>
Has name of the municipality.

Example

The response documents are written as XML document, or JavaScript or PHP programing language. Human being may be able to read not so easily.

Hiroshima Prefecture
Tokyo Metropolitan Prefecture
Errors - pcode is set by 99
Errors - No parameter

Acknowledgement

このサービスの作成にあたっては国土交通省の国土情報の閲覧・提供サービスサイトで公開されている「国土数値情報(行政区域データ)」を使用しました。

なお、このサービスを使用した成果物を配布または公開する際には、上記のことを提示していただければありがたく思います。



© 2011 National Agriculture and Food Research Organization | NARO Official Website

[To TOP]