I checked, the field name is in UPPERCASE. I have examined the content and 
evrything is fine except this line that returns nothing. $qShape and $fldName 
variables are fine as I can see. $qShape is returned by:

$qShape = $this->qLayer->getShape($qRes->tileindex,$qRes->shapeindex); ... 
$qRes->tileindex  and $qRes->shapeindex are also valid

This is really wierd

thanks, dejan

> -----Original Message-----
> From: Alessandro Pasotti [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, April 11, 2007 11:35 AM
> To: [email protected]
> Cc: Gambin Dejan
> Subject: Re: [pmapper-users] Empty field values in query result
> 
> Il 11:16, mercoledì 11 aprile 2007, Gambin Dejan ha scritto:
> > Hi,
> >
> > This is driving me crazy! Query by point returns no value and 
> > everything else is set (shape, field name, number of 
> results, etc). Just the line:
> >
> > $fldValue = $qShape->values[$fldName];
> >
> > returns nothing. Does anyone have a clue?
> 
> It's hard to say what could be the reason, but did you check 
> the case (upper-lower-mixed etc.) of $fldName ?
> 
> I remember having problems with DBFs.
> 
> Also try to error_log() everything returned in the result 
> loop and examine the content.
> 
> Hope it helps.
> --
> Alessandro Pasotti
> itOpen - "Open Solutions for the Net Age"
> w3:  www.itopen.it
> Linux User# 167502
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to