<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>SELECT Object id #336 doesnt look like correct
sql.</FONT></DIV>
<DIV><FONT size=2>I would say some error occured when the sql was
generated.</FONT></DIV>
<DIV><FONT size=2>the $resultsId variable doesnt seem to be replaced
correctly.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>try to add:</FONT></DIV>
<DIV><FONT size=2>x($resultsId);</FONT></DIV>
<DIV><FONT size=2>at the beginning of the the getNodes function in
ServerDemoRouting.php</FONT></DIV>
<DIV><FONT size=2>this will display the content of the variable and stop further
execution of the program.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Let me know whats the result</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=goutosig@yahoo.fr href="mailto:goutosig@yahoo.fr">guillaume
champlong</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">carto web</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, June 24, 2007 7:18 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] routing
module</DIV>
<DIV><BR></DIV>hi,<BR><BR>I have a problem with my routing module; everything
works on pgsql (functions, etc) but when I launch a research in my
cartoclient, I have this error:<BR><BR><PRE>class: SoapFaultWrapper<BR>message: Error quering routing database Message: DB Error: unknown error Userinfo: INSERT INTO routing_results SELECT Object id #336, 1182704023, gid, the_geom FROM route500_44 WHERE edge_id = 533 [nativecode=ERREUR: erreur de syntaxe sur ou pr�s de �id� at character 43]<BR>Backtrace:<BR><BR>file: 69 - /www/cartoweb3/projects/carene/plugins/demoRouting/server/ServerDemoRouting.php<BR>call: Utils::checkDbError(Object(DB_Error), "Error quering routing database")</PRE>here's
the mapfile layer:<BR>LAYER<BR> NAME
"graph"<BR> TYPE
LINE<BR> STATUS ON<BR>
CONNECTIONTYPE postgis<BR>
CONNECTION "user=my_user password=my_passwd host=localhost
dbname=my_db"<BR> DATA "the_geom from
routing_results"<BR> TEMPLATE
"ttt"<BR>END<BR> I specified the name of the column containing the
name of the towns in the routing.ini (client side), as well as the name of the
vertices table.<BR><BR>can you tell me where this problem comes
from?<BR><BR>thanks
<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
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>