[OpenLayers-Users] WFS GetFeatureInfo with Filter
stash
st.sonstiges at web.de
Fri Oct 30 03:48:26 EDT 2009
Hi,
I have a GetFeatureInfo Request with the following code:
map.events.register('click', map, function(e) {
var url = "http://.../geoserver/wms" + "?REQUEST=GetFeatureInfo" +
"&EXCEPTIONS=application/vnd.ogc.se_xml"
+ "&BBOX=" + map.getExtent().toBBOX()
+ "&X=" + e.xy.x
+ "&Y=" + e.xy.y
+ "&INFO_FORMAT=text/html"
+ "&QUERY_LAYERS="+my_layer.params.LAYERS
//+ "&LAYERS="+my_layer
+ "&FEATURE_COUNT=50"
+ "&SRS=EPSG:4326"
+ "&STYLES="
+ "&WIDTH=" + map.size.w
+ "&HEIGHT=" + map.size.h;
window.open(url, "getfeatureinfo",
"location=0,status=0,scrollbars=1,width=800,height=400" );
});
This is working fine so far. But now, I want to include a filter in this
getFeatureInfo Request, that I don't get the FeatureInfo from all my data.
Is this possible? How can I do that?
Regards
stash
--
View this message in context: http://n2.nabble.com/WFS-GetFeatureInfo-with-Filter-tp3917558p3917558.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list