[Portugal] Erro ao inserir um shapefile no qgis "Add postGis layer"

legio nostra legio.patria at gmail.com
Thu Oct 14 12:17:08 EDT 2010


Olá a todos,

Estou a tentar inserir um shapefile através do ícone "Add postGis layer", e
quando escolho o layer pretendido,
ele abre perfeitamente sem dar qualquer tipo de erro.

Se gravar o projecto Qgis e sair e depois tentar abrir o mesmo projecto,
aparece esta mensagem de erro:


2 cursor states lost.

SQL: declare qgisf13 binary cursor for select
"gid",asbinary("the_geom",'NDR'),"OBJECTID_1"::text,"Dicofre"::text,"Freguesia"::text,"Municipio"::text,"Distrito_"::text,"Area_EA_Ha"::text,"Area_T_Ha"::text,"TAA"::text,"AREA"::text,"PERIMETER"::text,"OBJECTID"::text,"FREGS01_"::text,"FREGS01_ID"::text,"FRNUM01"::text,"AREA_ha"::text,"Shape_area"::text,"Shape_len"::text
from "LIMITES_ADMINISTRATIVOS"."LA_FREGUESIAS_PG"

Result: 7 (ERROR: DECLARE CURSOR can only be used in transaction blocks

)


Faço fechar a janela, e abre logo outra com outra mensagem de erro:



1 cursor states lost.

SQL: CLOSE qgisf12

Result: 7 (ERROR: cursor "qgisf12" does not exist

)


Este ficheiro vem da CAOP 2010, e quando foi introduzido na BD "PgAdmin
III", nao deu nenhum erro.


Alguém sabe o que possa ser este erro, e como se pode corrigir?


Obrigado pela ajuda.


Orlando
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: http://lists.osgeo.org/pipermail/portugal/attachments/20101014/9b0ad863/attachment.html


More information about the Portugal mailing list