View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0000048 | gvSIG Community Edition | Database connectivity | public | 2011-06-17 14:49 | 2013-11-25 12:14 |
|
Reporter | indigomap | |
Assigned To | | |
Priority | high | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | |
Platform | windows_intelx86 | OS | Windows 32 bit | OS Version | 2000/XP/Vista/7 |
Product Version | unspecified | |
Target Version | gvSIG CE 1.0.2 | Fixed in Version | | |
|
Summary | 0000048: Adding a PostGIS layer - lack of serial column and/or primary key causes exception |
Description | gvSIG needs a column with primary key and sequence to function properly with PostGIS-tables.
If a geometry table contains only one single column of type geometry, gvSIG displays the error: "Can't read the driver: PostGIS Driver".
Expected result:
Data showed after a warning message like "Geometry table contains no column with primary key and sequence. It is not possible to edit, ... this table."
Menu entries to start editing should be greyed out. |
Steps To Reproduce | Try to add layer test:
create table test();
select addgeometrycolumn('test','geom','31468','MULTIPOLYGON',2);
|
Tags | No tags attached. |
|
Attached Files | |
|