FEATURE_COUNT is by default = 1

try 

WMSLayers.mergeNewParams({ 'feature_count': 100 });

or add the parameter to your layer declaration.

Arnd Wippermann

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im
Auftrag von Karsten
Gesendet: Samstag, 6. September 2008 00:16
An: [email protected]
Betreff: [OpenLayers-Users] Feature Info - multiple records at the same time


Hi I am using OL as a front end for MapServer wms layers. I got the Feature
Info example
http://openlayers.org/dev/examples/getfeatureinfo.html?zoom=0&lat=0&lon=0&la
yers=B
working for my map but was wondering how I would have to change it to be
able to retrieve multiple results displayed (e.g. I identify a point feature
(addresses) that has multiple people living at the address joined to it). So
when I click on a point I want to retrieve and display the results on the
webpage… I got it working with one joined record – but how can the get the
remaining ones (if there are multiple joined people).

The data in MapServer uses a select statement with a one to many join to the
inhabitant table.

Any ideas? 

I’m really stuck here …

Karsten

--
View this message in context:
http://n2.nabble.com/Feature-Info---multiple-records-at-the-same-time-tp8422
53p842253.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to