![Page 1: Querying an Avian Inventory Database and Visualizing the Results](https://reader038.vdocument.in/reader038/viewer/2022110402/56812b0b550346895d8ef34e/html5/thumbnails/1.jpg)
Querying an Avian Inventory Database and Visualizing the Results
GEORGE WASHINGTON BIRTHPLACE NATIONAL MONUMENT
NATIONAL PARK SERVICE
NR 595D Final ProjectSpring 2009
Jeff Smith
![Page 2: Querying an Avian Inventory Database and Visualizing the Results](https://reader038.vdocument.in/reader038/viewer/2022110402/56812b0b550346895d8ef34e/html5/thumbnails/2.jpg)
Project Description NPS would like to enter a common name for a
bird species and have the locations for that species displayed on a map
Locations
![Page 3: Querying an Avian Inventory Database and Visualizing the Results](https://reader038.vdocument.in/reader038/viewer/2022110402/56812b0b550346895d8ef34e/html5/thumbnails/3.jpg)
High-Level Pseudocode
QUERY Database
GET User Input
CALL Python, geoprocessing Make feature layer, select layer by attributes, copy
features
ADD Layers to Map
![Page 4: Querying an Avian Inventory Database and Visualizing the Results](https://reader038.vdocument.in/reader038/viewer/2022110402/56812b0b550346895d8ef34e/html5/thumbnails/4.jpg)
Query Database NPS MS Access database relationships (VBA – list Common
Names)
Species Table Area Table
Transect Table
Point Table
Area Shapefile
Table
Transect ShapefileTable
Point Shapefile Table
![Page 5: Querying an Avian Inventory Database and Visualizing the Results](https://reader038.vdocument.in/reader038/viewer/2022110402/56812b0b550346895d8ef34e/html5/thumbnails/5.jpg)
Get User Input GET database path, input shapefile directory,
output directory and Common Name from user
UI Button Control
Browse Database Path
Browse Input shapefiledirectory
Browse Output directory
Select Species
![Page 6: Querying an Avian Inventory Database and Visualizing the Results](https://reader038.vdocument.in/reader038/viewer/2022110402/56812b0b550346895d8ef34e/html5/thumbnails/6.jpg)
Call Python (on OK click) Message Box Displays Results
![Page 7: Querying an Avian Inventory Database and Visualizing the Results](https://reader038.vdocument.in/reader038/viewer/2022110402/56812b0b550346895d8ef34e/html5/thumbnails/7.jpg)
Add Shapefiles Allows user to select shapefiles to add to display,
go back and select another species, or cancel the program
Opens File Dialog Box
![Page 8: Querying an Avian Inventory Database and Visualizing the Results](https://reader038.vdocument.in/reader038/viewer/2022110402/56812b0b550346895d8ef34e/html5/thumbnails/8.jpg)
Results Layers added to ArcMap display
![Page 9: Querying an Avian Inventory Database and Visualizing the Results](https://reader038.vdocument.in/reader038/viewer/2022110402/56812b0b550346895d8ef34e/html5/thumbnails/9.jpg)
Project Demonstration In ArcMap
![Page 10: Querying an Avian Inventory Database and Visualizing the Results](https://reader038.vdocument.in/reader038/viewer/2022110402/56812b0b550346895d8ef34e/html5/thumbnails/10.jpg)
Challenges Populating combo box with common name values
from Access database (Thanks to Brent for help) Getting from table to table to retrieve required
information Deleting existing files and layers in VBA so
program would run correctly
STILL TO DO Customize symbology of added layers