Introduction
Later in the semester, we will be collecting data from around UWEC in order to make a microclimate map of campus. To do this, ten groups of two will gather GPS data from different locations on campus. The activity we are engaged in today, however, involves getting ready for and planning organizational methods for that data collection.
When collecting data in the field, it is always wise to decide in advance what type of data we will need for the project. Skipping this step can lead to more time needed out in the field because of poor planning, mistakes on data entry, and loss of data.
In the case of using ArcGIS, this planning stage involves creating a geodatabase and setting rules on what types of data are allowed to be used, as well as the ranges that that information can fall in. These rules are referred to as domains, and are very important in maintaining data integrity (especially when there is a great deal of data being collected). These domains are then applied to feature class fields and exported to the GPS devices that will be used in data collection. For example, if technicians were going out into the field to collect wind speeds at certain points, the feature class that the data is applied to could contain a domain that restricts the information entered to numbers between 0 and 60 (if using mph). Without the domain, a technician might accidentally enter 90 instead of 9. This would be a huge error in data, but caused by a simple human mistake. Domains ensure that errors are kept to a minimum, makes data collection in the field quicker, and forces GIS personnel to think about data entry before going into the field.
For our purposes, our class brainstormed what kinds of data would be useful for analyzing microclimates. Air temperature, wind speed and direction, relative humidity, and dew point were all early ideas. We also included Group (our groups are numbered 1-10) and Notes (general notes to leave for points taken, such as 'standing by a heating vent' to explain data that doesn't seem to fit) to fields we would be using. During this discussion, several ideas cropped up that would have been skipped had we just went out into the field to collect general data. Snow Depth and Time of Day were added to our list. Time is important, as some groups might collect data in early morning, when the weather is coldest, and others might collect in the afternoon, when it is warmest. Snow depth may reveal interesting patterns that have gone unnoticed.
Tutorial
Figure 1 - Creating a new File Geodatabase |
In ArcCatalog (or in catalog within ArcMap), right click on the folder you want your geodatabase to be, select New, then click File Geodatabase (Figure 1).
Figure 2 - Domain tab with no domains entered yet |
The new geodatabase will appear in that folder simple titled New File Geodatabase.gdb. To rename it, right click the geodatabase and choose rename.
Now we will set up the domains for the geodatabase. Right click the geodatabase again and select Properties. The properties dialog box contains two tabs: General and Domains. Clicking on the Domains tab will bring up a window that looks like figure 2.
Figure 3 - Domain name and description |
Figure 4 - Field Type and Do |
Figure 5 - Text field type and Coded Values domain type for coding cardinal direction |
Figure 6 - Temp domain using Float field type and Range domain type. |
Figure 7 shows all of the domains I created along with the field type, domain type, and range (if applicable) associated with them. Figure 8 is a table with the coded values for WindDir_C (wind direction using cardinal directions) and figure 9 is the coded values for Group. Figure 10 shows the dialog window with all of the domains created.
Figure 7 - Table showing my domains with field types, domain types, and range. |
Figure 9 - Coded values for Group |
Figure 8 - Coded values for WindDir_C |
Figure 10 - End product of domain creation |
Figure 11 - New feature class window |
Now it is time to create a feature class that will utilize these domains. In the catalog, right click your geodatabase and select New ---> Feature class. This opens the dialog box allowing you to name your feature class and select what kind of features you want (line, point, polygon, etc.). For this exercise, I named my feature class microclimate and went with point features (Figure 11).
Figure 12 - Choosing coordinate system for new feature class |
Figure 13 - New feature class field list |
The screen shown in figure 13 is where we enter the fields that will be in our new feature class. For me, it ended up very similar to my list of domains. The only real difference was that I used the Temp domain for both dew point and air temperature.
Figure 14 - Setting data type and domain for each field |
Figure 15 - Finished field list for new feature class |
Once we click finish, the feature class is added to the geodatabase with no data. We can open up the attribute table for the shapefile by right clicking it and choosing Open Attribute Table. This shows all the fields we created (Figure 16). We are now ready to export the feature class to a GPS device for data collection in the field.
Figure 16 - Attribute table for new feature class |
Conclusion
I have learned how to create geodatabases and set up domains in other classes. What was helpful about this lab, though, was getting in the habit of planning ahead. Thinking thoroughly about the project is crucial before jumping into the data collection. It is always a good idea to know exactly what data you will be collecting so that you can set up domains to protect against error. You will still be able to add new things when in the field, but cutting down on the amount of information you add on the spur of the moment will greatly reduce the chances of error.
No comments:
Post a Comment