Download presentation
Presentation is loading. Please wait.
Published byFarida Lesmana Modified over 5 years ago
1
2018 NRS FIA Management Team Meeting Batch EVALIDator – EVALIDator API December 11-12, 2018 — Manhattan, Kansas API by Pat Miles Presented by Scott Pugh FIADB Application Programming Interface (API) uses GET and POST commands to return info via HTML, XML or JSON Batch EVALIDator reports using MS-Excel and API Next steps
2
FIADB//EVALIDator Application Programming Interface (API) Documentation and Examples
FIADB Application Programming Interfaces JAVA EVALIDator fullreportPost API POST request source code example JAVA EVALIDator fullreport API GET request source code example List of EVALIDator population estimates List of EVALIDator page, row, and column labels FIADB Documentation Description and User Guide Population Estimation User Guide
3
Running the EVALIDator using the fullreport API GET request
( The fullreport request can return output in either HTML, JSON, or XML format. The following example returns forest land area estimates for a circular area centered at 45.0 degrees latitude and degrees longitude with a radius of 50 miles. Information from the 2015 inventory of Minnesota (evaludation group ) and Wisconsin (evaluation group ) is used. Click on the hyperlink or copy the hyperlink and paste it in your browser's address line to submit the fullreport request. After several seconds a report of population estimates with associated sampling errors and the number or non-zero plots used to obtain the estimates will be returned. of forest land, in acres&sdenom=No denominator - just produce estimates&wc=272015,552015&pselected=None&rselected=State code&cselected=Stand-size class&ptime=Current&rtime=Current&ctime=Current&wf=&wnum= &wnumdenom= &FIAorRPA=FIADEF&outputFormat=HTML&estOnly=N&schemaName=FS_FIADB.&r1=&c1= This next example returns estimates of the area of forest land for Minnesota and Wisconsin by State and stand-size for the 2015 inventories. of forest land, in acres&sdenom=No denominator - just produce estimates&wc=272015,552015&pselected=None&rselected=State code&cselected=Stand-size class&ptime=Current&rtime=Current&ctime=Current&wf=&wnum= &wnumdenom= &FIAorRPA=FIADEF&outputFormat=HTML&estOnly=N&schemaName=FS_FIADB.&r1=&c1=
4
Batch EVALIDator reports using MS-Excel and fullreport GET API
( The EVALIDator fullreport API makes it possible to run multiple reports in batch mode. Multiple reports could be run for a single location, or a single report could be run for multiple locations. For example, in the first case it would be possible to generate a set of reports for a single national forest while in the second case volume estimates could be generated for many locations to help in the siting of a new sawmill. A standard set of reports have been created for each State and are available for downloading from Microsoft Excel 2013 workbooks containing many reports for the most recent State inventories. The reports have already been generated in these workbooks. If you would like to rerun the reports yourself you will have to set the "Trusted location" and "Enable macros" within the workbook in order for the "Query" button on the "Inputs" worksheet to work.
6
Next Steps GeoJSON output option to fullreport and fullreportPost API’s Chloropleth maps of counties, HUC’s, Congressional Districts, Ecosections, … E.g., forest area by congressional code for Minnesota and Wisconsin Estimator API Allows output by as many reporting variables as possible in FIADB I.e., output is not constrained to pages, rows and columns E.g., –Number of trees by diameter class, county, species and forest type &attribute_nbr=4&whereStr=and%20PEG.EVAL_GRP%20IN%20(092015,102015)&outputFormat=csv NUTS API for National Urban Tree Statistics (API for Urban EVALIDator) Difference Tester API Test for significant difference in estimates between two consecutive inventories
7
Difference Tester: Totals
Difference Tester: Ratios Reference Westfall, James A.; Pugh, Scott A.; Coulston, John W Conducting tests for statistically significant differences using forest inventory data. Res. Pap. NRS-22. Newtown Square, PA: U.S. Department of Agriculture, Forest Service, Northern Research Station. 10 p. User Guide – In development
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.