Skip to content

Commit

Permalink
Add puerto rico and the us virgin islands
Browse files Browse the repository at this point in the history
Some of our data exists for puerto rico now

topojson from topojson/us-atlas#36

```
git clone [email protected]:topojson/us-atlas.git
cd us-atlas
yarn install
bash prepublish
```

open `counties-albers-10m.json` and use the following regex to find and replace all county names (they're redundant)

`,"properties":\{"name":".*?"\}`

Note: any roads, waterways, rails, etc need to be projected to match the PR albers projection, using the PR projection code matching the one in that repo
  • Loading branch information
cypressf committed Apr 4, 2021
1 parent caaeded commit e4fcf60
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/usa.json

Large diffs are not rendered by default.

83 changes: 82 additions & 1 deletion src/Counties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3141,5 +3141,86 @@ const counties = Map([["01001","Autauga"],
["56039","Teton"],
["56041","Uinta"],
["56043","Washakie"],
["56045","Weston"],]);
["56045","Weston"],
["72001","Adjuntas"],
["72003","Aguada"],
["72005","Aguadilla"],
["72007","Aguas Buenas"],
["72009","Aibonito"],
["72011","Anasco"],
["72013","Arecibo"],
["72015","Arroyo"],
["72017","Barceloneta"],
["72019","Barranquitas"],
["72021","Bayamon"],
["72023","Cabo Rojo"],
["72025","Caguas"],
["72027","Camuy"],
["72029","Canovanas"],
["72031","Carolina"],
["72033","Catano"],
["72035","Cayey"],
["72037","Ceiba"],
["72039","Ciales"],
["72041","Cidra"],
["72043","Coamo"],
["72045","Comerio"],
["72047","Corozal"],
["72049","Culebra"],
["72051","Dorado"],
["72053","Fajardo"],
["72054","Florida"],
["72055","Guanica"],
["72057","Guayama"],
["72059","Guayanilla"],
["72061","Guaynabo"],
["72063","Gurabo"],
["72065","Hatillo"],
["72067","Hormigueros"],
["72069","Humacao"],
["72071","Isabela"],
["72073","Jayuya"],
["72075","Juana Diaz"],
["72077","Juncos"],
["72079","Lajas"],
["72081","Lares"],
["72083","Las Marias"],
["72085","Las Piedras"],
["72087","Loiza"],
["72089","Luquillo"],
["72091","Manati"],
["72093","Maricao"],
["72095","Maunabo"],
["72097","Mayaguez"],
["72099","Moca"],
["72101","Morovis"],
["72103","Naguabo"],
["72105","Naranjito"],
["72107","Orocovis"],
["72109","Patillas"],
["72111","Penuelas"],
["72113","Ponce"],
["72115","Quebradillas"],
["72117","Rincon"],
["72119","Rio Grande"],
["72121","Sabana Grande"],
["72123","Salinas"],
["72125","San German"],
["72127","San Juan"],
["72129","San Lorenzo"],
["72131","San Sebastian"],
["72133","Santa Isabel"],
["72135","Toa Alta"],
["72137","Toa Baja"],
["72139","Trujillo Alto"],
["72141","Utuado"],
["72143","Vega Alta"],
["72145","Vega Baja"],
["72147","Vieques"],
["72149","Villalba"],
["72151","Yabucoa"],
["72153","Yauco"],
["78010","St. Croix Island"],
["78020","St. John Island"],
["78030","St. Thomas Island"],]);
export default counties;

0 comments on commit e4fcf60

Please sign in to comment.