Re: [pmapper-users] Empty field values in query result

2007-04-11 Thread Gambin Dejan
Sure, I'll find a solution, now it is easier :-)) I can even set the RESULT_FIELDS to the "real" field name, with trailing spaces and then avodi trimming in initgroups.php ($sf = (substr(trim($sf0), 0, 1) == '&' ? _p(trim($sf0)) : trim($sf0));) This works but it can possibly be a problem with s

Re: [pmapper-users] Empty field values in query result

2007-04-11 Thread Alessandro Pasotti
Il 12:06, mercoledì 11 aprile 2007, Gambin Dejan ha scritto: > Thanks Alessandro, > > I found the problem after opening the dbf file with the hex editor. I found > that field names have trailing spaces, so for example field named ID is > shown as ID but in fact it is "ID" followed by 8 spaces. I di

Re: [pmapper-users] Empty field values in query result

2007-04-11 Thread Gambin Dejan
Thanks Alessandro, I found the problem after opening the dbf file with the hex editor. I found that field names have trailing spaces, so for example field named ID is shown as ID but in fact it is "ID" followed by 8 spaces. I didn't see this before. Now I have to find a way to workaround this i

Re: [pmapper-users] Empty field values in query result

2007-04-11 Thread Alessandro Pasotti
Il 11:55, mercoledì 11 aprile 2007, Gambin Dejan ha scritto: > 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->q

Re: [pmapper-users] Empty field values in query result

2007-04-11 Thread Gambin Dejan
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->til

Re: [pmapper-users] Empty field values in query result

2007-04-11 Thread Alessandro Pasotti
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

[pmapper-users] Empty field values in query result

2007-04-11 Thread Gambin Dejan
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? regards, dejan -

Re: [pmapper-users] Skip TOC display

2007-04-11 Thread Gambin Dejan
I have solved the problem... I have set the SKIP_LEGEND parameter, but It was still diplayed in TOC (not in legend). Then I realised I was using categories so I removed this category and everthing was fine then. Thanks very much regards, dejan > -Original Message- > From: luca marletta

Re: [pmapper-users] Skip TOC display

2007-04-11 Thread luca marletta
This is not a pmapper question but mapserv anyway in mapfile put LAYER ... METADATA "SKIP_LEGEND" "2" END an you'll get, for such layer the map displayed but not legend and toc it was this your question? luca On 4/11/07, Gambin Dejan <[EMAIL PROTECTED]> wrote: >

[pmapper-users] Skip TOC display

2007-04-11 Thread Gambin Dejan
Hi, This is probably asked already but I can't find any info so...is it possible to avoid a group/layer displaying in the TOC (and LEGEND too)? I would only like to be displayed on the map... regards, dejan - Take Surveys. E