Não consigo criar p...
 
Notifications
Clear all

Não consigo criar projeto


(@diegovarelacagepa-pb-gov-br)
Active Member
Joined: 4 years ago
Posts: 7
Topic starter  

Ao tentar criar um novo projeto com os dados do exemplo na versão 3.10 do QGIS e versão 3.4.034 estou recebendo a seguinte mensagem:

 

File name: giswater\actions\update_sql.py

Function name: read_execute_file

Line number: 2412

Description:

type "raster" does not exist

LINE 12: rast raster,

^

SQL file:

C:\Users\Cagepa\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\giswater\sql\updates\33\33008\utils\\ddl.sql

SQL:

/*

This file is part of Giswater 3

The program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This version of Giswater is provided by Giswater Association

*/

SET search_path = giswater, public, pg_catalog;

 

CREATE TABLE raster_dem(

id serial NOT NULL PRIMARY KEY,

rast raster,

rastercat_id varchar(16));

 

CREATE TABLE cat_raster(

id varchar(16) NOT NULL PRIMARY KEY,

code varchar(30),

alias varchar(50),

raster_type varchar(30),

descript text,

source text,

provider varchar(30),

year varchar(4),

tstamp timestamp without time zone DEFAULT now(),

insert_user character varying(50) DEFAULT "current_user"());

 

Schema name: None


Quote
(@jlsala)
New Member
Joined: 4 years ago
Posts: 1
 

Boa tarde Diego,

se você tem PostGIS 3.x instalado, tente instalar no banco de dados (SQL):

create extension postgis_raster;

Sds


ReplyQuote
(@diegovarelacagepa-pb-gov-br)
Active Member
Joined: 4 years ago
Posts: 7
Topic starter  

Obrigado @jlsala, funcionou perfeitamente.


ReplyQuote
Share: