[Spanish] GetFeatureInfo con filtro de mas de un Featureid

joanbn joan.borras at pct-turisme.cat
Wed Jul 28 10:29:09 EDT 2010


Hola

Tengo un problema usando GetFeatureInfo con filtro de ID's. Cuando uso un
simple identificador funciona correctamente: 

featureid : '1'

pero usando multiples ID's separados con comas el getFeature me selecciona
lo que quiere:

featureid : '1,2,3,4'

En el caso de GetMap funciona perfectamente con multiples Id's, pero con el
GetFeatureInfo no encuentro la manera de usarlo. La llamada a la funcion es
la siguiente:


var params = {
                        REQUEST: "GetFeatureInfo",
                        SERVICE: "WMS",
                        VERSION : "1.1.1",
                        EXCEPTIONS: "application/vnd.ogc.se_xml",
                        BBOX: map.getExtent().toBBOX(),
                        X: e.xy.x,
                        Y: e.xy.y,
                        INFO_FORMAT: 'text/html',                        
                        QUERY_LAYERS:'SIG:spa',
                        FEATURE_COUNT: 1,
                        Layers: 'SIGTUR:spa',
                        Styles: '',
                        featureid : '1,2,3,4',
                        Srs: 'EPSG:23031',
                        WIDTH: map.size.w,
                        HEIGHT: map.size.h,
                        format: format};
                   
OpenLayers.loadURL("http://localhost:8080/geoserver/wms", params, this,
setHTML, setHTML);


Gracias por la ayuda
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GetFeatureInfo-con-filtro-de-mas-de-un-Featureid-tp5345685p5345685.html
Sent from the OSGeo Spanish Local Chapter mailing list archive at Nabble.com.


More information about the Spanish mailing list