<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
that was it. Thanks both to Kevin and jean-David.<br>
<br>
<br>
<br>
Kevin Jardine wrote:<br>
<blockquote cite="mid4157E2DA.9020707@int.gl3" type="cite">***********************
<br>
Your mail has been scanned by InterScan VirusWall.
<br>
***********-***********
<br>
<br>
<br>
I believe that you are missing a set of brackets after MULTIPOLYGON. A
POLYGON is a list of rings and has two sets of brackets. A MULTIPOLYGON
is a list of POLYGONs and so has 3 brackets.
<br>
<br>
Cheers,
<br>
Kevin
<br>
<br>
Guillaume SUEUR (Géosignal) wrote:
<br>
<br>
<blockquote type="cite">HI there,
<br>
<br>
This statement :
<br>
<br>
INSERT INTO polysTemp (idSession, taille, couleur, interieur,the_geom)
VALUES
('94d91bd4793280a26ba83abe4abc3412','5','33CC00','33FF66','MULTIPOLYGON((526802
154535, 517313 148794, 515240 142414, 521539 139225, 528557 139225,
534139 145604, 532943 152781, 526802 154535))');
<br>
<br>
returns
<br>
*Warning*: pg_query(): Query failed: ERROR: couldnt parse object in
GEOMETRY
<br>
<br>
What's wrong ? It works with MULTILINESTRING on another table.
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<style>
a.lienBlanc {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
color: #D57311;
text-decoration: none
}
a.lienBlanc:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
color: #D57311;
text-decoration: underline
}
.fake {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 6px;
font-weight: normal;
color: #D57311;
text-decoration: none
}
</style>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tbody>
<tr>
<td height="21" valign="bottom" width="240">
<hr></td>
</tr>
<tr>
<td align="center" height="19" valign="top"><font
face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Guillaume
SUEUR</b></font></td>
</tr>
<tr>
<td align="center" height="24" valign="top"><font
face="Verdana, Arial, Helvetica, sans-serif" size="2"><a
href="mailto:guillaume.sueur@geosignal.fr" class="lienBlanc">guillaume.sueur@geosignal.fr</a></font></td>
</tr>
<tr>
<td class="fake"> </td>
</tr>
<tr>
<td align="center" height="75" valign="top"><a
href="http://www.geosignal.fr"><br>
</a></td>
</tr>
<tr>
<td align="center" height="20" valign="bottom">
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">25
bis Av. Marcel Dassault </font></p>
</td>
</tr>
<tr>
<td align="center" height="23" valign="top"><font
face="Verdana, Arial, Helvetica, sans-serif" size="2"> BP 5836 31505
Toulouse Cedex 5</font></td>
</tr>
<tr>
<td align="center" height="16" valign="top"><font
face="Verdana, Arial, Helvetica, sans-serif" size="2">tél :
05.61.17.47.17</font></td>
</tr>
<tr>
<td align="center" height="16" valign="top"><font
face="Verdana, Arial, Helvetica, sans-serif" size="2">fax :
05.61.54.30.14</font></td>
</tr>
<tr>
<td height="23" valign="top">
<hr></td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>