[OpenLayers-Dev] GetFeature control doesn't select from WFS with multiple feature types.

Attila BERÉNYI atis at airdesignstudio.hu
Sat Apr 10 14:33:38 EDT 2010


Oh, I'm sorry, I was wrong.
2.9 RC1 out of box doesn't contain the patch, I've used an already 
patched version.
So to enable multiple feature types selection please apply patch 1839 
(http://trac.openlayers.org/ticket/1839), big thanks to bartvde!

Attila

2010.04.10. 20:21 keltezéssel, Attila BERÉNYI írta:
> Dear Marc,
>
> Thank you very much, finally I was able to solve the problem.
> I was testing with the 'old' version of OpenLayers (2.8), after patching
> it worked like a charm, 2.9 RC1 already contains a patch.
>
> Anyway thanks again!
>
> Attila
>
> 2010.04.09. 20:18 keltezéssel, Marc Pfister írta:
>    
>> Attila BERÉNYI [mailto:atis at airdesignstudio.hu] wrote:
>>
>>
>>      
>>> I am facing the same problem, do you figured out any solution already?
>>>
>>>        
>> I found the solution to selecting multiple feature types from WFS GetFeature in this mailing list posting:
>>
>> http://www.mail-archive.com/dev@openlayers.org/msg03106.html
>>
>> I also added some logic that selects the lowest dimension geometry - generally if a user is clicking on a point within a polygon, they are intending to pick the point, not the polygon. A user who wants to select the polygon will generally not click on top of the point.
>>
>> Marc
>>
>>
>>      
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>    



More information about the Dev mailing list