|
From: Andreas H. <aho...@op...> - 2009-03-12 18:19:17
|
Johan, I found out that the WFS GetFeature (not GetFeatureInfo) request is configured to query the vw_currentemsevents2 feature type. This does not exist any more on your GeoServer instance. You could try to remove and re-add the feature type, or, if it still does not work, the data store that provides this feature type. Something appears to be wrong with your database connection or datastore setup, I see in your server web config application that not all data sources load correctly. Regards, Andreas. On Thu, Mar 12, 2009 at 6:55 PM, Lemarchand, Johan <lem...@wh...> wrote: > The request made by the client using GetFeatureInfo is the a WFS POST > request: > > Firebug needs to POST to the server to get this information for url: > http://www.who.int/tools/geoserver/wfs > > This second POST can interfere with some sites. If you want to send the > POST again, open a new tab in Firefox, use URL 'about:config', set > boolean value 'extensions.firebug.allowDoublePost' to true > This value is reset every time you restart Firefox This problem will > disappear when https://bugzilla.mozilla.org/show_bug.cgi?id=430155 is > shipped. > > -----Original Message----- > From: Andrea Aime [mailto:aa...@op...] > Sent: 12 March 2009 18:48 > To: Lemarchand, Johan > Cc: geo...@li... > Subject: Re: [Geoserver-users] Geoserver 1.7.2. getfeatureinfo problem > > Lemarchand, Johan ha scritto: >> Hi, >> >> Since we deployed the new version of Geoserver 1.7.2. we have a > problem >> with the leishmaniasis e-compendium our application developed with >> OpenLayers and ExtJS >> http://www.who.int/tools/geoserver/www/ecomp/index.htm > > This link does not work... but it's an easy fix, it's actually > just http://www.who.int/tools/geoserver/www/ecomp/index.html > But I don't see how to trigger a GetFeatureInfo request... > >> The layers are related to leishmaniasis and are generated with CQL >> filter. >> var res = new OpenLayers.Layer.WMS( >> "Reservoirs", >> url + "/wms?CQL_FILTER=subtopic_i<3", >> { >> layers: 'WHO:leishecomp', >> styles: '', >> format: 'image/gif', >> transparent: 'true' >> >> }, >> >> When you display a layer and click on a marker on the map, the >> getfeatureinfo is not shown anymore. The layer WHO:leishecomp is still >> available in Geoserver as a FeatureType. The datastore is a PostGIS > db. >> In the Geoserver Map Preview page, the layer can be displayed with >> OpenLayers and the getfeatureinfo is working fine. Do you have any > idea >> of what can be the cause of the problem? > > Hmmm... not really. I've tried adding a cql filter to the preview > of topp:states and also to add reprojection to 900913 to the mix, > to see if it made any difference, and could not find any, GetFeatureInfo > seems to work. I would probably try to pinpoint the issue by looking > at exactly what GetFeatureInfo request is made by the client > using Firebug, that might shed some light on the matter. > > Cheers > Andrea > > -- > Andrea Aime > OpenGeo - http://opengeo.org > Expert service straight from the developers. > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Geoserver-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. |