well... I forgot to tell that when I changed the getXySqlQuery function in the QueryableLayer.php in order to print the query (as Oliver told me), nothing was printed, it was as if I had not changed anything. So there might be some problem here?<br><br>thanks<br>G.<br><br><br><b><i>guillaume champlong <goutosig@yahoo.fr></i></b> a écrit :<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Thanks Damien for answering quickly ; <br><br>my new toolTips.ini :<br><br>timeout_async.Antiq1.label = "Antiquity"<br>timeout_async.Antiq1.dsn = "pgsql://champlong:champlong@localhost:5432/atlas"<br>timeout_async.Antiq1.dbTableName = atlas<br>timeout_async.Antiq1.attributes = "site,antiq1,link"<br>timeout_async.Antiq1.geomColName = "the_geom"<br>timeout_async.Antiq1.srid = 4326<br><br>I tried several ways with the quotes, but still, it does not work.<br>maybe I can show you some of my
mapfile:<br><br>LAYER<br> NAME 'Antiq1'<br> TYPE POINT<br>...<br>DATA "the_geom FROM (select the_geom,limk,site, gid,antiq1 from atlas where antiq1 != '') as foo using unique gid"<br>...<br> TEMPLATE "ttt"<br> METADATA<br> "id_attribute_string" "gid | int"<br> "query_returned_attributes" "site antiq1 link" <br> END<br> FILTER 'antiq1 IS NOT NULL'<br><br>Can you see anything wrong?<br>thanks<br>G.<br><br><b><i>Damien Corpataux <damien.corpataux@camptocamp.com></i></b> a écrit :<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> Hello,<br> <br> If the JS Debugger doesn't issue an error or stop in the middle of the action, you got all the inclusions right. Then you should try to have a look at the timeout_async.Antiq1 configuration. It seems like the query is OK, but never
returns anything; you can try to set the following additional parameters in your config file:<br> <br> timeout_async.Antiq1.srid - the srid of your geometries (default -1)<br> timeout_async.Antiq1.geomColName - the name of you geom column (geom by default)<br> <br> Reagrds,<br> Damien<br> <br> <br> guillaume champlong wrote: <blockquote cite="mid453392.70712.qm@web27315.mail.ukl.yahoo.com" type="cite">Hi all,<br> <br> I am trying to use the toolTips plugins on my project, but the JS Debugger always notes that there is no result to my request.<br> I activated the plugin in my client.ini, added a toolTips.ini file in client_conf:<br> <br> timeout_async.Antiq1.label = "Antiquity"<br> timeout_async.Antiq1.dsn = "pgsql://myuser:mypasswd@localhost:5432/mydb"<br> timeout_async.Antiq1.dbTableName = atlas<br> timeout_async.Antiq1.attributes = "site,antiq1,link"<br> <br> I added <br> <br> {if $toolTips_active|default:''}<br> <script
type="text/javascript" <br> src="{r type=js plugin=toolTips}overlib_mini.js{/r}"></script><br> <script type="text/javascript"<br> src="{r type=js plugin=toolTips}ToolTips.ajax.js{/r}"></script><br> {/if}<br> <br> to my cartoclient.tpl header ;<br> Antiq1 is the name of my mapfile layer, as well as my cartoweb.ini layer ;<br> the connection to my DB is ok since the query plugin works...<br> <br> Did I forget anything?<br> <br> <br> thanks<br> G.<br> <div> </div> <hr size="1"> Ne gardez plus qu'une seule adresse mail ! <a href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail <pre wrap=""><hr size="4" width="90%"> _______________________________________________ Cartoweb-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a> <a
class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a> </pre> </blockquote> <br> <br> <div class="moz-signature">-- <br> <style> <!-- .signature { font-family:verdana,helvetica,sans-serif; font-size:0.8em; line-height: 1.25em; color: #9999BB; width: 27em; } .signature div { padding: 0.22em; margin-bottom: 0.5em; margin-top: 0.5em; border-bottom: 1px dotted lightgray; background-color: #FCFCFF; } .signature .attention { background-color: #FFFAFA; color: #FFBBBB; font-size: 0.8em; font-weight: bold; } .header { } --> </style> <div class="signature"> <div> <span style="font-weight: bold;">Camptocamp SA</span><br> Damien Corpataux<br> PSE A<br> CH-1015 Lausanne<br> </div> <div> +41 21 619 10 22 <span class="header">(Direct)</span><br> +41 21 619 10 10 <span class="header">(Centrale)</span><br> +41 21 619 10 00 <span
class="header">(Fax)</span><br> </div> <div style="color: rgb(102, 204, 102);"> <span style="position: relative; top: -3px; font-family: Webdings; font-size: 24pt;">P</span> <span style="">Please consider the environment <br> Do you really need to print this email?</span> </div> </div> </div> </blockquote><br><div> </div><hr size="1"> Ne gardez plus qu'une seule adresse mail ! <a href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail </blockquote><br><p> 
<hr size="1">
Ne gardez plus qu'une seule adresse mail ! <a href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail