<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=273424412-26082008><FONT face=Arial 
color=#0000ff size=2>OIDS=true is obsolete because it has limitations on size 
and PostgreSQL in general has been trying to get people to stop using it for 
general user tables.  Mapserver works fine for me without it and uses the 
gid field.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=273424412-26082008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=273424412-26082008><FONT face=Arial 
color=#0000ff size=2>What sort of problem are you having? Could be a completely 
different issue or you are running a really old version of 
mapserver.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=273424412-26082008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=273424412-26082008><FONT face=Arial 
color=#0000ff size=2>Hope that helps,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=273424412-26082008><FONT face=Arial 
color=#0000ff size=2>Regina</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
postgis-users-bounces@postgis.refractions.net 
[mailto:postgis-users-bounces@postgis.refractions.net] <B>On Behalf Of 
</B>fsalas<BR><B>Sent:</B> Tuesday, August 26, 2008 9:04 AM<BR><B>To:</B> 
postgis-users@postgis.refractions.net<BR><B>Subject:</B> [postgis-users] problem 
with OIDS<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><FONT size=2>
<P>Hi, </P>
<P>in this moment I have problems with mapserver and postgis.</FONT><FONT 
face="Times New Roman"><FONT size=3> </FONT></P></FONT><FONT size=2>
<P>This is the sentence create with shp2pgsql.exe why set the </FONT><FONT 
face="Times New Roman"><FONT size=3>WITH (OIDS=FALSE)?;</FONT></P>
<P>How I can change this to OIDS=TRUE</P></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>CREATE TABLE areasalud<BR>(<BR>  gid serial 
NOT NULL,<BR>  codasalud bigint,<BR>  "version" bigint,<BR>  
descasalud character varying(40),<BR>  geoloc geometry,<BR>  
CONSTRAINT areasalud_pkey PRIMARY KEY (gid),<BR>  CONSTRAINT 
enforce_dims_geoloc CHECK (ndims(geoloc) = 2),<BR>  CONSTRAINT 
enforce_geotype_geoloc CHECK (geometrytype(geoloc) = 'MULTIPOLYGON'::text OR 
geoloc IS NULL),<BR>  CONSTRAINT enforce_srid_geoloc CHECK (srid(geoloc) = 
2085)<BR>)<BR>WITH (OIDS=TRUE);<BR>ALTER TABLE areasalud OWNER TO 
postgres;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>bets regards </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Salas</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2></FONT> </DIV><BR>___________________________________<BR>Dpto de 
Sistemas Informáticos<BR>Oficina Central Grupo Empresarial GEOCUBA<BR>Este 
mensaje esta libre de virus. <BR>Revisado por Kaspersky 
Antivirus<BR>----------------------------------------------------------------------<BR>Engine 
version: 4.0.1.14 Engine date: 2002/06/25 Definition count: 1019980 Definition 
date: 2008/08/26 MDAV version: 2.2.9 <BR></BODY></HTML>

<HTML><BODY><P><hr size=1></P>
<P><STRONG>
The substance of this message, including any attachments, may be confidential, legally privileged and/or exempt from disclosure pursuant to Massachusetts law. It is intended solely for the addressee. If you received this in error, please contact the sender and delete the material from any computer.
</STRONG></P></BODY></HTML>

<P><hr size=1></P>
<P><STRONG><font size="2" color="339900"> Help make the earth a greener place. If at all possible resist printing this email and join us in saving paper. </p> <p> </font></STRONG></P>