Hi I could do with some help as i'm confused when my user clicks on a map element from Layer1 I need to be able to show just the attributes for that feature, what I’m seeing is both / all features on that layer
Example URL Localhost:8080/geoserver/cite/wms?service=WMS&version=1.1.0&request=GetMap&layers=cite:Layer1, cite:Layer2& styles=&bbox……..width=512,heaight=430&srs=EPSG:4326&application/openlayers &FILTER= (<Filter xmlns="http://www.opengis.net/ogc"> <FeatureId fid=”Layer1.1234”></FeaturId> <FeatureId fid=”Layer1.5678”></FeaturId></Filter>) (<Filter xmlns="http://www.opengis.net/ogc"> <FeatureId fid=”Layer2.345”></FeaturId></Filter>) I admit I’m a GeoServer newbe so I’m not even certain I’m going about this the right way. FYI User enters a spatial query into a web based form and gets a list of results they are then able to to select 1 to N from the list, hit a button and send the id’s to GeoServer map above Should I be creating the XML on the fly in order to control the OpenLayers javascript or is there something i'm missing in the ubove URL? Thank you for you help Holly -- View this message in context: http://osgeo-org.1560.n6.nabble.com/selecting-single-map-features-tp4514557p4514557.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
