<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Your PRIMARY KEY is "gid" not ID.<br>
<br>
try:<br>
<br>
<i><span lang="EN-US">DATA 'the_geom FROM
"public"."Fiumi_riproiettato" USING UNIQUE <font
color="#ff0000">gid</font> USING <font color="#ff0000">SRID=</font>5223'</span></i>
<div class="moz-signature"><br>
<br>
<b>Worth Lutz</b><br>
------------------<br>
<br>
</div>
On 01/19/2015 04:26 AM, Maiorano Pasquale wrote:<br>
</div>
<blockquote
cite="mid:909214C1813780458B3E4EABE7D156830741F095@ssi-mail.ssi.it"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear Brent Fraser and
everybody,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The “Create Table”
statement from Postgres is the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">CREATE TABLE "Fiumi_riproiettato"<o:p></o:p></p>
<p class="MsoNormal">(<o:p></o:p></p>
<p class="MsoNormal"> gid serial NOT NULL,<o:p></o:p></p>
<p class="MsoNormal"> <span lang="EN-US">"Nome" character
varying(80),<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "Luinghezza" integer,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> the_geom
geometry(LineString),<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> CONSTRAINT
"Fiumi_riproiettato_pkey" PRIMARY KEY (gid)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">WITH (<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span>OIDS=FALSE<o:p></o:p></p>
<p class="MsoNormal">);<o:p></o:p></p>
<p class="MsoNormal">ALTER TABLE "Fiumi_riproiettato"<o:p></o:p></p>
<p class="MsoNormal"> <span lang="EN-US">OWNER TO postgres;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m looking forward to
hearing You,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Pasquale<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></pre>
</blockquote>
<br>
</body>
</html>