Yes you are right,<div><br></div><div>  I renamed the table replacing the first letter with a capital ("Agenda" instead of "agenda") but constraints were built when the table was "agenda". I renamed the table again and it works now.<br>
<br>Many thanks Matej.</div><div>Stathis</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Fri, Oct 19, 2012 at 11:48 AM, Matej Mailing <span dir="ltr"><<a href="mailto:mailing@tam.si" target="_blank">mailing@tam.si</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
try to execute this query from the PostgreSQL console as the same user<br>
as specified in the mapfile and in the same db:<br>
"SELECT the_geom FROM Agenda"<br>
<br>
Perhaps it is some upper/lowercase issue or maybe wrong DB selected ...<br>
<br>
Regards,<br>
Matej<br>
<br>
2012/10/19 Efstathios Arapostathis <<a href="mailto:e.arapostathis@gmail.com">e.arapostathis@gmail.com</a>>:<br>
<div><div class="h5">> Hi guys,<br>
><br>
>   Apparently I have not used geomoose for a long period of time, so I'm<br>
> stucked again in issues that I have solved in the past.<br>
> I was wondering if you could provide me with some feedback. I'm having<br>
> problems in displaying a postgis layer in geomoose 2.6. I'm getting a pink<br>
> image and when I'm trying to follow the link (from mozilla firefox on the<br>
> sub menu tools-->page info-->multimedia) no error message is provided.<br>
> Instead a popup window appears in order to save mapserv.exe file(!!)<br>
><br>
> I enabled debug in the map file and this is the log I'm receiving. I cannot<br>
> really understand it. Could anyone help me please?<br>
><br>
> [Fri Oct 19 11:20:39 <a href="tel:2012%5D.971000" value="+12012971000">2012].971000</a> CGI Request 1 on process 4992<br>
> [Fri Oct 19 11:20:37 2012].936000 CGI Request 1 on process 3524<br>
> [Fri Oct 19 11:20:37 2012].940000 msDrawMap(): rendering using outputformat<br>
> named agg/png (AGG/PNG).<br>
> [Fri Oct 19 11:20:40 2012].106000 msPostGISLayerWhichShapes(): Query error.<br>
> Error (ERROR:  relation "agenda" does not exist<br>
> LINE 1: ...e_2D("the_geom"),'NDR'),'hex') as geom,"gid" from Agenda whe...<br>
>                                                              ^<br>
> ) executing query: select<br>
> encode(ST_AsBinary(ST_Force_2D("the_geom"),'NDR'),'hex') as geom,"gid" from<br>
> Agenda where the_geom && GeomFromText('POLYGON((2646964.79596457<br>
> 4577985.29374734,2646964.79596457 4584071.59212366,2657943.06415043<br>
> 4584071.59212366,2657943.06415043 4577985.29374734,2646964.79596457<br>
> 4577985.29374734))',find_srid('','Agenda','the_geom'))<br>
> [Fri Oct 19 11:20:40 2012].106000 msDrawMap(): Image handling error. Failed<br>
> to draw layer named 'Agenda'.<br>
> [Fri Oct 19 11:20:38 2012].473000 CGI Request 1 on process 4848<br>
> [Fri Oct 19 11:20:38 2012].619000 msDrawMap(): rendering using outputformat<br>
> named agg/png (AGG/PNG).<br>
> [Fri Oct 19 11:20:40 2012].199000 msPostGISLayerWhichShapes(): Query error.<br>
> Error (ERROR:  relation "agenda" does not exist<br>
> LINE 1: ...e_2D("the_geom"),'NDR'),'hex') as geom,"gid" from Agenda whe...<br>
><br>
><br>
> "Agenda" Is the name of the Table of the "CulturalGIS" database. It is a<br>
> POINT PostGIS Layer, I'm attaching the map file.<br>
><br>
> Thanks in advance for any responses<br>
> Stathis<br>
><br>
</div></div>> _______________________________________________<br>
> Geomoose-users mailing list<br>
> <a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
><br>
</blockquote></div><br></div>