public function routeBetweenGeom($sourceGeom, $targetGeom)
    {
        $driver     = $this->getDriver();
        $srid       = $this->getSrid();
        $sourceNode = $driver->getNodeFromGeom($this->waysVerticesTableName, $this->waysGeomFieldName, $sourceGeom, $srid, 'id');
        $targetNode = $driver->getNodeFromGeom($this->waysVerticesTableName, $this->waysGeomFieldName, $targetGeom, $srid, 'id');
        return $driver->routeBetweenNodes($this->waysVerticesTableName, $this->waysGeomFieldName, $sourceNode, $targetNode, $srid);
    }
public function routeBetweenGeom($sourceGeom, $targetGeom)
    {
        $driver     = $this->getDriver();
        $srid       = $this->getSrid();
        $sourceNode = $driver->getNodeFromGeom($this->waysVerticesTableName, $this->waysGeomFieldName, $sourceGeom, $srid, 'id');
        $targetNode = $driver->getNodeFromGeom($this->waysVerticesTableName, $this->waysGeomFieldName, $targetGeom, $srid, 'id');
        return $driver->routeBetweenNodes($this->waysVerticesTableName, $this->waysGeomFieldName, $sourceNode, $targetNode, $srid);
    }
public function routeBetweenGeom ( $ sourceGeom , $ targetGeom ) { $ driver = $ this -> getDriver ( ) ; $ srid = $ this -> getSrid ( ) ; $ sourceNode = $ driver -> getNodeFromGeom ( $ this -> waysVerticesTableName , $ this -> waysGeomFieldName , $ sourceGeom , $ srid , 'id' ) ; $ targetNode = $ driver -> getNodeFromGeom ( $ this -> waysVerticesTableName , $ this -> waysGeomFieldName , $ targetGeom , $ srid , 'id' ) ; return $ driver -> routeBetweenNodes ( $ this -> waysVerticesTableName , $ this -> waysGeomFieldName , $ sourceNode , $ targetNode , $ srid ) ; }
Get route nodes between geometries

@param string $sourceGeom EWKT geometry
@param string $targetGeom EWKT geometry
@return Feature[]
Get route nodes between geometries