Hi,
I've been trying to run the Shortest Path algo from the "Kanagawa" sample on my own server, but the result is as follows:
Warning: Error?: msDrawMap(): Failed to draw layer named 'path'. in /usr/local/apache2/htdocs/routingj/phtmls/sp.backup.phtml on line 77
Warning: Error?: msPOSTGISLayerWhichShapes(): Error executing POSTGIS SQL statement (in FETCH ALL): DECLARE mycursor BINARY CURSOR FOR SELECT asbinary(force_collection(force_2d(the_geom)),'NDR'),gid::text from (select gid, the_geom from shortest_path_astar2_as_geometry_internal_id('kanagawa', 76309, 124369, 139.038158611, 35.0904878914, 139.490447778, 35.4605426641)) as g WHERE the_geom && setSRID('BOX3D(139.038158611111 35.090487891414,139.490447777778 35.4605426641416)'::BOX3D, -1 ) -ERROR: operator does not exist: text
boolean LINE 1: ...l( $8 ) | ' , ' | quote_literal( $9 ) | ' , | $10 | '... HINT: No operator matches the given name and argument type(s). You may need to add explicit type casts. QUERY: SELECT $1 | 'FROM ' | quote_ident( $2 ) | ' where setSRID('BOX3D(' | $3 | ' ' | $4 | ',' | $5 | ' ' | $6 | ')'::BOX3D, ' | $7 | ') && the_geom, ' | quote_literal( $8 ) | ' , ' | quote_literal( $9 ) | ' , | in /usr/local/apache2/htdocs/routingj/phtmls/sp.backup.phtml on line 77
Fatal error: Call to a member function saveWebImage() on a non-object in /usr/local/apache2/htdocs/routingj/phtmls/sp.backup.phtml on line 78
Does anyone ever run into this problem?
Anything anyone can offer to help?
Thanks,
ned
Change History
|