Hello List,<br><br>I try to use the routing plugin, but I have a problem with the SRID, I follow all steps to adapt the plugin into my proyect, in my layers I use srid=4326, and in the tables of the plugin I change the srid from the database and the layers to srid=4326, exist any file that I have to change too?.<br>
This is the error:<br><br><pre style="border: 0pt none ; font-family: verdana,sans-serif;"><b>Class : SoapFaultWrapper<br>Message : MapServer error: Error in msDrawMap(): Failed to draw layer named 'graph'.<br><br>
Error in 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 the_geom, gid from routing_results where results_id IN (10)) as foo WHERE the_geom && setSRID('BOX3D(150609.329116945 608504.8625,153344 610417.7625)'::BOX3D, -1 )<br>
-ERROR: Operation on two geometries with different SRIDs<br><br>Backtrace:<br><br>file: 226 - C:\ms4w\apps\cartoweb3\coreplugins\images\server\ServerImages.php<br>call: ServerContext->checkMsErrors()<br><br>file: 311 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<br>
call: ServerImages->drawMainmap(Object(Images))<br><br>file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<br>call: Cartoserver->doGetMap(Object(MapRequest))<br><br>file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<br>
call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))<br><br>file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php<br>call: Cartoserver->cacheGetMap(Object(MapRequest))<br><br>file: 184 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php<br>
call: MapResultCache->getMapResultFromServer(Object(MapRequest))<br><br>file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php<br>call: MapResultCache->getMap(Object(MapRequest))<br><br>file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<br>
call: Cartoserver->getMap(Object(MapRequest))<br><br>file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<br>call: CartoserverService->callDirect("getMap", Object(MapRequest))<br><br>file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php<br>
call: CartoserverService->callFunction("getMap", Object(MapRequest))<br><br>file: 948 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<br>call: CartoserverService->getMap(Object(MapRequest))<br><br>file: 1086 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<br>
call: Cartoclient->getMapResultFromRequest(Object(MapRequest))<br><br>file: 1261 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php<br>call: Cartoclient->doMain()<br><br>file: 38 - C:\ms4w\apps\cartoweb3\htdocs\client.php<br>
call: Cartoclient->main()<br></b><br clear="all"></pre>Thanks for your help =).<br>-- <br>Thanks and Regards<br>Karol<br>