Instalación de Postgis

Fuentes


dnf -y install postgis

Es necesario habilitar cada base de datos

psql -U postgres -c "CREATE DATABASE nombre_database WITH OWNER nombre_usuario;"
psql -U postgres -d nombre_database -c "CREATE EXTENSION postgis;"
psql -U postgres -d nombre_database -c "CREATE EXTENSION postgis_topology;"
psql -U postgres -d nombre_database -c "SELECT postgis_version();"