Skip to content

Commit

Permalink
Correctly sort cities by name and county (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie authored Oct 12, 2024
1 parent 1e35e77 commit 311b654
Show file tree
Hide file tree
Showing 20 changed files with 602 additions and 602 deletions.
36 changes: 18 additions & 18 deletions data/cities/us/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -9261,44 +9261,44 @@
{
"country": "US",
"region": "AR",
"county": "Pope",
"county": "Carroll",
"name": "Oak Grove",
"lat": "35.3594",
"long": "-92.9598",
"lat": "36.4642",
"long": "-93.4302",
"nearby_rate_centers": [
{
"name": "HECTOR",
"distance_km": 11.17
"name": "OAK GROVE",
"distance_km": 1.12
},
{
"name": "ATKINS",
"distance_km": 13.53
"name": "GREEN FOR",
"distance_km": 14.54
},
{
"name": "DOVER",
"distance_km": 14.95
"name": "BERRYVILLE",
"distance_km": 16.25
}
]
},
{
"country": "US",
"region": "AR",
"county": "Carroll",
"county": "Pope",
"name": "Oak Grove",
"lat": "36.4642",
"long": "-93.4302",
"lat": "35.3594",
"long": "-92.9598",
"nearby_rate_centers": [
{
"name": "OAK GROVE",
"distance_km": 1.12
"name": "HECTOR",
"distance_km": 11.17
},
{
"name": "GREEN FOR",
"distance_km": 14.54
"name": "ATKINS",
"distance_km": 13.53
},
{
"name": "BERRYVILLE",
"distance_km": 16.25
"name": "DOVER",
"distance_km": 14.95
}
]
},
Expand Down
124 changes: 62 additions & 62 deletions data/cities/us/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -5627,44 +5627,44 @@
{
"country": "US",
"region": "CA",
"county": "Shasta",
"county": "Fresno",
"name": "Centerville",
"lat": "40.5430",
"long": "-122.4638",
"lat": "36.7361",
"long": "-119.4961",
"nearby_rate_centers": [
{
"name": "REDDING",
"distance_km": 7.67
"name": "TIVYVALLEY",
"distance_km": 4.58
},
{
"name": "OLINDA",
"distance_km": 12.52
"name": "SANGER",
"distance_km": 5.88
},
{
"name": "ANDERSON",
"distance_km": 17.33
"name": "DEL REY",
"distance_km": 12.09
}
]
},
{
"country": "US",
"region": "CA",
"county": "Fresno",
"county": "Shasta",
"name": "Centerville",
"lat": "36.7361",
"long": "-119.4961",
"lat": "40.5430",
"long": "-122.4638",
"nearby_rate_centers": [
{
"name": "TIVYVALLEY",
"distance_km": 4.58
"name": "REDDING",
"distance_km": 7.67
},
{
"name": "SANGER",
"distance_km": 5.88
"name": "OLINDA",
"distance_km": 12.52
},
{
"name": "DEL REY",
"distance_km": 12.09
"name": "ANDERSON",
"distance_km": 17.33
}
]
},
Expand Down Expand Up @@ -7240,28 +7240,6 @@
}
]
},
{
"country": "US",
"region": "CA",
"county": "Shasta",
"name": "Cottonwood",
"lat": "40.3903",
"long": "-122.3156",
"nearby_rate_centers": [
{
"name": "COTTONWOOD",
"distance_km": 2.96
},
{
"name": "ANDERSON",
"distance_km": 7.08
},
{
"name": "OLINDA",
"distance_km": 10.55
}
]
},
{
"country": "US",
"region": "CA",
Expand Down Expand Up @@ -7292,6 +7270,28 @@
}
]
},
{
"country": "US",
"region": "CA",
"county": "Shasta",
"name": "Cottonwood",
"lat": "40.3903",
"long": "-122.3156",
"nearby_rate_centers": [
{
"name": "COTTONWOOD",
"distance_km": 2.96
},
{
"name": "ANDERSON",
"distance_km": 7.08
},
{
"name": "OLINDA",
"distance_km": 10.55
}
]
},
{
"country": "US",
"region": "CA",
Expand Down Expand Up @@ -10878,28 +10878,6 @@
}
]
},
{
"country": "US",
"region": "CA",
"county": "Marin",
"name": "Fairfax",
"lat": "37.9886",
"long": "-122.5952",
"nearby_rate_centers": [
{
"name": "SAN RAFAEL",
"distance_km": 6.12
},
{
"name": "CORTEMADRA",
"distance_km": 7.68
},
{
"name": "IGNACIO",
"distance_km": 9.63
}
]
},
{
"country": "US",
"region": "CA",
Expand Down Expand Up @@ -10930,6 +10908,28 @@
}
]
},
{
"country": "US",
"region": "CA",
"county": "Marin",
"name": "Fairfax",
"lat": "37.9886",
"long": "-122.5952",
"nearby_rate_centers": [
{
"name": "SAN RAFAEL",
"distance_km": 6.12
},
{
"name": "CORTEMADRA",
"distance_km": 7.68
},
{
"name": "IGNACIO",
"distance_km": 9.63
}
]
},
{
"country": "US",
"region": "CA",
Expand Down
36 changes: 18 additions & 18 deletions data/cities/us/ct.json
Original file line number Diff line number Diff line change
Expand Up @@ -1709,44 +1709,44 @@
{
"country": "US",
"region": "CT",
"county": "Southeastern Connecticut",
"county": "Greater Bridgeport",
"name": "Long Hill",
"lat": "41.3536",
"long": "-72.0517",
"lat": "41.2666",
"long": "-73.2283",
"nearby_rate_centers": [
{
"name": "NEW LONDON",
"distance_km": 3.91
"name": "TRUMBULL",
"distance_km": 0.64
},
{
"name": "MYSTIC",
"distance_km": 7.0
"name": "HUNTINGTON",
"distance_km": 7.29
},
{
"name": "LEDYARD",
"distance_km": 8.7
"name": "BRIDGEPORT",
"distance_km": 10.25
}
]
},
{
"country": "US",
"region": "CT",
"county": "Greater Bridgeport",
"county": "Southeastern Connecticut",
"name": "Long Hill",
"lat": "41.2666",
"long": "-73.2283",
"lat": "41.3536",
"long": "-72.0517",
"nearby_rate_centers": [
{
"name": "TRUMBULL",
"distance_km": 0.64
"name": "NEW LONDON",
"distance_km": 3.91
},
{
"name": "HUNTINGTON",
"distance_km": 7.29
"name": "MYSTIC",
"distance_km": 7.0
},
{
"name": "BRIDGEPORT",
"distance_km": 10.25
"name": "LEDYARD",
"distance_km": 8.7
}
]
},
Expand Down
36 changes: 18 additions & 18 deletions data/cities/us/ga.json
Original file line number Diff line number Diff line change
Expand Up @@ -1851,44 +1851,44 @@
{
"country": "US",
"region": "GA",
"county": "Morgan",
"county": "Bryan",
"name": "Buckhead",
"lat": "33.5686",
"long": "-83.3623",
"lat": "31.8613",
"long": "-81.2623",
"nearby_rate_centers": [
{
"name": "MADISON",
"distance_km": 10.18
"name": "KELLER",
"distance_km": 2.1
},
{
"name": "GREENSBORO",
"distance_km": 16.68
"name": "RICHMONDHL",
"distance_km": 4.57
},
{
"name": "RUTLEDGE",
"distance_km": 24.15
"name": "MIDWAY",
"distance_km": 16.26
}
]
},
{
"country": "US",
"region": "GA",
"county": "Bryan",
"county": "Morgan",
"name": "Buckhead",
"lat": "31.8613",
"long": "-81.2623",
"lat": "33.5686",
"long": "-83.3623",
"nearby_rate_centers": [
{
"name": "KELLER",
"distance_km": 2.1
"name": "MADISON",
"distance_km": 10.18
},
{
"name": "RICHMONDHL",
"distance_km": 4.57
"name": "GREENSBORO",
"distance_km": 16.68
},
{
"name": "MIDWAY",
"distance_km": 16.26
"name": "RUTLEDGE",
"distance_km": 24.15
}
]
},
Expand Down
Loading

0 comments on commit 311b654

Please sign in to comment.