Tue, Nov 22 2005
18:40:01
|
|
Request created by guest
|
|
Subject: FID column error
Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 6.0.0
Dear Sirs,
It seems that the FID column error persists...
look at this output:
v.external 'dsn=PG:host=localhost user=postgres dbname=postgres' output=cartofunchal_5000
layer=funchal
ERROR 1: ERROR: column "fid" does not exist
DBMI-OGR driver error:
Cannot select:
select FID from funchal where FID = -1
Building topology ...
Random read is not supported by OGR for this layer, cannot build support.
CREATE TABLE funchal
(
gid int4 NOT NULL DEFAULT nextval('funchal_gid_seq'::regclass),
layer varchar,
color int4,
the_geom geometry,
CONSTRAINT funchal_pkey PRIMARY KEY (gid),
CONSTRAINT enforce_dims_the_geom CHECK (ndims(the_geom) = 4),
CONSTRAINT enforce_geotype_the_geom CHECK (geometrytype(the_geom) = 'MULTILINESTRING'::text
OR the_geom IS NULL),
CONSTRAINT enforce_srid_the_geom CHECK (srid(the_geom) = -1)
)
WITHOUT OIDS;
ALTER TABLE funchal OWNER TO postgres;
Is this fixed in version 6.0.1 ? If not, what can I do to circumvent this?
Best regards,
Pedro Doria Meunier |
|
Tue, Nov 29 2005
18:31:45
|
|
Mail sent by mneteler
|
|
Pedro Doria Meunier,
I think that it is fixed in 6.1-CVS. We have added/fixed OGR FID
support also for Oracle there.
The file in question in lib/vector/Vlib/field.c. However, I am
not sure if we can backport this to GRASS 6.0.x since we don't
want to break it.
Can you try 6.1-CVS?
Markus |
|
Tue, Nov 29 2005
19:22:37
|
|
Mail sent by doriastudios@netmadeira.com
|
|
Return-Path |
<doriastudios@netmadeira.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<002201c5f511$e0eb8df0$5dd6bed5@mainserver>
|
From |
"Doria Multimedia Studios" <doriastudios@netmadeira.com>
|
To |
"Markus Neteler via RT" <grass-bugs@intevation.de>
|
References |
<20051129173145.CEEAD1005D9@lists.intevation.de>
|
Subject |
Re: [bug #3856] (grass) FID column error
|
Date |
Tue, 29 Nov 2005 18:22:38 -0000
|
MIME-Version |
1.0
|
Content-Type |
text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
|
Content-Transfer-Encoding |
7bit
|
X-Priority |
3
|
X-MSMail-Priority |
Normal
|
X-Mailer |
Microsoft Outlook Express 6.00.2900.2180
|
X-MimeOLE |
Produced By Microsoft MimeOLE V6.00.2900.2180
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
Dear Markus,
Thank for your reply. I've tried 6.1 CVS and it's fixed :-)
Best regards,
Pedro Doria Meunier
----- Original Message -----
From: "Markus Neteler via RT" <grass-bugs@intevation.de>
To: <pdoria@netmadeira.com>
Sent: Tuesday, November 29, 2005 5:31 PM
Subject: [bug #3856] (grass) FID column error
> Pedro Doria Meunier,
>
> I think that it is fixed in 6.1-CVS. We have added/fixed OGR FID
> support also for Oracle there.
>
> The file in question in lib/vector/Vlib/field.c. However, I am
> not sure if we can backport this to GRASS 6.0.x since we don't
> want to break it.
>
> Can you try 6.1-CVS?
>
> Markus
>
> -------------------------------------------- Managed by Request Tracker
>
|
|
Wed, Nov 30 2005
07:31:07
|
|
Comments added by dcalvelo
|
|
Ok, so it's fixed. Closing. |
|
Wed, Nov 30 2005
07:31:17
|
|
Status changed to resolved by dcalvelo
|
|