Re: [OpenLayers-Users] Confusing behaviour of GetFeature control in BBox based selection

2011-02-11 Thread Alex
To keep in the same thread, I post it again. Solution is to disable "Loose bbox" in Geoserver's Datastore 2011/2/10 Alex > Dear Charles, > Thank you very much for your answer. > Yes, I tried. I even set it to 0. It does not change anything. The problem > is that selection is done on the base of

Re: [OpenLayers-Users] Confusing behaviour of GetFeature control in BBox based selection

2011-02-10 Thread Alex
Dear Charles, Thank you very much for your answer. Yes, I tried. I even set it to 0. It does not change anything. The problem is that selection is done on the base of the Bounding Box of a Line. In some cases if user clicks near one line then another (longer) line located far from mouse click is se

Re: [OpenLayers-Users] Confusing behaviour of GetFeature control in BBox based selection

2011-02-10 Thread Charles Galpin
Have you tried a lower "clickTolerance"? The default is 5 pixels. hth, charles On Feb 10, 2011, at 5:46 AM, Alex wrote: > We use Geoserver with PostGIS and OpenLayers to display a river network as > WMS Layer. The user should be able to click on the river and get its name as > Popup. It is no

[OpenLayers-Users] Confusing behaviour of GetFeature control in BBox based selection

2011-02-10 Thread Alex
Dear all, We use Geoserver with PostGIS and OpenLayers to display a river network as WMS Layer. The user should be able to click on the river and get its name as Popup. It is no problem so far. But if one is clicking between several rivers then selection becomes very confusing. In some cases river