Hi, use the PropertyName param (for GET requests) or configure your HTTP protocol with a propertyName. This is a comma separated list of the attributes you want to include, e.g.
http://localhost:8080/geoserver/wfs?service=wfs&version=1.1.0&request=getfeature&typename=topp:states&outputformat=json&propertyname=STATE_NAME Andreas. On Jul 26, 2011, at 09:01 , Robert Buckley wrote: > Hi, > > I have to present the output of a geoserver json file in an ext grid. The > problem is that due to the fact that the geodata comes from a polygon I am > getting way to much data from the geoserver json output file. I really need > to remove the Geometry data so that I can get only the attribute data. > > Has anyone done this before? Is there a script or method apart from opening > the file in a text editor and editing out all the data I don“t need? > > e.g > > {"type":"Feature","id":"EnMap_SG_WEA_f.1","geometry":{"type":"MultiPolygon","coordinates":[[[[3594275.44,5850104.87],[3594549. > etc etc etc etc etc > > needs to be deleted from this row... > > > I need to do this for about 3000 rows. > > > thanks for any help, > > Rob > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/_______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
