Open 7yl4r opened 6 years ago
Initial investigations in aquamaps_ingest.Rmd...
*.csv
to *.tif
, eg from speciesoccursum_ver0816c.csv
SpeciesID == "ITS-Mam-180537"
(North Atlantic right whale Eubalaena glacialis) to ITS-Mam-180537.tif
:https://www.aquamaps.org/preMap2.php?cache=1&SpecID=ITS-Mam-180537
For the 24,904 species, it took 8.8 hours and the output *.tif's used 472 MB.
Research on storing in PostGIS and doing intersection operations, especially:
st_intersection()
function and st_intersects()
operator which operates directly on raster and geometries by vectorizing only the necessary part of the raster before doing the intersection and is one of the main feature of PostGIS WKT Raster"
Explorer: load data into PostGIS database: AquaMaps
Notes for MBON & AquaMaps - Google Docs