Hi,

I need to extract only the properties from my json repsonse from geoserver.

When the reponse arrives it looks like this…

“type”:“FeatureCollection”,

“features”:[

{

“type”:“Feature”,

“id”:“pivot_Dissolve_SG_nenn.1”,

“geometry”:null,

“properties”:{

“sg”:“Bad Harzburg”,

“sum_nennle”:4865.065,

“sum_biomas”:0E-11,

“sum_gas”:0E-11,

“sum_solars”:951.065,

“sum_wasser”:534,

“sum_windkr”:3380

}

},

{

“type”:“Feature”,

“id”:“pivot_Dissolve_SG_nenn.2”,

“geometry”:null,

“properties”:{

“sg”:“Braunlage”,

“sum_nennle”:51.16,

“sum_biomas”:0E-11,

“sum_gas”:0E-11,

“sum_solars”:51.16,

“sum_wasser”:0E-11,

“sum_windkr”:0E-11

}

},…etc etc

But I cannot work with this format. I need this…

{

“sg”:“Bad Harzburg”,

“sum_nennle”:4865.065,

“sum_biomas”:0E-11,

“sum_gas”:0E-11,

“sum_solars”:951.065,

“sum_wasser”:534,

“sum_windkr”:3380

},

:{

“sg”:“Braunlage”,

“sum_nennle”:51.16,

“sum_biomas”:0E-11,

“sum_gas”:0E-11,

“sum_solars”:51.16,

“sum_wasser”:0E-11,

“sum_windkr”:0E-11

},…etc etc

Is there a way to only get the properties type “feature” using wfs?

thanks for any help,

Rob