1 / 23

FIA

FIA. Forest Inventory Analysis Plots in forests over the US Coordinates “fuzzed” at 1km Tree species and characteristics Resampled every decade FIA database: Downloadable by state CSV files or MS-Access “CN” for primary keys Includes complete database dictionary!. MS-Access.

mfrances
Télécharger la présentation

FIA

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. FIA • Forest Inventory Analysis • Plots in forests over the US • Coordinates “fuzzed” at 1km • Tree species and characteristics • Resampled every decade • FIA database: • Downloadable by state • CSV files or MS-Access • “CN” for primary keys • Includes complete database dictionary!

  2. MS-Access • Part of MS-Office professional • Relational database • No concurrent access • No spatial extensions • Has some unique characteristics • Brackets on field names: [Field1] • “Easy to Use” wizards for queries • Can get to SQL statements behind the wizards

  3. Query Wizards

  4. Select Tables and Fields

  5. Missing Relationships

  6. FIA Relationships

  7. Query Options

  8. Add Tables

  9. Add Tables (con’t)

  10. Adding Joins Drag to Join Tables

  11. SQL View SELECT PLOT.[CN] FROM (PLOT INNER JOIN TREE ON PLOT.CN = TREE.PLT_CN) INNER JOIN REF_SPECIES ON TREE.SPCD = REF_SPECIES.SPCD;

  12. Add Field to Select

  13. Select the field

  14. Final Query – Wizard View

  15. Datasheet View

  16. SQL View

  17. Sorting

  18. Filtering

  19. MS-Access • Access uses “*” for a string wildcard • Fieldnames are in brackets (sometimes) • First “INNER JOIN” must be in parenthesis

  20. Final Query SELECT PLOT.[CN], PLOT.LAT, PLOT.LON, REF_SPECIES.COMMON_NAME, TREE.HT FROM (PLOT INNER JOIN TREE ON PLOT.CN = TREE.PLT_CN) INNER JOIN REF_SPECIES ON TREE.SPCD = REF_SPECIES.SPCD WHERE (((REF_SPECIES.COMMON_NAME) Like 'Doug*') AND ((TREE.HT)>200)) ORDER BY TREE.HT DESC;

  21. Export Data

More Related