...
Deployed URLs | Expected Response |
---|---|
http://wwwebird.avianknowledge.netorg/ws1.0/ref/covar/list | The entire list of active COVAR layers in CSV format |
http://wwwebird.avianknowledge.netorg/ws1.0/ref/covar/list?format=xml | The entire list of active COVAR layers in XML format |
http://wwwebird.avianknowledge.netorg/ws1.0/ref/covar/metadata?match=caus_prec0101&format=csv | The metadata for the CAUS_PREC0101 layer in CSV format |
http://wwwebird.avianknowledge.netorg/ws1.0/ref/covar/metadata?match=caus_prec0101&format=xml | The metadata for the CAUS_PREC0101 layer in XML format |
...
Example Value | Description |
---|---|
<?xml version="1.0" encoding="UTF-8"?> </copyright> </data-policy> | |
|
...
Header information includes the AKN COVAR_SPAT DTD |
Response to a well-formed metadata request
Example Value | Description |
---|---|
<?xml version="1.0" encoding="UTF-8"?> | Header information includes the AKN COVAR_SPAT DTD |
Response to a mal-formed metadata request
Example Value | Description |
---|---|
<?xml version="1.0" encoding="UTF-8"?> | Header information includes the AKN COVAR_SPAT DTD |
CSV Result Formats
Response to a well-formed listing request
...
Description | Name | Line Number | Format | Example Value |
---|---|---|---|---|
Status | Status | 1 | Text terminated by a newline | DATA |
Header | Copyright | 2 | Text terminated by a newline | Copyright 2009 Cornell Lab of Ornithology http://www.birds.cornell.edu |
| Data Policy | 3 | Text terminated by a newline | AKN Data Sharing Policy http://www.avianknowledge.net/content/about/akn-data-sharing-policy |
| Number of records returned | 4 | Text terminated by a newline | RECORD COUNT=316 |
Separator | Blank Line | 5 | newline |
|
Field Listing | Field Listing | 6 | Comma separated text terminated by a newline | FIELD NAME, DESCRIPTIVE NAME, SOURCE TABLE NAME |
Field data | Field data | 7 to end of data | Comma separated text terminated by a newline | AI, Aggregation Index (Fragstats), COVAR_FS_CLASS_NLCD2001 |
Response to a well-formed metadata request
Description | Name | Line Number | Format | Example Value |
---|---|---|---|---|
Status | Status | 1 | Text terminated by a newline | DATA |
Header | Copyright | 2 | Text terminated by a newline | Copyright 2009 Cornell Lab of Ornithology http://www.birds.cornell.edu |
| Data Policy | 3 | Text terminated by a newline | AKN Data Sharing Policy http://www.avianknowledge.net/content/about/akn-data-sharing-policy |
| Number of records returned | 4 | Text terminated by a newline | RECORD COUNT=1 |
Separator | Blank Line | 5 | newline |
|
Field Listing | Field Listing | 6 | Comma separated text terminated by a newline | FIELD NAME, DESCRIPTIVE NAME, DESCRIPTION, DATA TYPE, UNITS, MIN VALUE, MAX VALUE, MIN VALUE DESCRIPTION, MAX VALUE DESCRIPTION, NODATA VALUE |
Field data | Field data | 7 | Comma separated text terminated by a newline | PLAND, Percentage of landscape (Fragstats), PLAND = the sum of the areas of all patches of the corresponding patch type divided by total landscape area multiplied by 100, NUMBER, Number, Not Described, Not Described, Not Described, Not Described, -9999 |
Response to a mal-formed metadata request
Description | Name | Line Number | Format | Example Value |
---|---|---|---|---|
Status | Status | 1 | Text terminated by a newline | ERROR |
Header | Request Parameters | 2 | Text terminated by a newline | REQUEST PARAMETERS=format=csv&match= |
| Errors | 3 - N | Text terminated by a newline | A well-formed metadata request includes a match=layer_name query parameter (i.e. match=CAUS_PREC0101). |
Separator | Blank Line | N + 1 | newline |
|