> Script Details
Create Geologic Cross Sections--eXacto Section v. 1.2, ArcMap 9.3
report inappropriate content
Jun 22 2009
Status of work
ArcGIS - ArcInfo
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
The downloadable zip file contains an .mxd, and user guide. A tutorial document and tutorial data are available by downloading the previous version of this tool:
An ArcInfo license and 3D Analyst extension are required.
The objective of this program is to use GIS to draw important parts of the cross section precisely: the surface profile (using a DEM), the geologic units and their contact points on the surface, the location of wells/boreholes, and the geologic materials found at the well location, projected as a line into the subsurface. The output is a combination of polyline and point shapefiles. One of the advantages of this program is that the output features have a spatial reference, meaning that, when set to the desired map scale, the cross section measurements will always be correct. The geologist can use these as a guide to “connect the dots” when drawing the subsurface contacts. He or she can choose to finish the cross section digitally in ArcMap or export it to a graphics program.
Visual Basic for Applications (VBA) was used to develop the program within ArcMap. Code is stored in the .mxd. The user provides input data: lines of cross section, an elevation raster, geology polygons, well points, and a table with subsurface data. The user defines a sampling interval and vertical exaggeration. The program will convert between feet and meters, depending on the units of the input data. A button control launches a form that obtains the required inputs. The user can choose which outputs he or she wants. The output layers are automatically symbolized and labeled in a new data frame.
09/09/08: Fixed a couple of bugs related to canceling out of the well and depth forms.
02/19/09: Edited user guide in documentation.
06/17/09: New version saved in 9.3. Added a cancel button to first form. Added error handling for when zero points are within tolerance of cross section line.