<p style="margin:0;padding:0;" align="left">OK, sorry, I just found the problem, it's because I had some spaces around the definition of my SRID in my mapfile:<br /> SRID = 27573 instead of SRID=27573 <br /> <br /> It' s kind of strange because I have the same thing for other layers that work perfectly....!!!...<br /> <br /> Thanks!<br /> Claire</p> <br /> <br /> <br /><br /><blockquote style="border-left: 2px solid #ff0000; padding-left: 5px; margin-left: 5px">&gt; Message du 26/09/08 15:47<br />&gt; De : &quot;Oliver Christen&quot; <br />&gt; A : &quot;Claire Chastagnol&quot; , cartoweb-users@lists.maptools.org<br />&gt; Copie &agrave; : <br />&gt; Objet : Re: [Cartoweb-users] problems with complexe sql query<br />&gt; <br />&gt;   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta content="MSHTML 6.00.6000.16705" /> <style></style>  <p style="margin:0;padding:0;"><font size="2">care to give us an example please ?</font></p> <blockquote style="border-left: 2px solid #000000; padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px">   <p style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal">----- Original Message ----- </p>   <p style="background: #e4e4e4 none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal"><strong>From:</strong>    <a href="mailto:chastagnol.claire@wanadoo.fr" title="chastagnol.claire@wanadoo.fr">Claire Chastagnol</a> </p>   <p style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal"><strong>To:</strong> <a href="mailto:cartoweb-users@lists.maptools.org" title="cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</a>    </p>   <p style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal"><strong>Sent:</strong> Friday, September 26, 2008 3:24    PM</p>   <p style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal"><strong>Subject:</strong> [Cartoweb-users] problems with    complexe sql query</p>   <p style="margin:0;padding:0;"><br />&gt; </p>   <p style="margin: 0px; padding: 0px" align="left">Hi,<br />&gt; <br />&gt; I have some problems with my mapscript and the sql    queries.<br />&gt; Each time I make a query with 2 tables joined, I have this    error:<br />&gt; </p><pre style="border: 0pt none "><font color="#ff0000">Postgresql reports the error as 'ERREUR:  find_srid() - couldnt find the corresponding SRID <br />&gt; - is the geometry registered in the GEOMETRY_COLUMNS table?  Is there an uppercase/lowercase missmatch?</font><br />&gt; <br />&gt; It's weird because the queries work fine in postgres and I have no srid problems with the layer when I make a simple query...<br />&gt; <br />&gt; Someone know about this problem?<br />&gt; Thanks.<br />&gt; Claire<br />&gt; </pre><br />&gt; <br />&gt;    <p>&gt; </p>   <p>&gt;    </p><hr />    <p>&gt; </p>_______________________________________________<br />&gt; Cartoweb-users    mailing    list<br />&gt; Cartoweb-users@lists.maptools.org<br />&gt; http://lists.maptools.org/mailman/listinfo/cartoweb-users<br />&gt; </blockquote><br /></blockquote>