marinebon / sdg14-shiny

Shiny apps related to MBON SDG14
https://marinebon.github.io/sdg14-shiny
1 stars 0 forks source link

Multiple region choices (not just EEZ) #3

Open 7yl4r opened 6 years ago

7yl4r commented 6 years ago

from CJ:

As I was clicking I wanted to focus on a region. Would it be possible to revise the code so the US EEZ is segmented into three additional stand-alone regions? Wouldn't that reduce the amount of data per sort?

Pacific coast (mainland) Atlantic Coast (mainland) Gulf of Mexico -- through the Florida Bay?

Laura had a similar question about a different country, if I recall.

7yl4r commented 6 years ago

Ideally we want to support multiple regional segmentations (EEZ, LME, EBSA, MEOW, MPA, sub-country GADM states/provinces) in addition to custom regions.

First: this requires a UI change on the explorer to allow region-segment selection.

Next: region polygons need to be loaded into the postreSQL database. Here is how is was done w/ the current EEZs.

Lastly: indicies need to be computed for each regions & the data loaded into postgres. I think extant code for that is here.

7yl4r commented 6 years ago

Custom regions would be harder to do. Probably need another issue for it:

Drawing custom regions to extract?