After studying the GetFeatureInfo example from openlayers i looked into the WSDL of the WMS server that was used for building the example. After looking into it there was references in the WSDL about the GetFeatureInfo. After a short look into the foruns about the GetFeatureInfo i had the feeling that there a few stet to acomplish this, so whats called with a fewlines of code from the OL requires a server setup (Mapserver or Geoserver) to be able to retrieve back the information. I will try to find a alternative solution to my application. I was just curious if there was any way to retrive back the name of the WMS clicked layer, because thats the only thing i need so far, the rest is done. Regards.
Andreas Hocevar-2 wrote: > > gustavo palminha wrote: >> Hello andreas. >> I bottom line is that i would like to create a sort of GetFeatureInfo for >> my >> WMS layers. >> I do not use mapserver or geoserver, instead i use manifold gis which >> doen >> not provide a valid WSDL for a working GetFeatureInfo. >> > > Wow, I was not aware that there is a SOAP-based flavour of > GetFeatureInfo that requires a WSDL. I think your point is that Manifold > does not support GetFeatureInfo [1]. > >> So my main goal would be to know how to discover a way to capture the >> name >> of the clicked wms layer. >> Assuming that this is not possible i was thinking about doing this: >> OL Side (client side) >> •Build a list of shown/active layers (by reading the layers on the layser >> selection menu) >> •Pass this list to a webservice with the x,y >> Server Side (webservice) >> •Filter them excluding the ones from the list where they did not >> touch/intersect the x/y >> •Read back the items retrieved and the user should have pressed the last >> layer in the list. >> > > This sounds like re-inventing the wheel. See [1] for suggestions on how > to work around this. You could also contact Manifold support and suggest > they add GetFeatureInfo (hey, you paid for that software), or replace > Manifold with some GetFeatureInfo capable WMS like Geoserver or UMN > Mapserver. > > Regards, > Andreas. > > [1] http://forum.manifold.net/forum/t82857.12 > > -- > Andreas Hocevar > OpenGeo - http://opengeo.org/ > Expert service straight from the developers. > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > ----- Regards. GP -- View this message in context: http://n2.nabble.com/mouse-event-return-clicked-layer-tp3579125p3580327.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
