May 2017
Beginner to intermediate
328 pages
7h 17m
English
raster2pgsql is the default tool for importing rasters to PostGIS. Even though GDAL itself does not provide means to load rasters to the database, raster2pgsql is compiled as a part of PostGIS and therefore supports the very same formats as the GDAL version appropriate for given version of PostGIS.
raster2pgsql is a command-line tool. In order to review its parameters, simply type in the console:
raster2pgsql
While taking a while to get familiar with the raster2pgsql help is an advised approach, here are some params that worth highlighting:
Read now
Unlock full access