SPAM!!!: Re: Nate reed

Sylvain Beorchia sbeorchia at GI-LEMANS.COM
Thu Jul 28 08:00:28 EDT 2005


Hi,

just add @ before que query function, like this :

@$oLayer->queryByAttributes(...)

intead of

$oLayer->queryByAttributes(...)


Sylvain B.

----- Original Message ----- 
From: "Nate Reed" <nate at SEASTAR.JPL.NASA.GOV>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Monday, July 11, 2005 11:48 PM
Subject: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: 
SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: 
SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: SPAM!!!: 
SPAM!!!: SPAM!!!: SPAM!!!: [UMN_MAPSERVER-USERS] how to suppress warning 
message?


> When querying into a region that contains no data MapServer displays the
> following error message:
>
> Warning: [MapServer Error]: msQueryByRect(): No matching record(s) found.
> in /home/www/doc/nate/dev/MapController.php on line 498
>
> Is there a way to turn this message off?  I don't want to redirect to
> another url as previously suggested and there is no reason to treat this
> as an error.
>
> -- 
> Nate Reed
> Physical Oceanography DAAC
> Jet Propulsion Lab / Raytheon ITSS
> (626)744-5528  nate at seastar.jpl.nasa.gov 



More information about the mapserver-users mailing list