I am a student and to learn more about PostGIS. I installed it to my Raspberry Pi, so that I can remotely access it via my laptop. The installation worked with the exception of the raster module.
When I execute
CREATE EXTENSION postgis_raster; I get the following Output:
SQL-ERROR [58P01]: ERROR: could not open extension control file "/usr/share/postgresql/11/extension/postgis_raster.control": No such file or directory
This was rather unexpected since all the other extensions e.g. postgis_topology or postgis_sfcgal worked fine. The file is indeed not in the directory.
Here is a quick overview:
OS = Raspberry Pi OS
POSTGIS= 2.5.1 r17027
GEOS= 3.7.1-CAPI-1.11.1 27a5e771
PROJ= Rel. 5.2.0
GDAL= GDAL 2.4.0
I enabled all the GDAL drivers
SELECT short_name FROM ST_GDALDrivers();returns 144 drivers that are enabled. Also raster2pgsql is installed.
Am I missing something here? From what I understand since 2.0 ships with the raster extension disabled, how can I activate it?