Bon j'ai encore ce probleme lors de l'envoi du test europe
je me retrouve avec ça
...
Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named 'testgis'. in /var/www/phpmapscript/testgisphpmapscript.php on line 155
Warning: [MapServer Error]: prepare_database(): Error executing POSTGIS DECLARE (the actual query) statement: 'DECLARE mycursor BINARY CURSOR FOR SELECT pays::text,asbinary(force_collection(force_2d(the_geom)),'NDR'),geometry_columns.srid::text from europe as foo WHERE the_geom && setSRID('BOX3D(-99 -702.513,442 155.513)'::BOX3D, -1 )'
Postgresql reports the error as 'ERREUR: Entrée manquante de la clause FROM pour la table «geometry_columns» '
More Help:
Error with POSTGIS data variable. You specified ''.
Standard ways of specifiying are :
(1) 'geometry_column from geometry_table'
(2) 'geometry_column from () as foo using unique using SRID='
Make sure you put in the 'using unique ' and 'using SRID=#' clauses in.
For more help, please see http://postgis.refractions.net/documentation.php
Mappostgis.c - version of Jan 23/2004. in /var/www/phpmapscript/testgisphpmapscript.php on line 155
Fatal error: Call to a member function saveWebImage() on a non-object in /var/www/phpmapscript/testgisphpmapscript.php on line 156
Du coup je me demande si ça ne vient pas du script php, mais je n'ai rien trouvé, il me parle d'une clause from pas trouvé dans la table geometry_columns... bref
Merci pour votre aide