propublica / stateface

A typeface of U.S. state shapes to use in web apps.
http://propublica.github.com/stateface/
MIT License
360 stars 26 forks source link

Create Puerto Rico Icon #21

Open geoffreyrose opened 7 years ago

geoffreyrose commented 7 years ago

It would be cool if you could add icons for Puerto Rico and the other US Territories

mileswwatkins commented 6 years ago

I'd also love to have the US territories in this typeface. It looks like a Puerto Rican shapefile is already in the repository, so integrating it might not be too bad. The contribution docs are pretty minimal, but appending PR onto the national shapefile and then continuing processing like normal (while adding state plane and other state-specific configuration for PR) could get us most of the way.

https://github.com/propublica/stateface/blob/master/tools/us-states/pr-no-water.shp

kleinmatic commented 6 years ago

Hey @mileswwatkins

I'm game if you are. If you can make a pull request that includes simplified shapes in both albers and state plane for the territories I'll add them to the font. For extra credit you can edit the cpp and ruby code that generates those shapes (look in the tools directory), but life is short, if you can make/send me the right eps's I'll make a new font, and boom.

Cheers Scott

mileswwatkins commented 6 years ago

Awesome @kleinmatic! We have some ambitions to use stateface on the new openstates.org, as glyphs in state-selection dropdowns, and elsewhere on the site. If our designer thinks this makes sense (instead of, say, simpler SVGs), then I'll dive in with a PR … for PR.