[Gfoss] View in postgis per qgis

Andrea Aime aaime at openplans.org
Tue Jun 5 08:52:57 CEST 2007


feurbano a clix.pt ha scritto:

>     "Qgis requires that the view has a column that can be used as a
>     unique key. Such a column should be derived from a table column of
>     type int4 and be a primary key, have a unique constraint on it, or
>     be a PostgreSQL oid column."

Beh, puoi provare con un altro visualizzatore (uDig dovrebbe riuscirci),
oppure l'altra soluzione brutale è quella di fare una create table as 
select *** e poi una alter table per aggiungere la chiave primaria.

Nessuna delle due è una soluzione "ideale", ma non so suggerire di meglio.

Ciao
Andrea



More information about the Gfoss mailing list