{ "success": true, "mapcontext": { "extent": "-17139224,4724817,-4831028,12659592", "resources": [{ "id": 1, "title": "Provinces and Territories", "abstract": "This is the Canada Provinces and Territories resource, which contains the name, type, area and perimeter properties. Demonstrates the use of the Pie Chart on the area parameter, which shows the sum of each province and territory individually.", "aggregate": "sum", "chart": "pie", "category": "Canada", "datastores": [{ "layer": "province", "legend": true, "type": "wms", "url": "/cgi-bin/mapserv?map=/opt/labs/feature-analysis-tool/map/fat.map" }, { "layer": "province", "type": "wfs", "url": "/cgi-bin/mapserv?map=/opt/labs/feature-analysis-tool/map/fat.map" }], "fields": [{ "name": "NAME", "title": "Name", "type": "string", "chart": "label" },{ "name": "STATUS", "title": "Type", "type": "string" }, { "name": "AREA", "title": "Area", "type": "float", "chart": "value" }, { "name": "PERIMETER", "title": "Perimeter", "type": "float" }] },{ "id": 4, "title": "Drainage (subset)", "abstract": "This is a subset of the Canada drainage resource with only six records, which contains name, area and length properties. Demonstrates the use of the Column Chart on both area and length properties.", "chart": "column", "category": "Canada", "datastores": [{ "layer": "drainage6", "legend": true, "type": "wms", "url": "/cgi-bin/mapserv?map=/opt/labs/feature-analysis-tool/map/fat.map" }, { "layer": "drainage6", "type": "wfs", "url": "/cgi-bin/mapserv?map=/opt/labs/feature-analysis-tool/map/fat.map" }], "fields": [{ "name": "NAME", "title": "Name", "type": "string", "chart": "bottom" }, { "name": "AREA", "title": "Area", "type": "float", "chart": "left" }, { "name": "PERIMETER", "title": "Perimeter", "type": "float", "chart": "left" }] }] } }