marinebon / sdg14

Products for Sustainable Development Goal 14 on Life in the Sea
http://marinebon.github.io/sdg14
3 stars 0 forks source link

add AquaMaps data #35

Open 7yl4r opened 6 years ago

7yl4r commented 6 years ago

Explorer: load data into PostGIS database: AquaMaps

Notes for MBON & AquaMaps - Google Docs

bbest commented 6 years ago

Initial investigations in aquamaps_ingest.Rmd...

CSV to TIF

  1. Initial conversion from *.csv to *.tif, eg from speciesoccursum_ver0816c.csv SpeciesID == "ITS-Mam-180537" (North Atlantic right whale Eubalaena glacialis) to ITS-Mam-180537.tif:

its-mam-180537

https://www.aquamaps.org/preMap2.php?cache=1&SpecID=ITS-Mam-180537

image

For the 24,904 species, it took 8.8 hours and the output *.tif's used 472 MB.

Rasters in PostGIS

Research on storing in PostGIS and doing intersection operations, especially: