[Mapserver-users] searching in layer (newbie)

Lowell Filak lfilak at medinaco.org
Thu Feb 19 06:30:58 PST 2004


I think you may need to include more information/code, if I'm not
mistaken getlayerbyname should return a layer handle without a reselection.
It sounds like the handle your using may be the resultcaheobj instead of
the new layerobj.?
But then I could be completely off base...

Lowell

The following message was sent by "Martin Kiuru" <Martin.Kiuru at Elion.ee>
on Thu, 19 Feb 2004 15:31:18 +0200.

> Hi.
>  
> 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 ?
>  
> Thanks in advice,
> Martin.
> 




More information about the MapServer-users mailing list