[postgis-users] problem with OIDS

fsalas fsalas at geocuba.cu
Tue Aug 26 06:04:18 PDT 2008


in this moment I have problems with mapserver and postgis. 

This is the sentence create with shp2pgsql.exe why set the WITH (OIDS=FALSE)?;

How I can change this to OIDS=TRUE

CREATE TABLE areasalud
  gid serial NOT NULL,
  codasalud bigint,
  "version" bigint,
  descasalud character varying(40),
  geoloc geometry,
  CONSTRAINT areasalud_pkey PRIMARY KEY (gid),
  CONSTRAINT enforce_dims_geoloc CHECK (ndims(geoloc) = 2),
  CONSTRAINT enforce_geotype_geoloc CHECK (geometrytype(geoloc) = 'MULTIPOLYGON'::text OR geoloc IS NULL),
  CONSTRAINT enforce_srid_geoloc CHECK (srid(geoloc) = 2085)
ALTER TABLE areasalud OWNER TO postgres;

bets regards 


Dpto de Sistemas Informáticos
Oficina Central Grupo Empresarial GEOCUBA
Este mensaje esta libre de virus. 
Revisado por Kaspersky Antivirus
Engine version:
Engine date:  2002/06/25
Definition count:  1019980
Definition date:  2008/08/26
MDAV version: 2.2.9

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080826/506ba79d/attachment.html>

More information about the postgis-users mailing list