This commit is contained in:
2022-12-24 22:10:40 +08:00
parent 84fc1030a7
commit 2a00928da5
4898 changed files with 429855 additions and 77 deletions
+99
View File
@@ -0,0 +1,99 @@
# Changes in Respect\Validation 1.0
All notable changes of the Respect\Validation releases are documented in this file.
## 1.1.0 - 2016-04-24
### Added
- Create "Fibonacci" rule (#637)
- Create "IdentityCard" rule (#632)
- Create "Image" rule (#621)
- Create "LanguageCode" rule (#597)
- Create "Pesel" rule (#616)
- Create "PhpLabel" rule (#652)
### Changed
- Allow the define brands for credit card validation (#661)
- Define names for the child of Not rule (#641)
- Ensure namespace separator on appended prefixes (#666)
- Length gets length of integers (#643)
- Set template for the only rule in the chain (#663)
- Throw an exception when age is not an integer (#667)
- Use "{less/greater} than or equal to" phrasing (#604)
## 1.0.0 - 2015-10-24
### Added
- Add "alpha-3" and "numeric" formats for "CountryCode" rule (#530)
- Add support for PHP 7 (#426)
- Create "BoolVal" rule (#583)
- Create "Bsn" rule (#450)
- Create "CallableType" rule (#397)
- Create "Countable" rule (#566)
- Create "CurrencyCode" rule (#567)
- Create "Extension" rule (#360)
- Create "Factor" rule (#405)
- Create "Finite" rule (#397)
- Create "FloatType" rule (#565)
- Create "Identical" rule (#442)
- Create "Imei" rule (#590)
- Create "Infinite" rule (#397)
- Create "IntType" rule (#451)
- Create "Iterable" rule (#570)
- Create "KeyNested" rule (#429)
- Create "KeySet" rule (#374)
- Create "KeyValue" rule (#441)
- Create "Mimetype" rule (#361)
- Create "NotBlank" rule (#443)
- Create "NotOptional" rule (#448)
- Create "Optional" rule (#423)
- Create "ResourceType" rule (#397)
- Create "ScalarVal" rule (#397)
- Create "Size" rule (#359)
- Create "SubdivisionCode" rule for 252 countries (#411)
- Create "VideoUrl" rule (#410)
- Create method `getMessages()` for nested exceptions (#406)
### Changed
- Add country code to the message of "PostalCode" exception rule (#413)
- Make "ArrayVal" validate only if the input can be used as an array (#574)
- Make "Between" rule inclusive (#445)
- Make "Max" rule inclusive (#445)
- Make "Min" rule inclusive (#445)
- New generic top-level domains (#368)
- On `AbstractRelated` (`Attribute`, `Call` and `Key`) define names for child rules (#365)
- On exceptions, convert `Array` to string (#387)
- On exceptions, convert `Exception` to string (#399)
- On exceptions, convert `Traversable` to string (#399)
- On exceptions, convert resources to string (#399)
- On exceptions, do not display parent message then rule has only one child (#407)
- On exceptions, improve `Object` conversion to string (#399)
- On exceptions, improve conversion of all values by using JSON (#399)
- On exceptions, nested messages are displayed in a Markdown list (#588)
- Rename exception class "AbstractGroupedException" to "GroupedValidationException" (#591)
- Rename exception class "AbstractNestedException" to "NestedValidationException" (#591)
- Rename rule "Arr" to "ArrayVal"
- Rename rule "Bool" to "BoolType" (#426)
- Rename rule "False" to "FalseVal" (#426)
- Rename rule "Float" to "FloatVal" (#426)
- Rename rule "Int" to "IntVal" (#426)
- Rename rule "NullValue" to "NullType"
- Rename rule "Object" to "ObjectType"
- Rename rule "String" to "StringType" (#426)
- Rename rule "True" to "TrueVal" (#426)
- Use `filter_var()` on "TrueVal" and "FalseVal" rules (#409)
### Removed
- Drop support for PHP 5.3 (#466)
- Remove `addOr()` shortcut (#444)
- Remove `NestedValidationExceptionInterface` interface (#591)
- Remove `not()` shortcut (#444)
- Remove `ValidationExceptionInterface` interface (#591)
- Remove identical checking from "Equals" rule (#442)
- Removed Deprecated Rules (#277)
- Validation rules do not accept an empty string by default (#422)
+256
View File
@@ -0,0 +1,256 @@
# Contributing
Contributions to Respect\Validation are always welcome. You make our lives
easier by sending us your contributions through [pull requests][].
Pull requests for bug fixes must be based on the oldest stable version's branch
whereas pull requests for new features must be based on the `master` branch.
Due to time constraints, we are not always able to respond as quickly as we
would like. Please do not take delays personal and feel free to remind us here,
on IRC, or on Gitter if you feel that we forgot to respond.
Please see the [project documentation][] before proceeding. You should also know
about [PHP-FIG][]'s standards and basic unit testing, but we're sure you can
learn that just by looking at other rules. Pick the simple ones like `ArrayType`
to begin.
Before writing anything, feature or bug fix:
- Check if there is already an issue related to it (opened or closed) and if
someone is already working on that;
- If there is not, [open an issue][] and notify everybody that you're going
to work on that;
- If there is, create a comment to notify everybody that you're going to
work on that.
- Make sure that what you need is not done yet
## Adding a new validator
A common validator (rule) on Respect\Validation is composed of three classes:
* `library/Rules/YourRuleName.php`: the rule itself
* `library/Exceptions/YourRuleNameException.php`: the exception thrown by the rule
* `tests/unit/Rules/YourRuleNameTest.php`: tests for the rule
The classes are pretty straightforward. In the sample below, we're going to
create a validator that validates if a string is equal to "Hello World".
- Classes should be `final` unless they are used in a different scope;
- Properties should be `private` unless they are used in a different scope;
- Classes should use strict typing;
- Some docblocks are required.
### Creating the rule
The rule itself needs to implement the `Validatable` interface but, it is
convenient to just extend the `AbstractRule` class.
Doing that, you'll only need to declare one method: `validate($input)`.
This method must return `true` or `false`.
If your validator class is `HelloWorld`, it will be available as `v::helloWorld()`
and will natively have support for chaining and everything else.
```php
<?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
declare(strict_types=1);
namespace Respect\Validation\Rules;
/**
* Explain in one sentence what this rule does.
*
* @author Your Name <youremail@yourdomain.tld>
*/
final class HelloWorld extends AbstractRule
{
/**
* {@inheritDoc}
*/
public function validate($input): bool
{
return $input === 'Hello World';
}
}
```
### Creating the rule exception
Just that and we're done with the rule code. The Exception requires you to
declare messages used by `assert()` and `check()`. Messages are declared in
affirmative and negative moods, so if anyone calls `v::not(v::helloWorld())` the
library will show the appropriate message.
```php
<?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
declare(strict_types=1);
namespace Respect\Validation\Exceptions;
/**
* @author Your Name <youremail@yourdomain.tld>
*/
final class HelloWorldException extends ValidationException
{
/**
* {@inheritDoc}
*/
protected $defaultTemplates = [
self::MODE_DEFAULT => [
self::STANDARD => '{{name}} must be a Hello World',
],
self::MODE_NEGATIVE => [
self::STANDARD => '{{name}} must not be a Hello World',
]
];
}
```
### Creating unit tests
Finally, we need to test if everything is running smooth. We have `RuleTestCase`
that allows us to make easier to test rules, but you fell free to use the
`PHPUnit\Framework\TestCase` if you want or you need it's necessary.
The `RuleTestCase` extends PHPUnit's `PHPUnit\Framework\TestCase` class, so you
are able to use any methods of it. By extending `RuleTestCase` you should
implement two methods that should return a [data provider][] with the rule as
first item of the arrays:
- `providerForValidInput`: Will test when `validate()` should return `true`
- `providerForInvalidInput`: Will test when `validate()` should return `false`
```php
<?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
declare(strict_types=1);
namespace Respect\Validation\Rules;
use Respect\Validation\Test\RuleTestCase;
/**
* @group rule
*
* @covers \Respect\Validation\Rules\HelloWorld
*
* @author Your Name <youremail@yourdomain.tld>
*/
final class HelloWorldTest extends RuleTestCase
{
/**
* {@inheritDoc}
*/
public function providerForValidInput(): array
{
$rule = new HelloWorld();
return [
[$rule, 'Hello World'],
];
}
/**
* {@inheritDoc}
*/
public function providerForInvalidInput(): array
{
$rule = new HelloWorld();
return [
[$rule, 'Not a hello'],
[$rule, 'Hello darkness, my old friend'],
[$rule, 'Hello is it me you\'re looking for?'],
];
}
}
```
If the constructor of your rule accepts arguments you may create specific tests
for it other than what is covered by `RuleTestCase`.
### Helping us a little bit more
You rule will be accepted only with these 3 files (rule, exception and unit test),
but if you really want to help us, you can follow the example of [ArrayType][] by:
- Adding your new rule on the `Validator`'s class docblock;
- Writing a documentation for your new rule;
- Creating integration tests with PHPT.
As we already said, none of them are required but you will help us a lot.
## Documentation
Our docs at https://respect-validation.readthedocs.io are generated from our
Markdown files. Add your brand new rule and it should be soon available.
## Running Tests
After run `composer install` on the library's root directory you must run PHPUnit.
### Linux
You can test the project using the commands:
```sh
$ vendor/bin/phpunit
```
or
```sh
$ composer phpunit
```
### Windows
You can test the project using the commands:
```sh
> vendor\bin\phpunit
```
or
```sh
> composer phpunit
```
No test should fail.
You can tweak the PHPUnit's settings by copying `phpunit.xml.dist` to `phpunit.xml`
and changing it according to your needs.
[ArrayType]: https://github.com/Respect/Validation/commit/f08a1fa
[data provider]: https://phpunit.de/manual/current/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.data-providers "PHPUnit Data Providers"
[open an issue]: http://github.com/Respect/Validation/issues
[PHP-FIG]: http://www.php-fig.org "PHP Framework Interop Group"
[project documentation]: https://respect-validation.readthedocs.io/ "Respect\Validation documentation"
[pull requests]: http://help.github.com/pull-requests "GitHub pull requests"
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
+14
View File
@@ -0,0 +1,14 @@
# [Respect\Validation 验证器](https://github.com/Respect/Validation) 汉化版
# Respect\Validation
[![Build Status](https://img.shields.io/travis/Respect/Validation/master.svg?style=flat-square)](http://travis-ci.org/Respect/Validation)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/Respect/Validation/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/Respect/Validation/?branch=master)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/Respect/Validation/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/Respect/Validation/?branch=master)
[![Latest Stable Version](https://img.shields.io/packagist/v/respect/validation.svg?style=flat-square)](https://packagist.org/packages/respect/validation)
[![Total Downloads](https://img.shields.io/packagist/dt/respect/validation.svg?style=flat-square)](https://packagist.org/packages/respect/validation)
[![License](https://img.shields.io/packagist/l/respect/validation.svg?style=flat-square)](https://packagist.org/packages/respect/validation)
[The most awesome validation engine ever created for PHP.](http://bit.ly/1a1oeQv)
* [Documentation](https://respect-validation.readthedocs.io)
* [How to contribute](CONTRIBUTING.md)
+68
View File
@@ -0,0 +1,68 @@
{
"name": "workerman/validation",
"description": "The most awesome validation engine ever created for PHP. Respect/Validation 汉化版本",
"keywords": ["respect", "validation", "validator"],
"type": "library",
"homepage": "http://respect.github.io/Validation/",
"license": "MIT",
"authors": [
{
"name": "Respect/Validation Contributors",
"homepage": "https://github.com/Respect/Validation/graphs/contributors"
}
],
"config": {
"sort-packages": true
},
"require": {
"php": ">=7.2",
"respect/stringifier": "^0.2.0",
"symfony/polyfill-mbstring": "^1.2"
},
"require-dev": {
"egulias/email-validator": "^2.1",
"malukenho/docheader": "^0.1",
"mikey179/vfsstream": "^1.6",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpunit/phpunit": "^7.5",
"respect/coding-standard": "^2.1",
"squizlabs/php_codesniffer": "^3.5",
"symfony/validator": "^3.0||^4.0",
"zendframework/zend-validator": "^2.1"
},
"suggest": {
"ext-bcmath": "Arbitrary Precision Mathematics",
"ext-fileinfo": "File Information",
"ext-mbstring": "Multibyte String Functions",
"egulias/email-validator": "Strict (RFC compliant) email validation",
"symfony/validator": "Use Symfony validator through Respect\\Validation",
"zendframework/zend-validator": "Use Zend Framework validator through Respect\\Validation"
},
"autoload": {
"psr-4": {
"Respect\\Validation\\": "library/"
}
},
"autoload-dev": {
"psr-4": {
"Respect\\Validation\\": "tests/unit/",
"Respect\\Validation\\Test\\": "tests/library/"
}
},
"scripts": {
"docheader": "vendor/bin/docheader check library/ tests/",
"phpcs": "vendor/bin/phpcs",
"phpstan": "vendor/bin/phpstan analyze",
"phpunit": "vendor/bin/phpunit",
"phpunit-integration": "vendor/bin/phpunit --testsuite=integration",
"phpunit-unit": "vendor/bin/phpunit --testsuite=unit",
"qa": [
"@docheader",
"@phpcs",
"@phpstan",
"@phpunit"
]
}
}
+13
View File
@@ -0,0 +1,13 @@
{
"source": "http://www.geonames.org/AD/administrative-division-andorra.html",
"country": "Andorra",
"subdivisions": {
"02": "Canillo",
"03": "Encamp",
"04": "La Massana",
"05": "Ordino",
"06": "Sant Julia de Lòria",
"07": "Andorra la Vella",
"08": "Escaldes-Engordany"
}
}
+13
View File
@@ -0,0 +1,13 @@
{
"source": "http://www.geonames.org/AE/administrative-division-united-arab-emirates.html",
"country": "United Arab Emirates",
"subdivisions": {
"AJ": "'Ajman",
"AZ": "Abu Zaby",
"DU": "Dubayy",
"FU": "Al Fujayrah",
"RK": "R'as al Khaymah",
"SH": "Ash Shariqah",
"UQ": "Umm al Qaywayn"
}
}
+40
View File
@@ -0,0 +1,40 @@
{
"source": "http://www.geonames.org/AF/administrative-division-afghanistan.html",
"country": "Afghanistan",
"subdivisions": {
"BAL": "Balkh province",
"BAM": "Bamian province",
"BDG": "Badghis province",
"BDS": "Badakhshan province",
"BGL": "Baghlan province",
"DAY": "Dāykundī",
"FRA": "Farah province",
"FYB": "Faryab province",
"GHA": "Ghazni province",
"GHO": "Ghowr province",
"HEL": "Helmand province",
"HER": "Herat province",
"JOW": "Jowzjan province",
"KAB": "Kabul province",
"KAN": "Kandahar province",
"KAP": "Kapisa province",
"KDZ": "Kondoz province",
"KHO": "Khost province",
"KNR": "Konar province",
"LAG": "Laghman province",
"LOG": "Lowgar province",
"NAN": "Nangrahar province",
"NIM": "Nimruz province",
"NUR": "Nurestan province",
"PAN": "Panjshir",
"PAR": "Parwan province",
"PIA": "Paktia province",
"PKA": "Paktika province",
"SAM": "Samangan province",
"SAR": "Sar-e Pol province",
"TAK": "Takhar province",
"URU": "Uruzgān province",
"WAR": "Wardak province",
"ZAB": "Zabol province"
}
}
+14
View File
@@ -0,0 +1,14 @@
{
"source": "http://www.geonames.org/AG/administrative-division-antigua-and-barbuda.html",
"country": "Antigua and Barbuda",
"subdivisions": {
"03": "Saint George",
"04": "Saint John",
"05": "Saint Mary",
"06": "Saint Paul",
"07": "Saint Peter",
"08": "Saint Philip",
"10": "Barbuda",
"11": "Redonda"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/AI/administrative-division-anguilla.html",
"country": "Anguilla",
"subdivisions": []
}
+54
View File
@@ -0,0 +1,54 @@
{
"source": "http://www.geonames.org/AL/administrative-division-albania.html",
"country": "Albania",
"subdivisions": {
"01": "Berat",
"02": "Durres",
"03": "Elbasan",
"04": "Fier",
"05": "Gjirokaster",
"06": "Korce",
"07": "Kukes",
"08": "Lezhe",
"09": "Diber",
"10": "Shkoder",
"11": "Tirane",
"12": "Vlore",
"BR": "Berat",
"BU": "Bulqize",
"DI": "Diber",
"DL": "Delvine",
"DR": "Durres",
"DV": "Devoll",
"EL": "Elbasan",
"ER": "Kolonje",
"FR": "Fier",
"GJ": "Gjirokaster",
"GR": "Gramsh",
"HA": "Has",
"KA": "Kavaje",
"KB": "Kurbin",
"KC": "Kucove",
"KO": "Korce",
"KR": "Kruje",
"KU": "Kukes",
"LB": "Librazhd",
"LE": "Lezhe",
"LU": "Lushnje",
"MK": "Mallakaster",
"MM": "Malesi e Madhe",
"MR": "Mirdite",
"MT": "Mat",
"PG": "Pogradec",
"PQ": "Peqin",
"PR": "Permet",
"PU": "Puke",
"SH": "Shkoder",
"SK": "Skrapar",
"SR": "Sarande",
"TE": "Tepelene",
"TP": "Tropoje",
"TR": "Tirane",
"VL": "Vlore"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"source": "http://www.geonames.org/AM/administrative-division-armenia.html",
"country": "Armenia",
"subdivisions": {
"AG": "Aragatsotn",
"AR": "Ararat",
"AV": "Armavir",
"ER": "Yerevan",
"GR": "Geghark'unik'",
"KT": "Kotayk'",
"LO": "Lorri",
"SH": "Shirak",
"SU": "Syunik'",
"TV": "Tavush",
"VD": "Vayots' Dzor"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/AN/administrative-division-netherlands-antilles.html",
"country": "Netherlands Antilles",
"subdivisions": []
}
+24
View File
@@ -0,0 +1,24 @@
{
"source": "http://www.geonames.org/AO/administrative-division-angola.html",
"country": "Angola",
"subdivisions": {
"BGO": "Bengo",
"BGU": "Benguela province",
"BIE": "Bie",
"CAB": "Cabinda",
"CCU": "Cuando-Cubango",
"CNN": "Cunene",
"CNO": "Cuanza Norte",
"CUS": "Cuanza Sul",
"HUA": "Huambo province",
"HUI": "Huila province",
"LNO": "Lunda Norte",
"LSU": "Lunda Sul",
"LUA": "Luanda",
"MAL": "Malange",
"MOX": "Moxico",
"NAM": "Namibe",
"UIG": "Uige",
"ZAI": "Zaire"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/AQ/administrative-division-antarctica.html",
"country": "Antarctica",
"subdivisions": []
}
+30
View File
@@ -0,0 +1,30 @@
{
"source": "http://www.geonames.org/AR/administrative-division-argentina.html",
"country": "Argentina",
"subdivisions": {
"A": "Salta",
"B": "Buenos Aires Province",
"C": "Ciudad Autónoma de Buenos Aires",
"D": "San Luis",
"E": "Entre Rios",
"F": "La Rioja",
"G": "Santiago del Estero",
"H": "Chaco",
"J": "San Juan",
"K": "Catamarca",
"L": "La Pampa",
"M": "Mendoza",
"N": "Misiones",
"P": "Formosa",
"Q": "Neuquen",
"R": "Rio Negro",
"S": "Santa Fe",
"T": "Tucuman",
"U": "Chubut",
"V": "Tierra del Fuego",
"W": "Corrientes",
"X": "Cordoba",
"Y": "Jujuy",
"Z": "Santa Cruz"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"source": "http://www.geonames.org/AS/administrative-division-american-samoa.html",
"country": "American Samoa",
"subdivisions": {
"E": "Eastern",
"M": "Manu'a",
"R": "Rose Island",
"S": "Swains Island",
"W": "Western"
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"source": "http://www.geonames.org/AT/administrative-division-austria.html",
"country": "Austria",
"subdivisions": {
"1": "Burgenland",
"2": "Karnten",
"3": "Niederosterreich",
"4": "Oberosterreich",
"5": "Salzburg",
"6": "Steiermark",
"7": "Tirol",
"8": "Vorarlberg",
"9": "Wien"
}
}
+14
View File
@@ -0,0 +1,14 @@
{
"source": "http://www.geonames.org/AU/administrative-division-australia.html",
"country": "Australia",
"subdivisions": {
"ACT": "Australian Capital Territory",
"NSW": "New South Wales",
"NT": "Northern Territory",
"QLD": "Queensland",
"SA": "South Australia",
"TAS": "Tasmania",
"VIC": "Victoria",
"WA": "Western Australia"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/AW/administrative-division-aruba.html",
"country": "Aruba",
"subdivisions": []
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/AX/administrative-division-aland.html",
"country": "Åland",
"subdivisions": []
}
+84
View File
@@ -0,0 +1,84 @@
{
"source": "http://www.geonames.org/AZ/administrative-division-azerbaijan.html",
"country": "Azerbaijan",
"subdivisions": {
"ABS": "Abseron",
"AGA": "Agstafa",
"AGC": "AgcabAdi",
"AGM": "Agdam",
"AGS": "Agdas",
"AGU": "Agsu",
"AST": "Astara",
"BA": "Baki",
"BAB": "Babek",
"BAL": "BalakAn",
"BAR": "Barda",
"BEY": "Beylaqan",
"BIL": "Bilasuvar",
"CAB": "Cabrayil",
"CAL": "Calilabab",
"CUL": "Culfa",
"DAS": "Daskasan",
"FUZ": "Fuzuli",
"GA": "Ganca",
"GAD": "Gadabay",
"GOR": "Goranboy",
"GOY": "Goycay",
"GYG": "Göygöl",
"HAC": "Haciqabul",
"IMI": "Imisli",
"ISM": "Ismayilli",
"KAL": "Kalbacar",
"KAN": "Kangarli",
"KUR": "Kurdamir",
"LA": "Lankaran",
"LAC": "Lacin",
"LAN": "Lankaran Sahari",
"LER": "Lerik",
"MAS": "Masalli",
"MI": "Mingəçevir",
"NA": "Naftalan",
"NEF": "Neftcala",
"NV": "Naxçivan",
"NX": "Naxcivan",
"OGU": "Oguz",
"ORD": "Ordubad",
"QAB": "Qabala",
"QAX": "Qax",
"QAZ": "Qazax",
"QBA": "Quba",
"QBI": "Qubadli",
"QOB": "Qobustan",
"QUS": "Qusar",
"SA": "Saki",
"SAB": "Sabirabad",
"SAD": "Sadarak",
"SAH": "Sahbuz",
"SAK": "Saki Sahari",
"SAL": "Salyan",
"SAR": "Sarur",
"SAT": "Saatli",
"SBN": "Şabran",
"SIY": "Siyazan",
"SKR": "Samkir",
"SM": "Sumqayit",
"SMI": "Samaxi",
"SMX": "Samux",
"SR": "Şirvan",
"SUS": "Susa",
"TAR": "Tartar",
"TOV": "Tovuz",
"UCA": "Ucar",
"XA": "Xankandi",
"XAC": "Xacmaz",
"XCI": "Xocali",
"XIZ": "Xizi",
"XVD": "Xocavand",
"YAR": "Yardimli",
"YE": "Yevlax Sahari",
"YEV": "Yevlax",
"ZAN": "Zangilan",
"ZAQ": "Zaqatala",
"ZAR": "Zardab"
}
}
+19
View File
@@ -0,0 +1,19 @@
{
"source": "http://www.geonames.org/BA/administrative-division-bosnia-and-herzegovina.html",
"country": "Bosnia and Herzegovina",
"subdivisions": {
"01": "Unsko-sanski kanton",
"02": "Posavski kanton",
"03": "Tuzlanski kanton",
"04": "Zeničko-dobojski kanton",
"05": "Bosansko-podrinjski kanton",
"06": "Srednjobosanski kantonn",
"07": "Hercegovačko-neretvanski kanton",
"08": "Zapadnohercegovački kanton",
"09": "Kanton Sarajevo",
"10": "Kanton br. 10 (Livanjski kanton)",
"BIH": "Federacija Bosna i Hercegovina",
"BRC": "Brcko District",
"SRP": "Republika Srpska"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"source": "http://www.geonames.org/BB/administrative-division-barbados.html",
"country": "Barbados",
"subdivisions": {
"01": "Christ Church",
"02": "Saint Andrew",
"03": "Saint George",
"04": "Saint James",
"05": "Saint John",
"06": "Saint Joseph",
"07": "Saint Lucy",
"08": "Saint Michael",
"09": "Saint Peter",
"10": "Saint Philip",
"11": "Saint Thomas"
}
}
+78
View File
@@ -0,0 +1,78 @@
{
"source": "http://www.geonames.org/BD/administrative-division-bangladesh.html",
"country": "Bangladesh",
"subdivisions": {
"01": "Bandarban zila",
"02": "Barguna zila",
"03": "Bogra zila",
"04": "Brahmanbaria zila",
"05": "Bagerhat zila",
"06": "Barisal zila",
"07": "Bhola zila",
"08": "Comilla zila",
"09": "Chandpur zila",
"10": "Chittagong zila",
"11": "Cox's Bazar zila",
"12": "Chuadanga zila",
"13": "Dhaka zila",
"14": "Dinajpur zila",
"15": "Faridpur zila",
"16": "Feni zila",
"17": "Gopalganj zila",
"18": "Gazipur zila",
"19": "Gaibandha zila",
"20": "Habiganj zila",
"21": "Jamalpur zila",
"22": "Jessore zila",
"23": "Jhenaidah zila",
"24": "Jaipurhat zila",
"25": "Jhalakati zila",
"26": "Kishoreganj zila",
"27": "Khulna zila",
"28": "Kurigram zila",
"29": "Khagrachari zila",
"30": "Kushtia zila",
"31": "Lakshmipur zila",
"32": "Lalmonirhat zila",
"33": "Manikganj zila",
"34": "Mymensingh zila",
"35": "Munshiganj zila",
"36": "Madaripur zila",
"37": "Magura zila",
"38": "Moulvibazar zila",
"39": "Meherpur zila",
"40": "Narayanganj zila",
"41": "Netrakona zila",
"42": "Narsingdi zila",
"43": "Narail zila",
"44": "Natore zila",
"45": "Nawabganj zila",
"46": "Nilphamari zila",
"47": "Noakhali zila",
"48": "Naogaon zila",
"49": "Pabna zila",
"50": "Pirojpur zila",
"51": "Patuakhali zila",
"52": "Panchagarh zila",
"53": "Rajbari zila",
"54": "Rajshahi zila",
"55": "Rangpur zila",
"56": "Rangamati zila",
"57": "Sherpur zila",
"58": "Satkhira zila",
"59": "Sirajganj zila",
"60": "Sylhet zila",
"61": "Sunamganj zila",
"62": "Shariatpur zila",
"63": "Tangail zila",
"64": "Thakurgaon zila",
"A": "Barisal",
"B": "Chittagong",
"C": "Dhaka",
"D": "Khulna",
"E": "Rajshahi",
"F": "Rangpur",
"G": "Sylhet",
"H": "Mymensingh Division"
}
}
+19
View File
@@ -0,0 +1,19 @@
{
"source": "http://www.geonames.org/BE/administrative-division-belgium.html",
"country": "Belgium",
"subdivisions": {
"BRU": "Brussels",
"VAN": "Antwerpen",
"VBR": "Vlaams Brabant",
"VLG": "Flemish Region",
"VLI": "Limburg",
"VOV": "Oost-Vlaanderen",
"VWV": "West-Vlaanderen",
"WAL": "Wallonia",
"WBR": "Brabant Wallon",
"WHT": "Hainaut",
"WLG": "Liege",
"WLX": "Luxembourg",
"WNA": "Namur"
}
}
+64
View File
@@ -0,0 +1,64 @@
{
"source": "http://www.geonames.org/BF/administrative-division-burkina-faso.html",
"country": "Burkina Faso",
"subdivisions": {
"01": "Boucle du Mouhoun",
"02": "Cascades",
"03": "Centre",
"04": "Centre-Est",
"05": "Centre-Nord",
"06": "Centre-Ouest",
"07": "Centre-Sud",
"08": "Est",
"09": "Hauts-Bassins",
"10": "Nord",
"11": "Plateau-Central",
"12": "Sahel",
"13": "Sud-Ouest",
"BAL": "Bale",
"BAM": "Bam",
"BAN": "Banwa",
"BAZ": "Bazega",
"BGR": "Bougouriba",
"BLG": "Boulgou",
"BLK": "Boulkiemde",
"COM": "Comoe",
"GAN": "Ganzourgou",
"GNA": "Gnagna",
"GOU": "Gourma",
"HOU": "Houet",
"IOB": "Ioba",
"KAD": "Kadiogo",
"KEN": "Kenedougou",
"KMD": "Komondjari",
"KMP": "Kompienga",
"KOP": "Koulpelogo",
"KOS": "Kossi",
"KOT": "Kouritenga",
"KOW": "Kourweogo",
"LER": "Leraba",
"LOR": "Loroum",
"MOU": "Mouhoun",
"NAM": "Namentenga",
"NAO": "Nahouri",
"NAY": "Nayala",
"NOU": "Noumbiel",
"OUB": "Oubritenga",
"OUD": "Oudalan",
"PAS": "Passore",
"PON": "Poni",
"SEN": "Seno",
"SIS": "Sissili",
"SMT": "Sanmatenga",
"SNG": "Sanguie",
"SOM": "Soum",
"SOR": "Sourou",
"TAP": "Tapoa",
"TUI": "Tuy",
"YAG": "Yagha",
"YAT": "Yatenga",
"ZIR": "Ziro",
"ZON": "Zondoma",
"ZOU": "Zoundweogo"
}
}
+34
View File
@@ -0,0 +1,34 @@
{
"source": "http://www.geonames.org/BG/administrative-division-bulgaria.html",
"country": "Bulgaria",
"subdivisions": {
"01": "Blagoevgrad",
"02": "Burgas",
"03": "Varna",
"04": "Veliko Turnovo",
"05": "Vidin",
"06": "Vratsa",
"07": "Gabrovo",
"08": "Dobrich",
"09": "Kurdzhali",
"10": "Kyustendil",
"11": "Lovech",
"12": "Montana",
"13": "Pazardzhik",
"14": "Pernik",
"15": "Pleven",
"16": "Plovdiv",
"17": "Razgrad",
"18": "Ruse",
"19": "Silistra",
"20": "Sliven",
"21": "Smolyan",
"22": "Sofia Region",
"23": "Sofia",
"24": "Stara Zagora",
"25": "Turgovishte",
"26": "Khaskovo",
"27": "Shumen",
"28": "Yambol"
}
}
+10
View File
@@ -0,0 +1,10 @@
{
"source": "http://www.geonames.org/BH/administrative-division-bahrain.html",
"country": "Bahrain",
"subdivisions": {
"13": "Capital",
"14": "Southern",
"15": "Muharraq",
"17": "Northern"
}
}
+24
View File
@@ -0,0 +1,24 @@
{
"source": "http://www.geonames.org/BI/administrative-division-burundi.html",
"country": "Burundi",
"subdivisions": {
"BB": "Bubanza",
"BL": "Bujumbura Rural",
"BM": "Bujumbura Mairie",
"BR": "Bururi",
"CA": "Cankuzo",
"CI": "Cibitoke",
"GI": "Gitega",
"KI": "Kirundo",
"KR": "Karuzi",
"KY": "Kayanza",
"MA": "Makamba",
"MU": "Muramvya",
"MW": "Mwaro",
"MY": "Muyinga",
"NG": "Ngozi",
"RM": "Rumonge",
"RT": "Rutana",
"RY": "Ruyigi"
}
}
+18
View File
@@ -0,0 +1,18 @@
{
"source": "http://www.geonames.org/BJ/administrative-division-benin.html",
"country": "Benin",
"subdivisions": {
"AK": "Atakora",
"AL": "Alibori",
"AQ": "Atlantique",
"BO": "Borgou",
"CO": "Collines",
"DO": "Donga",
"KO": "Kouffo",
"LI": "Littoral",
"MO": "Mono",
"OU": "Oueme",
"PL": "Plateau",
"ZO": "Zou"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/BL/administrative-division-saint-barthelemy.html",
"country": "Saint Barthélemy",
"subdivisions": []
}
+17
View File
@@ -0,0 +1,17 @@
{
"source": "http://www.geonames.org/BM/administrative-division-bermuda.html",
"country": "Bermuda",
"subdivisions": {
"DS": "Devonshire",
"GC": "Saint George",
"HA": "Hamilton",
"HC": "Hamilton City",
"PB": "Pembroke",
"PG": "Paget",
"SA": "Sandys",
"SG": "Saint George's",
"SH": "Southampton",
"SM": "Smith's",
"WA": "Warwick"
}
}
+10
View File
@@ -0,0 +1,10 @@
{
"source": "http://www.geonames.org/BN/administrative-division-brunei.html",
"country": "Brunei",
"subdivisions": {
"BE": "Belait",
"BM": "Brunei and Muara",
"TE": "Temburong",
"TU": "Tutong"
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"source": "http://www.geonames.org/BO/administrative-division-bolivia.html",
"country": "Bolivia",
"subdivisions": {
"B": "Departmento Beni",
"C": "Departmento Cochabamba",
"H": "Departmento Chuquisaca",
"L": "Departmento La Paz",
"N": "Departmento Pando",
"O": "Departmento Oruro",
"P": "Departmento Potosi",
"S": "Departmento Santa Cruz",
"T": "Departmento Tarija"
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"source": "http://www.geonames.org/BQ/administrative-division-bonaire.html",
"country": "Bonaire",
"subdivisions": {
"BO": "Bonaire",
"SA": "Saba",
"SE": "Sint Eustatius"
}
}
+33
View File
@@ -0,0 +1,33 @@
{
"source": "http://www.geonames.org/BR/administrative-division-brazil.html",
"country": "Brazil",
"subdivisions": {
"AC": "Acre",
"AL": "Alagoas",
"AM": "Amazonas",
"AP": "Amapa",
"BA": "Bahia",
"CE": "Ceara",
"DF": "Distrito Federal",
"ES": "Espirito Santo",
"GO": "Goias",
"MA": "Maranhao",
"MG": "Minas Gerais",
"MS": "Mato Grosso do Sul",
"MT": "Mato Grosso",
"PA": "Para",
"PB": "Paraiba",
"PE": "Pernambuco",
"PI": "Piaui",
"PR": "Parana",
"RJ": "Rio de Janeiro",
"RN": "Rio Grande do Norte",
"RO": "Rondonia",
"RR": "Roraima",
"RS": "Rio Grande do Sul",
"SC": "Santa Catarina",
"SE": "Sergipe",
"SP": "Sao Paulo",
"TO": "Tocantins"
}
}
+38
View File
@@ -0,0 +1,38 @@
{
"source": "http://www.geonames.org/BS/administrative-division-bahamas.html",
"country": "Bahamas",
"subdivisions": {
"AK": "Acklins Islands",
"BI": "Bimini and Cat Cay",
"BP": "Black Point",
"BY": "Berry Islands",
"CE": "Central Eleuthera",
"CI": "Cat Island",
"CK": "Crooked Island and Long Cay",
"CO": "Central Abaco",
"CS": "Central Andros",
"EG": "East Grand Bahama",
"EX": "Exuma",
"FP": "City of Freeport",
"GC": "Grand Cay",
"HI": "Harbour Island",
"HT": "Hope Town",
"IN": "Inagua",
"LI": "Long Island",
"MC": "Mangrove Cay",
"MG": "Mayaguana",
"MI": "Moore's Island",
"NE": "North Eleuthera",
"NO": "North Abaco",
"NP": "New Providence",
"NS": "North Andros",
"RC": "Rum Cay",
"RI": "Ragged Island",
"SA": "South Andros",
"SE": "South Eleuthera",
"SO": "South Abaco",
"SS": "San Salvador",
"SW": "Spanish Wells",
"WG": "West Grand Bahama"
}
}
+26
View File
@@ -0,0 +1,26 @@
{
"source": "http://www.geonames.org/BT/administrative-division-bhutan.html",
"country": "Bhutan",
"subdivisions": {
"11": "Paro",
"12": "Chukha",
"13": "Haa",
"14": "Samtse",
"15": "Thimphu",
"21": "Tsirang",
"22": "Dagana",
"23": "Punakha",
"24": "Wangdue Phodrang",
"31": "Sarpang",
"32": "Trongsa",
"33": "Bumthang",
"34": "Zhemgang",
"41": "Trashigang",
"42": "Mongar",
"43": "Pemagatshel",
"44": "Lhuntse",
"45": "Samdrup Jongkhar",
"GA": "Gasa",
"TY": "Trashi Yangste"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/BV/administrative-division-bouvet-island.html",
"country": "Bouvet Island",
"subdivisions": []
}
+22
View File
@@ -0,0 +1,22 @@
{
"source": "http://www.geonames.org/BW/administrative-division-botswana.html",
"country": "Botswana",
"subdivisions": {
"CE": "Central",
"CH": "Chobe",
"FR": "Francistown",
"GA": "Gaborone",
"GH": "Ghanzi",
"JW": "Jwaneng",
"KG": "Kgalagadi",
"KL": "Kgatleng",
"KW": "Kweneng",
"LO": "Lobatse",
"NE": "North East",
"NW": "North West",
"SE": "South East",
"SO": "Southern",
"SP": "Selibe Phikwe",
"ST": "Sowa Town"
}
}
+13
View File
@@ -0,0 +1,13 @@
{
"source": "http://www.geonames.org/BY/administrative-division-belarus.html",
"country": "Belarus",
"subdivisions": {
"BR": "Brest voblast",
"HM": "Horad Minsk",
"HO": "Homyel voblast",
"HR": "Hrodna voblast",
"MA": "Mahilyow voblast",
"MI": "Minsk voblast",
"VI": "Vitsebsk voblast"
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"source": "http://www.geonames.org/BZ/administrative-division-belize.html",
"country": "Belize",
"subdivisions": {
"BZ": "Belize District",
"CY": "Cayo District",
"CZL": "Corozal District",
"OW": "Orange Walk District",
"SC": "Stann Creek District",
"TOL": "Toledo District"
}
}
+19
View File
@@ -0,0 +1,19 @@
{
"source": "http://www.geonames.org/CA/administrative-division-canada.html",
"country": "Canada",
"subdivisions": {
"AB": "Alberta",
"BC": "British Columbia",
"MB": "Manitoba",
"NB": "New Brunswick",
"NL": "Newfoundland and Labrador",
"NS": "Nova Scotia",
"NT": "Northwest Territories",
"NU": "Nunavut",
"ON": "Ontario",
"PE": "Prince Edward Island",
"QC": "Quebec",
"SK": "Saskatchewan",
"YT": "Yukon Territory"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"source": "http://www.geonames.org/CC/administrative-division-cocos-islands.html",
"country": "Cocos [Keeling] Islands",
"subdivisions": {
"D": "Direction Island",
"H": "Home Island",
"O": "Horsburgh Island",
"S": "South Island",
"W": "West Island"
}
}
+32
View File
@@ -0,0 +1,32 @@
{
"source": "http://www.geonames.org/CD/administrative-division-democratic-republic-of-the-congo.html",
"country": "Democratic Republic of the Congo",
"subdivisions": {
"BC": "Kongo Central",
"BU": "Bas-Uélé",
"EQ": "Équateur ",
"HK": "Haut-Katanga",
"HL": "Haut-Lomami",
"HU": "Haut-Uélé",
"IT": "Ituri",
"KC": "Kasaï Central",
"KE": "Kasai-Oriental",
"KG": "Kwango",
"KL": "Kwilu",
"KN": "Kinshasa",
"KS": "Kasaï",
"LO": "Lomami",
"LU": "Lualaba",
"MA": "Maniema",
"MN": "Mai-Ndombe",
"MO": "Mongala",
"NK": "Nord-Kivu",
"NU": "Nord-Ubangi",
"SA": "Sankuru",
"SK": "Sud-Kivu",
"SU": "Sud-Ubangi",
"TA": "Tanganyika",
"TO": "Tshopo",
"TU": "Tshuapa"
}
}
+23
View File
@@ -0,0 +1,23 @@
{
"source": "http://www.geonames.org/CF/administrative-division-central-african-republic.html",
"country": "Central African Republic",
"subdivisions": {
"AC": "Ouham",
"BB": "Bamingui-Bangoran",
"BGF": "Bangui",
"BK": "Basse-Kotto",
"HK": "Haute-Kotto",
"HM": "Haut-Mbomou",
"HS": "Mambere-Kadeï",
"KB": "Nana-Grebizi",
"KG": "Kemo",
"LB": "Lobaye",
"MB": "Mbomou",
"MP": "Ombella-M'Poko",
"NM": "Nana-Mambere",
"OP": "Ouham-Pende",
"SE": "Sangha-Mbaere",
"UK": "Ouaka",
"VK": "Vakaga"
}
}
+18
View File
@@ -0,0 +1,18 @@
{
"source": "http://www.geonames.org/CG/administrative-division-republic-of-the-congo.html",
"country": "Republic of the Congo",
"subdivisions": {
"11": "Bouenza",
"12": "Pool",
"13": "Sangha",
"14": "Plateaux",
"15": "Cuvette-Ouest",
"16": "Pointe-Noire",
"2": "Lekoumou",
"5": "Kouilou",
"7": "Likouala",
"8": "Cuvette",
"9": "Niari",
"BZV": "Brazzaville"
}
}
+32
View File
@@ -0,0 +1,32 @@
{
"source": "http://www.geonames.org/CH/administrative-division-switzerland.html",
"country": "Switzerland",
"subdivisions": {
"AG": "Aargau",
"AI": "Appenzell Innerhoden",
"AR": "Appenzell Ausserrhoden",
"BE": "Bern",
"BL": "Basel-Landschaft",
"BS": "Basel-Stadt",
"FR": "Fribourg",
"GE": "Geneva",
"GL": "Glarus",
"GR": "Graubunden",
"JU": "Jura",
"LU": "Lucerne",
"NE": "Neuchâtel",
"NW": "Nidwalden",
"OW": "Obwalden",
"SG": "St. Gallen",
"SH": "Schaffhausen",
"SO": "Solothurn",
"SZ": "Schwyz",
"TG": "Thurgau",
"TI": "Ticino",
"UR": "Uri",
"VD": "Vaud",
"VS": "Valais",
"ZG": "Zug",
"ZH": "Zurich"
}
}
+20
View File
@@ -0,0 +1,20 @@
{
"source": "http://www.geonames.org/CI/administrative-division-ivory-coast.html",
"country": "Ivory Coast",
"subdivisions": {
"AB": "Abidjan",
"BS": "Bas-Sassandra",
"CM": "Comoé",
"DN": "Denguélé",
"GD": "Gôh-Djiboua",
"LC": "Lacs",
"LG": "Lagunes",
"MG": "Montagnes",
"SM": "Sassandra-Marahoué",
"SV": "Savanes",
"VB": "Vallée du Bandama",
"WR": "Woroba",
"YM": "Yamoussoukro Autonomous District",
"ZZ": "Zanzan"
}
}
+21
View File
@@ -0,0 +1,21 @@
{
"source": "http://www.geonames.org/CK/administrative-division-cook-islands.html",
"country": "Cook Islands",
"subdivisions": {
"AI": "Aitutaki",
"AT": "Atiu",
"MA": "Manuae",
"MG": "Mangaia",
"MK": "Manihiki",
"MT": "Mitiaro",
"MU": "Mauke",
"NI": "Nassau Island",
"PA": "Palmerston",
"PE": "Penrhyn",
"PU": "Pukapuka",
"RK": "Rakahanga",
"RR": "Rarotonga",
"SU": "Surwarrow",
"TA": "Takutea"
}
}
+22
View File
@@ -0,0 +1,22 @@
{
"source": "http://www.geonames.org/CL/administrative-division-chile.html",
"country": "Chile",
"subdivisions": {
"AI": "Aisen del General Carlos Ibanez del Campo (XI)",
"AN": "Antofagasta (II)",
"AP": "Arica y Parinacota",
"AR": "Araucania (IX)",
"AT": "Atacama (III)",
"BI": "Bio-Bio (VIII)",
"CO": "Coquimbo (IV)",
"LI": "Libertador General Bernardo O'Higgins (VI)",
"LL": "Los Lagos (X)",
"LR": "Los Ríos",
"MA": "Magallanes (XII)",
"ML": "Maule (VII)",
"NB": "Ñuble",
"RM": "Region Metropolitana (RM)",
"TA": "Tarapaca (I)",
"VS": "Valparaiso (V)"
}
}
+16
View File
@@ -0,0 +1,16 @@
{
"source": "http://www.geonames.org/CM/administrative-division-cameroon.html",
"country": "Cameroon",
"subdivisions": {
"AD": "Adamawa Province (Adamaoua)",
"CE": "Centre Province",
"EN": "Extreme North Province (Extrême-Nord)",
"ES": "East Province (Est)",
"LT": "Littoral Province",
"NO": "North Province (Nord)",
"NW": "Northwest Province (Nord-Ouest)",
"OU": "West Province (Ouest)",
"SU": "South Province (Sud)",
"SW": "Southwest Province (Sud-Ouest)."
}
}
+40
View File
@@ -0,0 +1,40 @@
{
"source": "http://www.geonames.org/CN/administrative-division-china.html",
"country": "China",
"subdivisions": {
"AH": "Anhui",
"BJ": "Beijing",
"CQ": "Chongqìng",
"FJ": "Fujian",
"GD": "Guangdong",
"GS": "Gansu",
"GX": "Guangxi",
"GZ": "Guizhou",
"HA": "Henan",
"HB": "Hubei",
"HE": "Hebei",
"HI": "Hainan",
"HK": "Xianggang",
"HL": "Heilongjiang",
"HN": "Hunan",
"JL": "Jilin",
"JS": "Jiangsu",
"JX": "Jiangxi",
"LN": "Liaoning",
"MO": "Aomen",
"NM": "Nei Mongol",
"NX": "Ningxia",
"QH": "Qinghai",
"SC": "Sichuan",
"SD": "Shandong",
"SH": "Shanghai",
"SN": "Shaanxi",
"SX": "Shanxi",
"TJ": "Tianjin",
"TW": "Taiwan",
"XJ": "Xinjiang",
"XZ": "Xizang Zìzhìqu (Tibet)",
"YN": "Yunnan",
"ZJ": "Zhejiang"
}
}
+39
View File
@@ -0,0 +1,39 @@
{
"source": "http://www.geonames.org/CO/administrative-division-colombia.html",
"country": "Colombia",
"subdivisions": {
"AMA": "Amazonas",
"ANT": "Antioquia",
"ARA": "Arauca",
"ATL": "Atlantico",
"BOL": "Bolivar",
"BOY": "Boyaca",
"CAL": "Caldas",
"CAQ": "Caqueta",
"CAS": "Casanare",
"CAU": "Cauca",
"CES": "Cesar",
"CHO": "Choco",
"COR": "Cordoba",
"CUN": "Cundinamarca",
"DC": "Bogota D.C.",
"GUA": "Guainia",
"GUV": "Guaviare",
"HUI": "Huila",
"LAG": "La Guajira",
"MAG": "Magdalena",
"MET": "Meta",
"NAR": "Narino",
"NSA": "Norte de Santander",
"PUT": "Putumayo",
"QUI": "Quindio",
"RIS": "Risaralda",
"SAN": "Santander",
"SAP": "San Andres y Providencia",
"SUC": "Sucre",
"TOL": "Tolima",
"VAC": "Valle del Cauca",
"VAU": "Vaupes",
"VID": "Vichada"
}
}
+13
View File
@@ -0,0 +1,13 @@
{
"source": "http://www.geonames.org/CR/administrative-division-costa-rica.html",
"country": "Costa Rica",
"subdivisions": {
"A": "Alajuela",
"C": "Cartago",
"G": "Guanacaste",
"H": "Heredia",
"L": "Limon",
"P": "Puntarenas",
"SJ": "San Jose"
}
}
+10
View File
@@ -0,0 +1,10 @@
{
"source": "http://www.geonames.org/CS/administrative-division-serbia-and-montenegro.html",
"country": "Serbia And Montenegro",
"subdivisions": {
"KOS": "Kosovo",
"MON": "Montenegro",
"SER": "Serbia",
"VOJ": "Vojvodina"
}
}
+22
View File
@@ -0,0 +1,22 @@
{
"source": "http://www.geonames.org/CU/administrative-division-cuba.html",
"country": "Cuba",
"subdivisions": {
"01": "Pinar del Rio",
"03": "La Habana",
"04": "Matanzas",
"05": "Villa Clara",
"06": "Cienfuegos",
"07": "Sancti Spiritus",
"08": "Ciego de Avila",
"09": "Camaguey",
"10": "Las Tunas",
"11": "Holguin",
"12": "Granma",
"13": "Santiago de Cuba",
"14": "Guantanamo",
"15": "Artemisa",
"16": "Mayabeque",
"99": "Isla de la Juventud"
}
}
+30
View File
@@ -0,0 +1,30 @@
{
"source": "http://www.geonames.org/CV/administrative-division-cape-verde.html",
"country": "Cape Verde",
"subdivisions": {
"B": "Ilhas de Barlavento",
"BR": "Brava",
"BV": "Boa Vista",
"CA": "Santa Catarina",
"CF": "Santa Catarina do Fogo",
"CR": "Santa Cruz",
"MA": "Maio",
"MO": "Mosteiros",
"PA": "Paul",
"PN": "Porto Novo",
"PR": "Praia",
"RB": "Ribeira Brava",
"RG": "Ribeira Grande",
"RS": "Ribeira Grande de Santiago",
"S": "Ilhas de Sotavento",
"SD": "Sao Domingos",
"SF": "Sao Filipe",
"SL": "Sal",
"SM": "São Miguel",
"SO": "São Lourenço dos Orgãos",
"SS": "São Salvador do Mundo",
"SV": "Sao Vicente",
"TA": "Tarrafal",
"TS": "Tarrafal de São Nicolau"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/CW/administrative-division-curacao.html",
"country": "Curacao",
"subdivisions": []
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/CX/administrative-division-christmas-island.html",
"country": "Christmas Island",
"subdivisions": []
}
+12
View File
@@ -0,0 +1,12 @@
{
"source": "http://www.geonames.org/CY/administrative-division-cyprus.html",
"country": "Cyprus",
"subdivisions": {
"01": "Lefkosía",
"02": "Lemesós",
"03": "Lárnaka",
"04": "Ammóchostos",
"05": "Páfos",
"06": "Kerýneia"
}
}
+118
View File
@@ -0,0 +1,118 @@
{
"source": "http://www.geonames.org/CZ/administrative-division-czech-republic.html",
"country": "Czechia",
"subdivisions": {
"10": "Prague - the Capital (Praha - hlavni mesto)",
"101": "Praha 1",
"102": "Praha 2",
"103": "Praha 3",
"104": "Praha 4",
"105": "Praha 5",
"106": "Praha 6",
"107": "Praha 7",
"108": "Praha 8",
"109": "Praha 9",
"110": "Praha 10",
"111": "Praha 11",
"112": "Praha 12",
"113": "Praha 13",
"114": "Praha 14",
"115": "Praha 15",
"116": "Praha 16",
"117": "Praha 17",
"118": "Praha 18",
"119": "Praha 19",
"120": "Praha 20",
"121": "Praha 21",
"122": "Praha 22",
"20": "Central Bohemian Region (Stredocesky kraj)",
"201": "Benešov",
"202": "Beroun",
"203": "Kladno",
"204": "Kolín",
"205": "Kutná Hora",
"206": "Mělník",
"207": "Mladá Boleslav",
"208": "Nymburk",
"209": "Praha-východ",
"20A": "Praha-západ",
"20B": "Příbram",
"20C": "Rakovník",
"31": "South Bohemian Region (Jihocesky kraj)",
"311": "České Budějovice",
"312": "Český Krumlov",
"313": "Jindřichův Hradec",
"314": "Písek",
"315": "Prachatice",
"316": "Strakonice",
"317": "Tábor",
"32": "Plzen( Region Plzensky kraj)",
"321": "Domažlice",
"322": "Klatovy",
"323": "Plzeň-město",
"324": "Plzeň-jih",
"325": "Plzeň-sever",
"326": "Rokycany",
"327": "Tachov",
"41": "Carlsbad Region (Karlovarsky kraj)",
"411": "Cheb",
"412": "Karlovy Vary",
"413": "Sokolov",
"42": "Usti nad Labem Region (Ustecky kraj)",
"421": "Děčín",
"422": "Chomutov",
"423": "Litoměřice",
"424": "Louny",
"425": "Most",
"426": "Teplice",
"427": "Ústí nad Labem",
"51": "Liberec Region (Liberecky kraj)",
"511": "Česká Lípa",
"512": "Jablonec nad Nisou",
"513": "Liberec",
"514": "Semily",
"52": "Hradec Kralove Region (Kralovehradecky kraj)",
"521": "Hradec Králové",
"522": "Jičín",
"523": "Náchod",
"524": "Rychnov nad Kněžnou",
"525": "Trutnov",
"53": "Pardubice Region (Pardubicky kraj)",
"531": "Chrudim",
"532": "Pardubice",
"533": "Svitavy",
"534": "Ústí nad Orlicí",
"63": "Vysocina Region (kraj Vysocina)",
"631": "Havlíčkův Brod",
"632": "Jihlava",
"633": "Pelhřimov",
"634": "Třebíč",
"635": "Žd’ár nad Sázavou",
"64": "South Moravian Region (Jihomoravsky kraj)",
"641": "Blansko",
"642": "Brno-město",
"643": "Brno-venkov",
"644": "Břeclav",
"645": "Hodonín",
"646": "Vyškov",
"647": "Znojmo",
"71": "Olomouc Region (Olomoucky kraj)",
"711": "Jeseník",
"712": "Olomouc",
"713": "Prostĕjov",
"714": "Přerov",
"715": "Šumperk",
"72": "Zlin Region (Zlinsky kraj)",
"721": "Kromĕříž",
"722": "Uherské Hradištĕ",
"723": "Vsetín",
"724": "Zlín",
"80": "Moravian-Silesian Region (Moravskoslezsky kraj)",
"801": "Bruntál",
"802": "Frýdek - Místek",
"803": "Karviná",
"804": "Nový Jičín",
"805": "Opava",
"806": "Ostrava - město"
}
}
+22
View File
@@ -0,0 +1,22 @@
{
"source": "http://www.geonames.org/DE/administrative-division-germany.html",
"country": "Germany",
"subdivisions": {
"BB": "Brandenburg",
"BE": "Berlin",
"BW": "Baden-Württemberg",
"BY": "Bayern",
"HB": "Bremen",
"HE": "Hessen",
"HH": "Hamburg",
"MV": "Mecklenburg-Vorpommern",
"NI": "Niedersachsen",
"NW": "Nordrhein-Westfalen",
"RP": "Rheinland-Pfalz",
"SH": "Schleswig-Holstein",
"SL": "Saarland",
"SN": "Sachsen",
"ST": "Sachsen-Anhalt",
"TH": "Thüringen"
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"source": "http://www.geonames.org/DJ/administrative-division-djibouti.html",
"country": "Djibouti",
"subdivisions": {
"AR": "Arta",
"AS": "'Ali Sabih",
"DI": "Dikhil",
"DJ": "Djibouti",
"OB": "Obock",
"TA": "Tadjoura"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"source": "http://www.geonames.org/DK/administrative-division-denmark.html",
"country": "Denmark",
"subdivisions": {
"81": "Region Nordjylland",
"82": "Region Midtjylland",
"83": "Region Syddanmark",
"84": "Region Hovedstaden",
"85": "Region Sjæland"
}
}
+16
View File
@@ -0,0 +1,16 @@
{
"source": "http://www.geonames.org/DM/administrative-division-dominica.html",
"country": "Dominica",
"subdivisions": {
"02": "Saint Andrew Parish",
"03": "Saint David Parish",
"04": "Saint George Parish",
"05": "Saint John Parish",
"06": "Saint Joseph Parish",
"07": "Saint Luke Parish",
"08": "Saint Mark Parish",
"09": "Saint Patrick Parish",
"10": "Saint Paul Parish",
"11": "Saint Peter Parish"
}
}
+38
View File
@@ -0,0 +1,38 @@
{
"source": "http://www.geonames.org/DO/administrative-division-dominican-republic.html",
"country": "Dominican Republic",
"subdivisions": {
"01": "Distrito Nacional",
"02": "Azua",
"03": "Baoruco",
"04": "Barahona",
"05": "Dajabon",
"06": "Duarte",
"07": "Elias Pina",
"08": "El Seybo",
"09": "Espaillat",
"10": "Independencia",
"11": "La Altagracia",
"12": "La Romana",
"13": "La Vega",
"14": "Maria Trinidad Sanchez",
"15": "Monte Cristi",
"16": "Pedernales",
"17": "Peravia (Bani)",
"18": "Puerto Plata",
"19": "Salcedo",
"20": "Samana",
"21": "San Cristobal",
"22": "San Juan",
"23": "San Pedro de Macoris",
"24": "Sanchez Ramirez",
"25": "Santiago",
"26": "Santiago Rodriguez",
"27": "Valverde",
"28": "Monsenor Nouel",
"29": "Monte Plata",
"30": "Hato Mayor",
"31": "San Jose de Ocoa",
"32": "Santo Domingo"
}
}
+54
View File
@@ -0,0 +1,54 @@
{
"source": "http://www.geonames.org/DZ/administrative-division-algeria.html",
"country": "Algeria",
"subdivisions": {
"01": "Adrar",
"02": "Chlef",
"03": "Laghouat",
"04": "Oum el-Bouaghi",
"05": "Batna",
"06": "Bejaia",
"07": "Biskra",
"08": "Bechar",
"09": "Blida",
"10": "Bouira",
"11": "Tamanghasset",
"12": "Tebessa",
"13": "Tlemcen",
"14": "Tiaret",
"15": "Tizi Ouzou",
"16": "Alger",
"17": "Djelfa",
"18": "Jijel",
"19": "Setif",
"20": "Saida",
"21": "Skikda",
"22": "Sidi Bel Abbes",
"23": "Annaba",
"24": "Guelma",
"25": "Constantine",
"26": "Medea",
"27": "Mostaganem",
"28": "M'Sila",
"29": "Muaskar",
"30": "Ouargla",
"31": "Oran",
"32": "El Bayadh",
"33": "Illizi",
"34": "Bordj Bou Arreridj",
"35": "Boumerdes",
"36": "El Tarf",
"37": "Tindouf",
"38": "Tissemsilt",
"39": "El Oued",
"40": "Khenchela",
"41": "Souk Ahras",
"42": "Tipaza",
"43": "Mila",
"44": "Ain Defla",
"45": "Naama",
"46": "Ain Temouchent",
"47": "Ghardaia",
"48": "Relizane"
}
}
+30
View File
@@ -0,0 +1,30 @@
{
"source": "http://www.geonames.org/EC/administrative-division-ecuador.html",
"country": "Ecuador",
"subdivisions": {
"A": "Azuay",
"B": "Bolivar",
"C": "Carchi",
"D": "Orellana",
"E": "Esmeraldas",
"F": "Canar",
"G": "Guayas",
"H": "Chimborazo",
"I": "Imbabura",
"L": "Loja",
"M": "Manabi",
"N": "Napo",
"O": "El Oro",
"P": "Pichincha",
"R": "Los Rios",
"S": "Morona-Santiago",
"SD": "Santo Domingo de los Tsáchilas",
"SE": "Santa Elena",
"T": "Tungurahua",
"U": "Sucumbios",
"W": "Galapagos",
"X": "Cotopaxi",
"Y": "Pastaza",
"Z": "Zamora-Chinchipe"
}
}
+21
View File
@@ -0,0 +1,21 @@
{
"source": "http://www.geonames.org/EE/administrative-division-estonia.html",
"country": "Estonia",
"subdivisions": {
"37": "Harju County",
"39": "Hiiu County",
"44": "Ida-Viru County",
"49": "Jõgeva County",
"51": "Järva County",
"57": "Lääne County",
"59": "Lääne-Viru County",
"65": "Põlva County",
"67": "Pärnu County",
"70": "Rapla County",
"74": "Saare County",
"78": "Tartu County",
"82": "Valga County",
"84": "Viljandi County",
"86": "Võru County"
}
}
+33
View File
@@ -0,0 +1,33 @@
{
"source": "http://www.geonames.org/EG/administrative-division-egypt.html",
"country": "Egypt",
"subdivisions": {
"ALX": "Al Iskandariyah",
"ASN": "Aswan",
"AST": "Asyut",
"BA": "Al Bahr al Ahmar",
"BH": "Al Buhayrah",
"BNS": "Bani Suwayf",
"C": "Al Qahirah",
"DK": "Ad Daqahliyah",
"DT": "Dumyat",
"FYM": "Al Fayyum",
"GH": "Al Gharbiyah",
"GZ": "Al Jizah",
"IS": "Al Isma'iliyah",
"JS": "Janub Sina'",
"KB": "Al Qalyubiyah",
"KFS": "Kafr ash Shaykh",
"KN": "Qina",
"LX": "Al Uqşur",
"MN": "Al Minya",
"MNF": "Al Minufiyah",
"MT": "Matruh",
"PTS": "Bur Sa'id",
"SHG": "Suhaj",
"SHR": "Ash Sharqiyah",
"SIN": "Shamal Sina'",
"SUZ": "As Suways",
"WAD": "Al Wadi al Jadid"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/EH/administrative-division-western-sahara.html",
"country": "Western Sahara",
"subdivisions": []
}
+12
View File
@@ -0,0 +1,12 @@
{
"source": "http://www.geonames.org/ER/administrative-division-eritrea.html",
"country": "Eritrea",
"subdivisions": {
"AN": "Anseba (Keren)",
"DK": "Southern Red Sea (Debub-Keih-Bahri)",
"DU": "Southern (Debub)",
"GB": "Gash-Barka (Barentu)",
"MA": "Central (Maekel)",
"SK": "Northern Red Sea (Semien-Keih-Bahri)"
}
}
+75
View File
@@ -0,0 +1,75 @@
{
"source": "http://www.geonames.org/ES/administrative-division-spain.html",
"country": "Spain",
"subdivisions": {
"A": "Alicante",
"AB": "Albacete",
"AL": "Almería",
"AN": "Comunidad Autónoma de Andalucía",
"AR": "Comunidad Autónoma de Aragón",
"AS": "Comunidad Autónoma del Principado de Asturias",
"AV": "Ávila",
"B": "Barcelona",
"BA": "Badajoz",
"BI": "Vizcaya",
"BU": "Burgos",
"C": "A Coruña",
"CA": "Cádiz",
"CB": "Comunidad Autónoma de Cantabria",
"CC": "Cáceres",
"CE": "Ceuta",
"CL": "Comunidad Autónoma de Castilla y León",
"CM": "Comunidad Autónoma de Castilla-La Mancha",
"CN": "Comunidad Autónoma de Canarias",
"CO": "Córdoba",
"CR": "Ciudad Real",
"CS": "Castellón",
"CT": "Catalunya",
"CU": "Cuenca",
"EX": "Comunidad Autónoma de Extremadura",
"GA": "Comunidad Autónoma de Galicia",
"GC": "Las Palmas",
"GI": "Girona",
"GR": "Granada",
"GU": "Guadalajara",
"H": "Huelva",
"HU": "Huesca",
"IB": "Comunidad Autónoma de las Islas Baleares",
"J": "Jaén",
"L": "Lleida",
"LE": "León",
"LO": "La Rioja",
"LU": "Lugo",
"M": "Madrid",
"MA": "Málaga",
"MC": "Comunidad Autónoma de la Región de Murcia",
"MD": "Comunidad de Madrid",
"ML": "Melilla",
"MU": "Murcia",
"NA": "Navarra",
"NC": "Comunidad Foral de Navarra",
"O": "Asturias",
"OR": "Ourense",
"P": "Palencia",
"PM": "Baleares",
"PO": "Pontevedra",
"PV": "Euskal Autonomia Erkidegoa",
"RI": "Comunidad Autónoma de La Rioja",
"S": "Cantabria",
"SA": "Salamanca",
"SE": "Sevilla",
"SG": "Segovia",
"SO": "Soria",
"SS": "Guipúzcoa",
"T": "Tarragona",
"TE": "Teruel",
"TF": "Santa Cruz de Tenerife",
"TO": "Toledo",
"V": "Valencia",
"VA": "Valladolid",
"VC": "Comunidad Valenciana",
"VI": "Álava",
"Z": "Zaragoza",
"ZA": "Zamora"
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"source": "http://www.geonames.org/ET/administrative-division-ethiopia.html",
"country": "Ethiopia",
"subdivisions": {
"AA": "Addis Ababa",
"AF": "Afar",
"AM": "Amhara",
"BE": "Benishangul-Gumaz",
"DD": "Dire Dawa",
"GA": "Gambela",
"HA": "Hariai",
"OR": "Oromia",
"SN": "Southern Nations - Nationalities and Peoples Region",
"SO": "Somali",
"TI": "Tigray"
}
}
+25
View File
@@ -0,0 +1,25 @@
{
"source": "http://www.geonames.org/FI/administrative-division-finland.html",
"country": "Finland",
"subdivisions": {
"01": "Ahvenanmaa [Finnish] / Åland [Swedish]",
"02": "Etelä-Karjala [Finnish] / Södra Karelen [Swedish]",
"03": "Etelä-Pohjanmaa [Finnish] / Södra Österbotten [Swedish]",
"04": "Etelä-Savo [Finnish] / Södra Savolax [Swedish]",
"05": "Kainuu [Finnish] / Kajanaland [Swedish]",
"06": "Kanta-Häme [Finnish] / Egentliga Tavastland [Swedish]",
"07": "Keski-Pohjanmaa [Finnish] / Mellersta Österbotten [Swedish]",
"08": "Keski-Suomi [Finnish] / Mellersta Finland [Swedish]",
"09": "Kymenlaakso [Finnish] / Kymmenedalen [Swedish]",
"10": "Lappi [Finnish] / Lappland [Swedish]",
"11": "Pirkanmaa [Finnish] / Birkaland [Swedish]",
"12": "Pohjanmaa [Finnish] / Österbotten [Swedish]",
"13": "Pohjois-Karjala [Finnish] / Norra Karelen [Swedish]",
"14": "Pohjois-Pohjanmaa [Finnish] / Norra Österbotten [Swedish]",
"15": "Pohjois-Savo [Finnish] / Norra Savolax [Swedish]",
"16": "Päijät-Häme [Finnish] / Päijänne-Tavastland [Swedish]",
"17": "Satakunta [Finnish and Swedish]",
"18": "Uusimaa [Finnish] / Nyland [Swedish]",
"19": "Varsinais-Suomi [Finnish] / Egentliga Finland [Swedish]"
}
}
+25
View File
@@ -0,0 +1,25 @@
{
"source": "http://www.geonames.org/FJ/administrative-division-fiji.html",
"country": "Fiji",
"subdivisions": {
"01": "Ba Province",
"02": "Bua Province",
"03": "Cakaudrove Province",
"04": "Kadavu Province",
"05": "Lau Province",
"06": "Lomaiviti Province",
"07": "Mathuata Province",
"08": "Nandronga and Navosa Province",
"09": "Naitasiri Province",
"10": "Namosi Province",
"11": "Ra Province",
"12": "Rewa Province",
"13": "Serua Province",
"14": "Tailevu Province",
"C": "Central Division",
"E": "Eastern Division",
"N": "Northern Division",
"R": "Rotuma",
"W": "Western Division"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/FK/administrative-division-falkland-islands.html",
"country": "Falkland Islands",
"subdivisions": []
}
+10
View File
@@ -0,0 +1,10 @@
{
"source": "http://www.geonames.org/FM/administrative-division-micronesia.html",
"country": "Micronesia",
"subdivisions": {
"KSA": "Kosrae",
"PNI": "Pohnpei",
"TRK": "Chuuk",
"YAP": "Yap"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/FO/administrative-division-faroe-islands.html",
"country": "Faroe Islands",
"subdivisions": []
}
+124
View File
@@ -0,0 +1,124 @@
{
"source": "http://www.geonames.org/FR/administrative-division-france.html",
"country": "France",
"subdivisions": {
"01": "Ain",
"02": "Aisne",
"03": "Allier",
"04": "Alpes-de-Haute-Provence",
"05": "Hautes-Alpes",
"06": "Alpes-Maritimes",
"07": "Ardèche",
"08": "Ardennes",
"09": "Ariège",
"10": "Aube",
"11": "Aude",
"12": "Aveyron",
"13": "Bouches-du-Rhône",
"14": "Calvados",
"15": "Cantal",
"16": "Charente",
"17": "Charente-Maritime",
"18": "Cher",
"19": "Corrèze",
"21": "Côte-d'Or",
"22": "Côtes-d'Armor",
"23": "Creuse",
"24": "Dordogne",
"25": "Doubs",
"26": "Drôme",
"27": "Eure",
"28": "Eure-et-Loir",
"29": "Finistère",
"2A": "Corse-du-Sud",
"2B": "Haute-Corse",
"30": "Gard",
"31": "Haute-Garonne",
"32": "Gers",
"33": "Gironde",
"34": "Hérault",
"35": "Ille-et-Vilaine",
"36": "Indre",
"37": "Indre-et-Loire",
"38": "Isère",
"39": "Jura",
"40": "Landes",
"41": "Loir-et-Cher",
"42": "Loire",
"43": "Haute-Loire",
"44": "Loire-Atlantique",
"45": "Loiret",
"46": "Lot",
"47": "Lot-et-Garonne",
"48": "Lozère",
"49": "Maine-et-Loire",
"50": "Manche",
"51": "Marne",
"52": "Haute-Marne",
"53": "Mayenne",
"54": "Meurthe-et-Moselle",
"55": "Meuse",
"56": "Morbihan",
"57": "Moselle",
"58": "Nièvre",
"59": "Nord",
"60": "Oise",
"61": "Orne",
"62": "Pas-de-Calais",
"63": "Puy-de-Dôme",
"64": "Pyrénées-Atlantiques",
"65": "Hautes-Pyrénées",
"66": "Pyrénées-Orientales",
"67": "Bas-Rhin",
"68": "Haut-Rhin",
"69": "Rhône",
"70": "Haute-Saône",
"71": "Saône-et-Loire",
"72": "Sarthe",
"73": "Savoie",
"74": "Haute-Savoie",
"75": "Paris",
"76": "Seine-Maritime",
"77": "Seine-et-Marne",
"78": "Yvelines",
"79": "Deux-Sèvres",
"80": "Somme",
"81": "Tarn",
"82": "Tarn-et-Garonne",
"83": "Var",
"84": "Vaucluse",
"85": "Vendée",
"86": "Vienne",
"87": "Haute-Vienne",
"88": "Vosges",
"89": "Yonne",
"90": "Territoire de Belfort",
"91": "Essonne",
"92": "Hauts-de-Seine",
"93": "Seine-Saint-Denis",
"94": "Val-de-Marne",
"95": "Val-d'Oise",
"ARA": "Auvergne-Rhône-Alpes",
"BFC": "Bourgogne-Franche-Comté",
"BL": "Saint Barthélemy (see also separate ISO 3166-1 entry under BL)",
"BRE": "Bretagne",
"COR": "Corse",
"CP": "Clipperton",
"CVL": "Centre-Val de Loire",
"GES": "Grand Est",
"HDF": "Hauts-de-France",
"IDF": "Île-de-France",
"MF": "Saint Martin (see also separate ISO 3166-1 entry under MF)",
"NAQ": "Nouvelle-Aquitaine",
"NC": "Nouvelle-Calédonie (see also separate ISO 3166-1 entry under NC)",
"NOR": "Normandy",
"OCC": "Occitanie",
"PAC": "Provence-Alpes-Côte d'Azur",
"PDL": "Pays de la Loire",
"PF": "Polynésie française (see also separate ISO 3166-1 entry under PF)",
"PM": "Saint-Pierre-et-Miquelon (see also separate ISO 3166-1 entry under PM)",
"TF": "Terres Australes Françaises (see also separate ISO 3166-1 entry under TF)",
"WF": "Wallis et Futuna (see also separate ISO 3166-1 entry under WF)",
"YT": "Mayotte (see also separate ISO 3166-1 entry under YT)"
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"source": "http://www.geonames.org/GA/administrative-division-gabon.html",
"country": "Gabon",
"subdivisions": {
"1": "Estuaire",
"2": "Haut-Ogooue",
"3": "Moyen-Ogooue",
"4": "Ngounie",
"5": "Nyanga",
"6": "Ogooue-Ivindo",
"7": "Ogooue-Lolo",
"8": "Ogooue-Maritime",
"9": "Woleu-Ntem"
}
}
+227
View File
@@ -0,0 +1,227 @@
{
"source": "http://www.geonames.org/GB/administrative-division-united-kingdom.html",
"country": "United Kingdom",
"subdivisions": {
"ABC": "Armagh City Banbridge and Craigavon",
"ABD": "Aberdeenshire",
"ABE": "Aberdeen",
"AGB": "Argyll and Bute",
"AGY": "Isle of Anglesey",
"AND": "Ards and North Down",
"ANN": "Antrim and Newtownabbey",
"ANS": "Angus",
"BAS": "Bath and North East Somerset",
"BBD": "Blackburn with Darwen",
"BDF": "Bedford",
"BDG": "Barking and Dagenham",
"BEN": "Brent",
"BEX": "Bexley",
"BFS": "Belfast",
"BGE": "Bridgend",
"BGW": "Blaenau Gwent",
"BIR": "Birmingham",
"BKM": "Buckinghamshire",
"BMH": "Bournemouth",
"BNE": "Barnet",
"BNH": "Brighton and Hove",
"BNS": "Barnsley",
"BOL": "Bolton",
"BPL": "Blackpool",
"BRC": "Bracknell Forest",
"BRD": "Bradford",
"BRY": "Bromley",
"BST": "Bristol City of",
"BUR": "Bury",
"CAM": "Cambridgeshire",
"CAY": "Caerphilly",
"CBF": "Central Bedfordshire",
"CCG": "Causeway Coast and Glens",
"CGN": "Ceredigion",
"CHE": "Cheshire East",
"CHW": "Cheshire West and Chester",
"CLD": "Calderdale",
"CLK": "Clackmannanshire",
"CMA": "Cumbria",
"CMD": "Camden",
"CMN": "Carmarthenshire",
"CON": "Cornwall",
"COV": "Coventry (West Midlands district)",
"CRF": "Cardiff",
"CRY": "Croydon",
"CWY": "Conwy",
"DAL": "Darlington",
"DBY": "Derbyshire",
"DEN": "Denbighshire",
"DER": "Derby",
"DEV": "Devon",
"DGY": "Dumfries and Galloway",
"DNC": "Doncaster",
"DND": "Dundee",
"DOR": "Dorset",
"DRS": "Derry City and Strabane",
"DUD": "Dudley (West Midlands district)",
"DUR": "Durham",
"EAL": "Ealing",
"EAY": "East Ayrshire",
"EDH": "Edinburgh",
"EDU": "East Dunbartonshire",
"ELN": "East Lothian",
"ELS": "Eilean Siar",
"ENF": "Enfield",
"ENG": "England",
"ERW": "East Renfrewshire",
"ERY": "East Riding of Yorkshire",
"ESS": "Essex",
"ESX": "East Sussex",
"FAL": "Falkirk",
"FIF": "Fife",
"FLN": "Flintshire",
"FMO": "Fermanagh and Omagh",
"GAT": "Gateshead (Tyne",
"GLG": "Glasgow",
"GLS": "Gloucestershire",
"GRE": "Greenwich",
"GWN": "Gwynedd",
"HAL": "Halton",
"HAM": "Hampshire",
"HAV": "Havering",
"HCK": "Hackney",
"HEF": "Herefordshire County of",
"HIL": "Hillingdon",
"HLD": "Highland",
"HMF": "Hammersmith and Fulham",
"HNS": "Hounslow",
"HPL": "Hartlepool",
"HRT": "Hertfordshire",
"HRW": "Harrow",
"HRY": "Haringey",
"IOS": "Isles of Scilly",
"IOW": "Isle of Wight",
"ISL": "Islington",
"IVC": "Inverclyde",
"KEC": "Kensington and Chelsea",
"KEN": "Kent",
"KHL": "Kingston upon Hull City of",
"KIR": "Kirklees",
"KTT": "Kingston upon Thames",
"KWL": "Knowsley",
"LAN": "Lancashire",
"LBC": "Lisburn and Castlereagh",
"LBH": "Lambeth",
"LCE": "Leicester",
"LDS": "Leeds",
"LEC": "Leicestershire",
"LEW": "Lewisham",
"LIN": "Lincolnshire",
"LIV": "Liverpool",
"LND": "London City of",
"LUT": "Luton",
"MAN": "Manchester",
"MDB": "Middlesbrough",
"MDW": "Medway",
"MEA": "Mid and East Antrim",
"MIK": "Milton Keynes",
"MLN": "Midlothian",
"MON": "Monmouthshire",
"MRT": "Merton",
"MRY": "Moray",
"MTY": "Merthyr Tydfil",
"MUL": "Mid Ulster",
"NAY": "North Ayrshire",
"NBL": "Northumberland",
"NEL": "North East Lincolnshire",
"NET": "Newcastle upon Tyne",
"NFK": "Norfolk",
"NGM": "Nottingham",
"NIR": "Northern Ireland",
"NLK": "North Lanarkshire",
"NLN": "North Lincolnshire",
"NMD": "Newry Mourne and Down",
"NSM": "North Somerset",
"NTH": "Northamptonshire",
"NTL": "Neath Port Talbot",
"NTT": "Nottinghamshire",
"NTY": "North Tyneside",
"NWM": "Newham",
"NWP": "Newport",
"NYK": "North Yorkshire",
"OLD": "Oldham",
"ORK": "Orkney Islands",
"OXF": "Oxfordshire",
"PEM": "Pembrokeshire",
"PKN": "Perth and Kinross",
"PLY": "Plymouth",
"POL": "Poole",
"POR": "Portsmouth",
"POW": "Powys",
"PTE": "Peterborough",
"RCC": "Redcar and Cleveland",
"RCH": "Rochdale",
"RCT": "Rhondda Cynon Taf",
"RDB": "Redbridge",
"RDG": "Reading",
"RFW": "Renfrewshire",
"RIC": "Richmond upon Thames",
"ROT": "Rotherham",
"RUT": "Rutland",
"SAW": "Sandwell",
"SAY": "South Ayrshire",
"SCB": "Scottish Borders The",
"SCT": "Scotland",
"SFK": "Suffolk",
"SFT": "Sefton",
"SGC": "South Gloucestershire",
"SHF": "Sheffield",
"SHN": "St Helens",
"SHR": "Shropshire",
"SKP": "Stockport",
"SLF": "Salford",
"SLG": "Slough",
"SLK": "South Lanarkshire",
"SND": "Sunderland",
"SOL": "Solihull",
"SOM": "Somerset",
"SOS": "Southend-on-Sea",
"SRY": "Surrey",
"STE": "Stoke-on-Trent",
"STG": "Stirling",
"STH": "Southampton",
"STN": "Sutton",
"STS": "Staffordshire",
"STT": "Stockton-on-Tees",
"STY": "South Tyneside",
"SWA": "Swansea",
"SWD": "Swindon",
"SWK": "Southwark",
"TAM": "Tameside",
"TFW": "Telford and Wrekin",
"THR": "Thurrock",
"TOB": "Torbay",
"TOF": "Torfaen",
"TRF": "Trafford",
"TWH": "Tower Hamlets",
"VGL": "Vale of Glamorgan",
"WAR": "Warwickshire",
"WBK": "West Berkshire",
"WDU": "West Dunbartonshire",
"WFT": "Waltham Forest",
"WGN": "Wigan",
"WIL": "Wiltshire",
"WKF": "Wakefield",
"WLL": "Walsall",
"WLN": "West Lothian",
"WLS": "Wales",
"WLV": "Wolverhampton",
"WND": "Wandsworth",
"WNM": "Windsor and Maidenhead",
"WOK": "Wokingham",
"WOR": "Worcestershire",
"WRL": "Wirral",
"WRT": "Warrington",
"WRX": "Wrexham",
"WSM": "Westminster",
"WSX": "West Sussex",
"YOR": "York",
"ZET": "Shetland Islands"
}
}
+13
View File
@@ -0,0 +1,13 @@
{
"source": "http://www.geonames.org/GD/administrative-division-grenada.html",
"country": "Grenada",
"subdivisions": {
"01": "Saint Andrew",
"02": "Saint David",
"03": "Saint George",
"04": "Saint John",
"05": "Saint Mark",
"06": "Saint Patrick",
"10": "Southern Grenadine Islands"
}
}
+18
View File
@@ -0,0 +1,18 @@
{
"source": "http://www.geonames.org/GE/administrative-division-georgia.html",
"country": "Georgia",
"subdivisions": {
"AB": "Abkhazia",
"AJ": "Ajaria",
"GU": "Guria",
"IM": "Imereti",
"KA": "Kakheti",
"KK": "Kvemo Kartli",
"MM": "Mtskheta-Mtianeti",
"RL": "Racha Lechkhumi and Kvemo Svaneti",
"SJ": "Samtskhe-Javakheti",
"SK": "Shida Kartli",
"SZ": "Samegrelo-Zemo Svaneti",
"TB": "Tbilisi"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/GF/administrative-division-french-guiana.html",
"country": "French Guiana",
"subdivisions": []
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/GG/administrative-division-guernsey.html",
"country": "Guernsey",
"subdivisions": []
}
+16
View File
@@ -0,0 +1,16 @@
{
"source": "http://www.geonames.org/GH/administrative-division-ghana.html",
"country": "Ghana",
"subdivisions": {
"AA": "Greater Accra Region",
"AH": "Ashanti Region",
"BA": "Brong-Ahafo Region",
"CP": "Central Region",
"EP": "Eastern Region",
"NP": "Northern Region",
"TV": "Volta Region",
"UE": "Upper East Region",
"UW": "Upper West Region",
"WP": "Western Region"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/GI/administrative-division-gibraltar.html",
"country": "Gibraltar",
"subdivisions": []
}
+11
View File
@@ -0,0 +1,11 @@
{
"source": "http://www.geonames.org/GL/administrative-division-greenland.html",
"country": "Greenland",
"subdivisions": {
"AV": "Avannaata",
"KU": "Kujalleq",
"QE": "Qeqqata",
"QT": "Qeqertalik",
"SM": "Sermersooq"
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"source": "http://www.geonames.org/GM/administrative-division-gambia.html",
"country": "Gambia",
"subdivisions": {
"B": "Banjul",
"L": "Lower River",
"M": "Central River",
"N": "North Bank",
"U": "Upper River",
"W": "Western"
}
}
+47
View File
@@ -0,0 +1,47 @@
{
"source": "http://www.geonames.org/GN/administrative-division-guinea.html",
"country": "Guinea",
"subdivisions": {
"B": "Boké",
"BE": "Beyla",
"BF": "Boffa",
"BK": "Boke",
"C": "Conakry",
"CO": "Coyah",
"D": "Kindia",
"DB": "Dabola",
"DI": "Dinguiraye",
"DL": "Dalaba",
"DU": "Dubreka",
"F": "Faranah",
"FA": "Faranah",
"FO": "Forecariah",
"FR": "Fria",
"GA": "Gaoual",
"GU": "Gueckedou",
"K": "Kankan",
"KA": "Kankan",
"KB": "Koubia",
"KD": "Kindia",
"KE": "Kerouane",
"KN": "Koundara",
"KO": "Kouroussa",
"KS": "Kissidougou",
"L": "Labé",
"LA": "Labe",
"LE": "Lelouma",
"LO": "Lola",
"M": "Mamou",
"MC": "Macenta",
"MD": "Mandiana",
"ML": "Mali",
"MM": "Mamou",
"N": "Nzérékoré",
"NZ": "Nzerekore",
"PI": "Pita",
"SI": "Siguiri",
"TE": "Telimele",
"TO": "Tougue",
"YO": "Yomou"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/GP/administrative-division-guadeloupe.html",
"country": "Guadeloupe",
"subdivisions": []
}
+15
View File
@@ -0,0 +1,15 @@
{
"source": "http://www.geonames.org/GQ/administrative-division-equatorial-guinea.html",
"country": "Equatorial Guinea",
"subdivisions": {
"AN": "Provincia Annobon",
"BN": "Provincia Bioko Norte",
"BS": "Provincia Bioko Sur",
"C": "Región Continental",
"CS": "Provincia Centro Sur",
"I": "Región Insular",
"KN": "Provincia Kie-Ntem",
"LI": "Provincia Litoral",
"WN": "Provincia Wele-Nzas"
}
}
+71
View File
@@ -0,0 +1,71 @@
{
"source": "http://www.geonames.org/GR/administrative-division-greece.html",
"country": "Greece",
"subdivisions": {
"01": "Nomós Aitolías kai Akarnanías",
"03": "Nomós Voiotías",
"04": "Nomós Evvoías",
"05": "Nomós Evrytanías",
"06": "Nomós Fthiótidos",
"07": "Nomós Fokídos",
"11": "Nomós Argolídos",
"12": "Nomós Arkadías",
"13": "Nomós Achaḯas",
"14": "Nomós Ileías",
"15": "Nomós Korinthías",
"16": "Nomós Lakonías",
"17": "Nomós Messinías",
"21": "Nomós Zakýnthou",
"22": "Nomós Kerkýras",
"23": "Nomós Kefallinías",
"24": "Nomós Lefkádas",
"31": "Nomós Ártis",
"32": "Nomós Thesprotías",
"33": "Nomós Ioannínon",
"34": "Nomós Prevézis",
"41": "Nomós Kardhítsas",
"42": "Nomós Larísis",
"43": "Nomós Magnisías",
"44": "Nomós Trikálon",
"51": "Nomós Grevenón",
"52": "Nomós Drámas",
"53": "Nomós Imathías",
"54": "Nomós Thessaloníkis",
"55": "Nomós Kaválas",
"56": "Nomós Kastoriás",
"57": "Nomós Kilkís",
"58": "Nomós Kozánis",
"59": "Nomós Péllis",
"61": "Nomós Pierías",
"62": "Nomós Serrón",
"63": "Nomós Florínis",
"64": "Nomós Chalkidikís",
"69": "Agio Oros",
"71": "Nomós Évrou",
"72": "Nomós Xánthis",
"73": "Nomós Rodópis",
"81": "Nomós Dodekanísou",
"82": "Nomós Kykládon",
"83": "Nomós Lésvou",
"84": "Nomós Sámou",
"85": "Nomós Chíou",
"91": "Nomós Irakleíou",
"92": "Nomós Lasithíou",
"93": "Nomós Rethýmnis",
"94": "Nomós Chaniás",
"A": "Anatoliki Makedonia kai Thraki",
"A1": "Nomós Attikís",
"B": "Kentriki Makedonia",
"C": "Dytiki Makedonia",
"D": "Ipeiros",
"E": "Thessalia",
"F": "Ionia Nisia",
"G": "Dytiki Ellada",
"H": "Sterea Ellada",
"I": "Attiki",
"J": "Peloponnisos",
"K": "Voreio Aigaio",
"L": "Notio Aigaio",
"M": "Kriti"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/GS/administrative-division-south-georgia-and-the-south-sandwich-islands.html",
"country": "South Georgia and the South Sandwich Islands",
"subdivisions": []
}
+28
View File
@@ -0,0 +1,28 @@
{
"source": "http://www.geonames.org/GT/administrative-division-guatemala.html",
"country": "Guatemala",
"subdivisions": {
"AV": "Alta Verapaz",
"BV": "Baja Verapaz",
"CM": "Chimaltenango",
"CQ": "Chiquimula",
"ES": "Escuintla",
"GU": "Guatemala",
"HU": "Huehuetenango",
"IZ": "Izabal",
"JA": "Jalapa",
"JU": "Jutiapa",
"PE": "El Peten",
"PR": "El Progreso",
"QC": "El Quiche",
"QZ": "Quetzaltenango",
"RE": "Retalhuleu",
"SA": "Sacatepequez",
"SM": "San Marcos",
"SO": "Solola",
"SR": "Santa Rosa",
"SU": "Suchitepequez",
"TO": "Totonicapan",
"ZA": "Zacapa"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"source": "http://www.geonames.org/GU/administrative-division-guam.html",
"country": "Guam",
"subdivisions": []
}
+18
View File
@@ -0,0 +1,18 @@
{
"source": "http://www.geonames.org/GW/administrative-division-guinea-bissau.html",
"country": "Guinea-Bissau",
"subdivisions": {
"BA": "Bafata Region",
"BL": "Bolama Region",
"BM": "Biombo Region",
"BS": "Bissau Region",
"CA": "Cacheu Region",
"GA": "Gabu Region",
"L": "Leste",
"N": "Norte",
"OI": "Oio Region",
"QU": "Quinara Region",
"S": "Sul",
"TO": "Tombali Region"
}
}

Some files were not shown because too many files have changed in this diff Show More