update ai
Browse files- regions_geojson.py +6 -4
regions_geojson.py
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
REGIONS = [
|
| 2 |
"Marmara",
|
| 3 |
"Ege",
|
|
@@ -8,7 +10,7 @@ REGIONS = [
|
|
| 8 |
"Güneydoğu Anadolu"
|
| 9 |
]
|
| 10 |
|
| 11 |
-
# Simplified GeoJSON
|
| 12 |
TURKEY_REGIONS_GEOJSON = {
|
| 13 |
"type": "FeatureCollection",
|
| 14 |
"features": [
|
|
@@ -17,7 +19,7 @@ TURKEY_REGIONS_GEOJSON = {
|
|
| 17 |
"properties": {"name": "Marmara"},
|
| 18 |
"geometry": {
|
| 19 |
"type": "Polygon",
|
| 20 |
-
"coordinates": [[[
|
| 21 |
}
|
| 22 |
},
|
| 23 |
{
|
|
@@ -25,7 +27,7 @@ TURKEY_REGIONS_GEOJSON = {
|
|
| 25 |
"properties": {"name": "Ege"},
|
| 26 |
"geometry": {
|
| 27 |
"type": "Polygon",
|
| 28 |
-
"coordinates": [[[
|
| 29 |
}
|
| 30 |
},
|
| 31 |
{
|
|
@@ -69,4 +71,4 @@ TURKEY_REGIONS_GEOJSON = {
|
|
| 69 |
}
|
| 70 |
}
|
| 71 |
]
|
| 72 |
-
}
|
|
|
|
| 1 |
+
# regions_geojson.py
|
| 2 |
+
|
| 3 |
REGIONS = [
|
| 4 |
"Marmara",
|
| 5 |
"Ege",
|
|
|
|
| 10 |
"Güneydoğu Anadolu"
|
| 11 |
]
|
| 12 |
|
| 13 |
+
# Simplified GeoJSON structure
|
| 14 |
TURKEY_REGIONS_GEOJSON = {
|
| 15 |
"type": "FeatureCollection",
|
| 16 |
"features": [
|
|
|
|
| 19 |
"properties": {"name": "Marmara"},
|
| 20 |
"geometry": {
|
| 21 |
"type": "Polygon",
|
| 22 |
+
"coordinates": [[[26,42],[30,42],[30,40],[26,40],[26,42]]]
|
| 23 |
}
|
| 24 |
},
|
| 25 |
{
|
|
|
|
| 27 |
"properties": {"name": "Ege"},
|
| 28 |
"geometry": {
|
| 29 |
"type": "Polygon",
|
| 30 |
+
"coordinates": [[[26,40],[30,40],[30,38],[26,38],[26,40]]]
|
| 31 |
}
|
| 32 |
},
|
| 33 |
{
|
|
|
|
| 71 |
}
|
| 72 |
}
|
| 73 |
]
|
| 74 |
+
}
|