[Mapserver-users] perl queryByAttributes 4.0

Lowell Filak lfilak at medinaco.org
Wed Jul 16 16:46:47 EDT 2003


The syntax appears to be:
queryByAttributes( queryitemname (char), querystring
(string/logical/regular expression), mode
($mapscript::MS_SINGLE/$mapscript::MS_MULTIPLE) );
example:
my $query_result = $layer->queryByAttributes( "CITY", "/MEDINA/",
$mapscript::MS_SINGLE );
my $resultmem = $layer->getResult(0);
HTH
Lowell

The following message was sent by "Aaron D. Hunt" <hunt at zedxinc.com> on
Fri, 11 Jul 2003 13:04:30 -0400.

> Does anyone have an example of perl mapscript queryByAttributes for >
mapserver version 4.0.
> 
> 
> Aaron D. Hunt
> 
> 




More information about the mapserver-users mailing list