[Mapserver-users] searching in layer (newbie)

Martin Kiuru Martin.Kiuru at Elion.ee
Thu Feb 19 08:31:18 EST 2004


This is a multi-part message in MIME format.

------_=_NextPart_001_01C3F6EC.A7CDA3D2
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi.
=20
I have a problem with a search using queryByAttributes() in tileindexed
layer. After first search, when searched object is zoomed, all next
searches will work only with a displayed zoomed area - it seems that
after zooming getLayerByName() returns only zoomed area of the layer.
So, my question is how to reset layer to initial state, to search in
whole layer ?
=20
Thanks in advice,
Martin.

------_=_NextPart_001_01C3F6EC.A7CDA3D2
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>S&otilde;num</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D794282606-19022004>Hi.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D794282606-19022004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D794282606-19022004>I have =
a problem=20
with a search using <FONT size=3D2>queryByAttributes() in tileindexed =
layer. After=20
first search, when searched object is zoomed, all next searches will =
work only=20
with a displayed zoomed area - it seems that after zooming <FONT=20
size=3D2>getLayerByName() returns only zoomed area of the layer. So, my =
question=20
is how to reset layer to initial state, to search in whole layer=20
?</FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D794282606-19022004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D794282606-19022004>Thanks =
in=20
advice,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D794282606-19022004>Martin.</SPAN></FONT></DIV></FONT></DIV></BODY=
></HTML>

------_=_NextPart_001_01C3F6EC.A7CDA3D2--



More information about the mapserver-users mailing list