Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Deployed URLs

Expected Response

http://www.avianknowledge.net/ws1.0/data/covar/find?decLon=-123.0766368&decLat=44.0430722&format=xml

The entire list of active COVAR layers in XML format for decimal latitude = 44.0430722, decimal longitude = -123.0766368 in XML format

http://www.avianknowledge.net/ws1.0/data/covar/find?decLon=-123.0766368&decLat=44.0430722&format=xml&table=covar_spat_caus

The entire list of active layers in the COVAR_SPAT_CAUS table for decimal latitude = 44.0430722, decimal longitude = -123.0766368 in XML format

http://www.avianknowledge.net/ws1.0/data/covar/find?table=covar_fs_class_nlcd2001&layer=pland&decLon=-123.0766368&decLat=44.0430722&format=xml

The PLAND Fragstat values for decimal latitude = 44.0430722, decimal longitude = -123.0766368 in XML format

http://www.avianknowledge.net/ws1.0/data/covar/find?table=covar_fs_landscape_nlcd2001&guid=URN:catalog:HMANA:HawkCount:1476880

All of the values in the COVAR_FS_LANDSCAPE_NLCD2001 table for the GlobalUniqueID = URN:catalog:HMANA:HawkCount:1476880 in CSV format

XML Result Formats

...

Responses to a well-formed find request

Example Value

Description

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE response PUBLIC "-//Avian Knowledge Network//DTD COVAR_SPAT 1.0//EN" "http://akn.ornith.cornell.edu/dtd/covar_spat_1_0.dtd">
<response>
<header>
<locale country="US" language="en"/>
<timestamp>2009-05-06T07:31:23.017-04:00</timestamp>
<criteria/>
<copyright>Copyright 2009 Cornell Lab of Ornithology - http://www.birds.cornell.edu</copyright>
<data-policy>AKN Data Sharing Policy - http://www.avianknowledge.net/content/about/akn-data-sharing-policy</data-policy>
<comment>COVAR_SPAT data response for PLAND</comment>
</header>
<result>
<covar-spat global-unique-ident="URN:catalog:HMANA:HawkCount:1476880" decimal-latitude="42.0666667" decimal-longitude="-83.1936944">
<covar-fragstat-class>
<data-record>
<attribute-data>
<field-name>RADIUS</field-name>
<field-value>75</field-value>
</attribute-data>
<attribute-data>
<field-name>CLASS</field-name>
<field-value>21</field-value>
</attribute-data>
<attribute-data>
<field-name>PLAND</field-name>
<field-value>84</field-value>
</attribute-data>
</data-record>
<data-record>
<attribute-data>
<field-name>RADIUS</field-name>
<field-value>75</field-value>
</attribute-data>
<attribute-data>
<field-name>CLASS</field-name>
<field-value>23</field-value>
</attribute-data>
<attribute-data>
<field-name>PLAND</field-name>
<field-value>16</field-value>
</attribute-data>
</data-record>
...
</covar-fragstat-class>
</covar-spat>
</result
</response> 

 

Response to a mal-formed find request

Example Value

Description

 

 

CSV Result Formats

Response to a well-formed find 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
AREA_AM, Area-weighted mean patch area (Fragstats), COVAR_FS_CLASS_NLCD2001
...

...