I am using Geoserver version 2.1.1:

My wfs protocol is working fine,but How can i get only numerical column from
wfs callback response?.

I am intersecting with two layer using spatial filter,i need only numerical
column from intersecting features because i want to calculate sum and
average of numerical column(this is my requirement).

Please reply me,
thanks to all.

I am mentioned my code below.

My wfs protocol:
                           wfsProtocol = new OpenLayers.Protocol.WFS({
                                                url: 
"http://localhost:8080/geoserver/wfs";,
                                                featureType:intersectLayerName,
                                                
featureNS:"http://kcubeconsulting.com/panama";,
                                                srsName: "EPSG:4326",
                                                version: "1.0.0"
                          });
                          
                        
featureBounds.transform(projSphericalMercator,projWGS84);

                           wfsProtocol.read({
                                filter: new OpenLayers.Filter.Spatial({
                                type: OpenLayers.Filter.Spatial.INTERSECTS,
                                value:featureBounds
                         }),
                           callback: function processSpatialQuery(response)
                               {
                                          //i want only numerical colum from
response
                                          //i want calculate sum and average
of numerical column
                                }


});


--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/WFS-request-tp4633364p4633364.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to