[GRASS5] [bug #3856] (grass) FID column error

Request Tracker grass-bugs at intevation.de
Tue Nov 22 12:40:01 EST 2005


this bug's URL: http://intevation.de/rt/webrt?serial_num=3856
-------------------------------------------------------------------------

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

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list