[Users] GeoExplorer Get Feature Info

Tim Schaub tschaub at opengeo.org
Mon Apr 20 21:22:02 CEST 2009


Hey-

Lemarchand, Johan wrote:
> Dear list,
> 
> I am using the latest GeoExplorer application with mappanel and
> layertree and it seems that the info tool is not working. I think it
> should activate a GetFeatureInfo control with WMS URL. My new
> application is initialized with one layer only. Do you know hot to
> configure which layer is queried for one or multiple layers ?
> 

Let us know if things don't work when you update your copy (with the 
latest from svn).  The application loading sequence has changed a bit. 
Things like the queryable property on a layer come from the WMS 
capabilities (which finishes loading before the layers are created).

The control should query all visible layers that are created at startup 
or added from capabilities later.

We're preparing to do a release of this application with the initial 
GeoExt release.  We'll put together instructions for use before then.

Tim

> <script>
> Ext.BLANK_IMAGE_URL = "theme/img/blank.gif";
> var app = new GeoExplorer({
> ows: "/geoserver/ows",
> map: {
>     layers: [{
> 	name: "WHO:ems_current_events",
> 	title: "WHO EMS current events",
> 	queryable: true
>     }],
>     center: [0, 0],
>     zoom: 2
>      }
>    });
> </script>
> 
> regards
> 
> Johan Lemarchand
> Public Health Information and GIS (GIS)
> Health Statistics and Informatics (HSI)
> Information Evidence and Research (IER)
> World Health Organization
> Tel: +41 22 791 1076 
> Mobile: +41 79 517 4205
> Email: lemarchandjo at who.int 
> 
> 
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users


-- 
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.


More information about the Users mailing list