Hi, Use propertyname list. Geometry is not compulsory attribute (if you do not make it compulsory in the featuretype schema). Try these examples with BBOX filter and propertyname list This one gives geometries
http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=GetFeature&typename=lv:mml_railway&BBOX=246700,6780800,436400,6924000&propertyname=the_geom,sahko&maxfeatures=10<http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=GetFeature&typename=lv:mml_railway&BBOX=246700,6780800,436400,6924000&propertyname=sahko&maxfeatures=10> This one comes without geometries http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=GetFeature&typename=lv:mml_railway&BBOX=246700,6780800,436400,6924000&propertyname=sahko&maxfeatures=10 WSF does offer fine features, it is not just GetFeature for the whole layer. Unfortunately they are very seldomly utilised, perhaps because it is hard to get happy feelings from successful trials by using http POST and painful XML filters following the OGC Filter Encoding standard. Fortunately Geoserver offers nice alternative with CQL filters. -Jukka Rahkonen ________________________________ ________________________________ Lähettäjä: Xavier Chaze [[email protected]] Lähetetty: 8. marraskuuta 2011 18:23 Vastaanottaja: [email protected] Aihe: [Geoserver-users] WFS : Extract only attributes without geometry Hello, In fact, thanks to a URL containing point coordinates (Lon/Lat) we would like to extract attributes from a vector layer. We have tested the WMS GetFeatureInfo. But in this case the URL has to be described thanks to images coordinates (in pixels) and we need to send through the URL the coordinates Longitude/Latitude. And about the WFS GetFeatureIntersects, we obtained the geometry of the intersected feature (list of coordinates) and these information, unnecessary for us, risk to delay the response time. So, is it possible, maybe to filter the response given by the WFS GetFeatureIntersects in order to recover the attributes only ? We are also open for all other solutions. Thanks a lot in advance for your answers. Xavier ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
