Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arastu/iran
Administrative divisions of Iran in json and xml formats - تقسیمات کشوری ایران با فرمت جیسان و ایکس ام ال
https://github.com/arastu/iran
administrative-divisions cities iran isfahan json province shiraz tehran xml
Last synced: 6 days ago
JSON representation
Administrative divisions of Iran in json and xml formats - تقسیمات کشوری ایران با فرمت جیسان و ایکس ام ال
- Host: GitHub
- URL: https://github.com/arastu/iran
- Owner: arastu
- License: mit
- Created: 2015-06-04T12:15:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T20:17:06.000Z (over 4 years ago)
- Last Synced: 2024-03-21T02:45:01.975Z (10 months ago)
- Topics: administrative-divisions, cities, iran, isfahan, json, province, shiraz, tehran, xml
- Language: JavaScript
- Homepage:
- Size: 1.8 MB
- Stars: 220
- Watchers: 17
- Forks: 37
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![NPM](https://nodei.co/npm/iran.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/iran/)
# Administrative divisions of Iran
## List of Iran cities in json and xml format based on administrative divisions of Iran.
sources: Pars html tables at [http://portal2.moi.ir/Portal/Home/Default.aspx?CategoryID=8f931308-c67e-4cf4-a5e7-3c1bbb1a6f32](http://portal2.moi.ir/Portal/Home/Default.aspx?CategoryID=8f931308-c67e-4cf4-a5e7-3c1bbb1a6f32)On the first level of country subdivisions of Iran are the provinces.
Each province is further subdivided into counties called shahrestan (Persian: شهرستان shahrestān), and each shahrestan is subdivided into districts called bakhsh (Persian: بخش bakhsh). There are usually a few cities (Persian: شهر shahr) in each county.# Downloads (Right-click, and use "Save As")
Version 1.0.2 [Source code (zip)](https://github.com/arastu/iran/archive/1.0.2.zip)
Version 1.0.2 [Source code (tar.gz)](https://github.com/arastu/iran/archive/1.0.2.tar.gz)
# Installation
```Node.js npm install iran```
```Require.js require([“iran”], ...```
```Bower bower install iran```
```Angular.js angular.module('yourApp', [‘iran’])…```
# Related Project
- [iran-locality-database](https://github.com/jafaripur/iran-locality-database) by [@Jafaripur](https://github.com/jafaripur)
- [iran-cities-json](https://github.com/spsycoder/iran-cities-json) by [@spsycoder](https://github.com/spsycoder)
- [iran-geojson](https://github.com/n4cr/iran-geojson) by [@n4cr](https://github.com/n4cr)
- [IranCountryDivisions](https://github.com/Hameds/IranCountryDivisions) by [@Hameds](https://github.com/Hameds)
- [iran-cities](https://github.com/ahmadazizi/iran-cities) by [@ahmadazizi](https://github.com/ahmadazizi)