DOI-USGS / hurricane-irma

Creative Commons Zero v1.0 Universal
55 stars 20 forks source link

Cleanup viz storm region specification. #86

Open dblodgett-usgs opened 7 years ago

dblodgett-usgs commented 7 years ago

We've got some sprawl in the specification of the storm area. Some places need a list of states, other places just take a simple polygon. There's also a view box for the whole viz.

We should have the view-limits function handle all this stuff with:
Option 1) two inputs, a bounding box and a storm area.
Option 2) Or we could just use the bounding box and not have a separate storm area.

This will involve one output from view-limits that is a spatial polygon in lat/lon projection for selection of counties or other spatial units and a named list like: list(FL = "florida") for use in selection of things by state.

This should fit into the existing viz cleanly and clean up a bit of sprawl we've generated.

jordansread commented 7 years ago

I prefer option 1