perl mapscript: Can't locate swig_numres.al
Jachym Cepicky
jachym.cepicky at CENTRUM.CZ
Tue Jul 26 23:17:04 PDT 2005
Hallo,
I use mapserver and perl-mapscript from debian package, version 4.4.1-2.
I can not query layers by point, I try to approach by Mapscript Query
HOWTO (http://zcologia.com/mapserver/querying-howto):
$layerObj->queryByPoint($mapObj,$pntObj,$mapscript::MS_SINGLE,0);
my $results = $layerObj->getResult(0);
if ($results) {
for ($i = 0; $i < $results->{numresults}; $i++) {
my $result = $results->getResult($i);
my $feature=$layerObj->getFeature($result->{shapeindex},$result->{tileindex});
}
}
But I get following message from my webserver:
Can't locate auto/mapscript/resultCacheMemberObj/swig_numres.al in @INC (@INC contains: /var/www/perl /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache/ /etc/apache/lib/perl) at /usr/lib/perl5/mapscript.pm line 29
What am I doing wrong?
Is there some other howto, which would show me, what to do?
Thank you for any help
Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/
More information about the MapServer-users
mailing list