Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly sort cities by name and county #30

Merged
merged 2 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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