Description Usage Arguments References Examples
Import a RasterLayer object into a PostGIS database.
1 | pgisWriteRaster(rast, tbl, dbname, crs)
|
rast |
RasterLayer object. |
tbl |
character; name of the table created. |
dbname |
character; name of the database. |
crs |
numeric(4); EPSG code of the Coordinate Reference System. |
https://postgis.net/docs/using_raster_dataman.html
1 2 3 | library(spData)
data(elev)
pgisWriteRaster(elev, dbname="foodflows", crs=2154)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.