An open API service indexing awesome lists of open source software.

https://github.com/efefurkankarakaya/turkiye-cities-and-districts

Türkiye's city (with geolocation) and district data in JSON
https://github.com/efefurkankarakaya/turkiye-cities-and-districts

city district geolocation geolocation-data json turkiye turkiye-il turkiye-il-ilce turkiye-il-ilce-listesi turkiye-il-isimleri turkiye-sehirler

Last synced: about 2 months ago
JSON representation

Türkiye's city (with geolocation) and district data in JSON

Awesome Lists containing this project

README

        

# Cities and Districts (in JSON)

The original data is obtained from the publicly available page at https://uetds.uab.gov.tr/teknik-dokuman.

## What's Different?

- Original data was in excel format and is converted to JSON and added geolocation data for the cities.

- Sorted according to the city code, each index actually references to the city code.

- Each district sorted alphabetically according to the UTF-8.

- Each city has their geolocation data with latitude and longitude.

## Data Structure

Note: The first object is empty, as intended. City codes start from 1, and I wanted the array to follow the same structure.

```
data: [
{
"cityName": string,
"cityCode": number,
"location": {
"latitude": string,
"longitude": string
},
districts: string[]
}
]
```