Beruflich Dokumente
Kultur Dokumente
ArcGIS
First we will create a new empty geodatabase. Open up ArcCatalog, choose where you want to
make the geodatabase, and right click on the folder. Make a new Personal Geodatabase and name it
KonzaAEM.
Next, Right click the empty geodatabase “KonzaAEM.mdb”, and click “Import – XML Workspace
Document ….” This will import the feature dataset, feature classes, object classes, raster catalog,
and relationship classes defined in the conceptual groundwater data model to our geodatabase.
Under the “XYCoordinate System” tab, define the projection system to be “NAD 1983 UTM Zone
14N.” Click the “Select …” button, and click through the path of “Projected Coordinate Systems –
Utm – Nad 1983 – NAD 1983 UTM Zone 14N.prj” in the window of “Browse for Coordinate
System.”
Open ArcMap, and load the AquiferLayer table from the KonzaAEM geodatabase.
Now save your edits, stop editing, and exit the table.
At the same time we will edit the object class HYDROIDTABLE. We need to add a HydroID to
the default object so that the rest of the HydroID’s will be properly assigned. Add
HYDROIDTABLE to the map. Start an edit session and open the attribute table of
HYDROIDTABLE, and edit its values as shown in the following figure:
Once you have downloaded this DEM, add it to the map. (You can change the colors by left
clicking on the histogram under the layer.) After adding it to the map, you will want to project it to
our coordinate system so that there are no data errors when using it for analysis. In the toolbox,
select the tool “Project Raster” in the Data Management toolbox.
Note: You may need to click on Environments and select the extent to match the original NED
DEM’s extent rather than the Default extent.
We now need to define our study area. To do this, first create a new polygon shapefile in
ArcCatalog.
study boundary.JPG
We will now use the Raster Calculator from the Spatial Analyst Toolbar. Right click one of the
toolbars, and select “Spatial Analyst” to enable the Spatial Analyst Toolbar.
The raster calculator creates another raster file with the area selected filled with “1” values, and the
other values as “0”. We will take this raster and convert it to a vector file. Under the Spatial
Analyst menu, select Convert > Raster to Features. You may leave the values in the dialog box as
the default values.
Now that we have a polygon area of the inhomogeneity in our study area, we can generalize it and
clip it to our model area. First select the polygon created for the Kansas River bed. Then right click
on the layer it is contained in that spatial analyst just created and go to Selection > Create Layer
from Selected Features.
Start an edit session and from the Editor Menu select More Editing Tools > Advanced Editing to
bring up the Advanced Editing Tools Toolbar. Now select the polygon and click the Generalize tool
with a 300 meter offset. Then the jagged points should be erased by double clicking the polygon,
then right clicking the jagged points and selecting “Delete Vertex”.
Now your model area should look something like the one below. Save your edits and stop editing.
The KS River Bed_Clip shapefile is now ready to be added to the AquiferPolygon feature class.
1.3.2 Loading KS River Bed Shapefile into the AquiferPolygon Feature Class
Add the AquiferPolygon feature class from the KonzaAEM geodatabase to the map. Now start an
edit session with the AquiferPolygon feature class and click on the Object Loader tool.
If you do not see the Load Objects button on your toolbar, right click on any toolbar and select
Customize, or double click on any part of the toolbar area without any tools on it. Now click on the
Commands tab and browse down to Data Converters. You can then simply drag the Load Objects
command to any of the toolbars in ArcMap.)
Now we need to assign an AquiferLayerID and HydroID to this feature. Open the attribute table of
the AquiferPolygon feature class. Type in “1” for the AquiferLayerID (This is related to our
AquiferLayer’s HydroID created in Section 1.2). Stop editing and save your edits.
Do this once again for the Study Area, only load it into the WaterPolygon feature class. This will
allow you to store your model boundary in a convenient place.
For the HydroID, we will use the ArcHydro Toolbar. If you do not have this toolbar, you can
download from ESRI at
Select the AquiferPolygon layer, overwrite the existing HydroID’s, and apply to all features, then
click OK.
Assign a HydroID for the WaterPolygon feature class as well. After you have done this, calculate
the “AquiferLayerID” to be “1” to correspond with our AquiferLayer entry. Once this is done, the
features needed in the AquiferPolygon and WaterPolygon feature class will be loaded and processed
correctly for our model.
Add the AquiferProperty table from the KonzaAEM database to ArcMap. Start a new edit session,
and use the edit tool to select AquiferPolygon. Click the Attributes button, and the Attributes
window shows up.
Expand under AquiferPolygon, right click AquiferProperty, and click Add New. The default
property type is hydraulic conductivity, which is what we want. Set the value for the field
PropertyValueX to be 24.
Expand under AquiferLayer, right click AquiferProperty, and click Add New. Set the value for the
field PropertyValueX to be 1. Close the Attributes window.
Similarly, define the thickness of the aquifer layer to be 2000 m, and the base elevation of the
aquifer layer to be 250 m. Please remember to set the field PropertyType with the right property
type value.
These values have been determined for this study area, and may differ if you are using a different
study area. Once you have entered these values, stop editing and save your edits. Now the
properties for our model have been set.
Set up the query as shown. This will select all of the rivers touching any part of the WaterPolygon
layer.
Now follow the same general procedure as you did with the Kansas River bed as outlined in Section
1.3.1:
1. Right click on the layer and go to Selection > Create Layer from Selected Features.
2. Right click on the new layer and select Data > Export Data.
3. Export the data as a shapefile named “KonzaRivers.” And add this shapefile to the map.
Once you are done, your map should look something like this one:
Now some extra editing must be done on these river segments because of the way the AEM model
works. We need to break the river segments where they cross the AquiferPolygon polygon for the
Kansas River bed.
First, use the Erase tool under Analysis tools > Overlay. Select the KonzaRivers_Clip as the input
feature and AquiferPolygon as the Erase feature. Name the output feature class
“KonzaRivers_OutsideRB”. This will erase all of the rivers inside the AquiferPolygon, leaving
only the rivers outside.
Lastly, use the Merge tool under Data Management Tools > General to merge the two shapefiles
you just created and name them “KonzaRivers_Broken”.
mer
Now all of the features that needed are loaded into the WaterLine feature class.
Now we need to assign values for each of the rivers for these attributes. We will split the rivers into
three categories: the Kansas River, 2nd order rivers, and 1st order rivers. 1st order rivers are rivers
that have no other rivers flowing into them. 2nd order rivers are denoted as rivers that are the result
of the confluence of two or more rivers.
Kansas River:
Once you have the shapefile with these attributes you can load them into the WaterProperty table of
the geodatabase. In ArcCatalog, right click the WaterProperty table and select Load Data under
Load.
On the next screen, select the FeatureID of the WaterProperty table to match the HydroID of the
shapefile, and the BDValueX to match the Thickness field.
Click Next until you finish the wizard. Repeat this process for the other three categories, making
sure each time you match the subtype to the field you are importing. After you finish this process,
each river segment should have four entries in the WaterProperty table.
1 = gallons
2 = Acre-feet
3 = Acre-inch
4 = Barrels
5 = Cubic Feet
6 = Megaliters
7 = Error
We will need to convert all of these values to cubic meters per day. In order to do this, add another
field on the spreadsheet. In that field enter the formula:
=IF(B2=1,A2*0.0005805,IF(B2=2,A2*3.38,IF(B2=3,A2*0.282,IF(B2=4,A2*0.0244,IF(B2=5,A2*0
.0000776,IF(B2=6,A2*2.74,IF(B2=7,0)))))))
This is a logical statement that will convert each of the six units to m^3/day and make the value 0 if
it is an error. Copy this statement for all of the records.
In the dialog box, select GIS_LONG as the X Field, and GIS_LAT as the Y Field. The data is also
in the WGS-1984 geographic coordinate system, so select that as well and click OK.
Now that the shapefile with the necessary wells has been created, we need to add it to our feature
class.
In ArcCatalog, right click on the WaterPoint feature class and select Load > Load Data. Add the
WaterPoint.shp file to the List of Source Data to Load. We need to add the discharge quantity to
the field temp in order to preserve it for the WaterProperty table. So when adding the data, match
the “temp” field with the “ADJ_METER_QTY” field.
Now add the WaterPoint feature class to ArcMap and start an edit session. Assign an
AquiferLayerID of “1” to each of the records. Also, add a HydroID to each of the fields with the
ArcHydro Toolbar.
Finish the load data dialog box. Once this is done, you are finished adding all of the data necessary
to run the ArcAEM model.
WaterPoint = wells.shp
WaterLine = rivers.shp
WaterPolygon = recharge.shp
AquiferPolygon = kheterogeneity.shp
Then we need to add some fields to these shapefiles in order for the model builder model to work.
Add the following fields all as type “float:”
wells.shp Æ “discharge”
rivers.shp Æ “conductivi”, “thickness”, “width”
recharge.shp Æ “recharge”
kheterogeneity.shp Æ “conductivi”
Now you will need a temporary geodatabase. In ArcCatalog, right click on any folder you want to
create it and select New > Personal Geodatabase.
Add the toolbox and then right click on the tool and select Edit. To prepare the model, you need to
change some of the parameters. Double click on all of the “Table Edit” tools, and change the path
to the temp geodatabase that you created with the same table name that is in the tool already.
Select the type to be “Well” and click Apply and the necessary extra fields will be added. Now
open the wells.shp attribute table and calculate the Radius field to be “1” for each record. The
discharge of the wells should already be in the table from the model builder model. This is all that
is needed for the wells.
Select the DEM as the input HEAD file and leave the search distance and interval as the defaults.
Once the tool has completed, you should see head values in the attribute table that look somewhat
like the picture below. The tool extracts the DEM elevation at each vertex of the river segment,
which is why some of the rivers have more head values.
Now a wizard will come up with all of the values for the model. You can set up your model
according to the following figures. Simply enter the values shown.
You will need to draw a rectangular grid around the area that you want analyzed. Simply follow the
directions and draw a rectangle around your study area.
For the Konza model, the resolution needs to be around 50-60 to achieve the correct number of
rows and columns.