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.
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.