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
------------------------------------------------------------------------------
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