Hello Armin and All

I am find a error in Query String.
This code return a same record when have more than one record associate a shape.

squery.php *********************************************
    function dumpQueryResults()
    {
        if ($this->zoomFull) {
            // Maximum extents
            $this->mExtMinx = 999999999;
            $this->mExtMiny = 999999999;
            $this->mExtMaxx = -999999999;
            $this->mExtMaxy = -999999999;
        }
        
        $this->returnTableJoinProperties();
        
        $this->setNumResults();
        //error_log($this->numResults);
        for ($iRes=0; $iRes < $this->numResults; $iRes++) {
            $qRes = $this->qLayer->getResult($iRes);
            $qShape = 
$this->qLayer->getShape($qRes->tileindex,$qRes->shapeindex);

error_log($iRes." - ".$qRes->tileindex." - ".$qRes->shapeindex);

            $this->qStr .= $this->printResultRow($qShape);
            $this->qStr .= $iRes < ($this->numResults - 1) ? ", " : "";
            $this->resultindexes[] = $qRes->shapeindex;
            $this->resulttileindexes[$qRes->shapeindex] = $qRes->tileindex;
        }
error_log($this->qStr);
    }
*******************************************************

Anybody have a suggestions to solve this problem.

[]'s, Rodrigo Gaete






       
____________________________________________________________________________________
Novo Yahoo! CadĂȘ? - Experimente uma nova busca.
http://yahoo.com.br/oqueeuganhocomisso 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to