Coder Social home page Coder Social logo

cross-section's Introduction

Cross Section toolbox for ArcGIS 10.3

Evan Thoms, USGS

A toolbox of python-based geoprocessing tools for performing a variety of tasks associated with (primarily, but not limited to) geologic cross-sections:

-convert lines of cross-section over a DEM to surface profiles
-convert a line of cross-section over a DEM and a geologic polygon layer to a surface profile of contiguous line segments attributed the same as the polygon layer
-convert borehole location points and an optional table of borehole interval descriptions to sticklogs
-convert structural measurement points to cross-section points attributed with the apparent dip

To install:
-open up https://github.com/evanthoms/Cross-Section
-go to the lower right and click on Download Zip
-this will download the file Cross-Section-master.zip.
-extract the contents of that zip file to a suitable folder
-that will extract a folder called GeologicCrossSectionTbx, a file called .gitattributes, .gitignore, and README.txt. You can delete the latter three files. They have nothing to do with the ArcGIS toolbox. They are only for the case where you want to collaborate on github.
-Go into GeologicCrossSectionTbx, that is where you will see the .tbx file, a folder called docs and a folder called scripts. You need to keep all three of these things together within the same folder. You can move them where ever you like, but they have to stay together. 
-Now, in ArcToolbox, whether opened from ArcMap or ArcCatalog, you can right-click over some empty white space to get the context menu, and choose 'Add Toolbox'. Browse to Cross Section Tools 10.2.tbx and select it.

Requires:
ArcGIS 10.3, ArcGIS Desktop Advanced license
Some tools may still work with ArcGIS 10.2 but I am now developing against 10.3 so I can't guarantee that. 
For older code:
From https://github.com/evanthoms/Cross-Section
Click on 'commits'
Click the '<>' icon to the right of 'Commits on Feb 16, 2015' (or earlier) to browse the repository at the time. Commits newer than that were all made against my install of ArcGIS 10.3

Demo data:
An ArcGIS 10.3 file geodatabase and mxd are included in \GeologicCrossSectionTbx\demo. All of the different types of data sources necessary to run any of the tools in the toolbox are there. When you first open the MXD, go to File > Map Document Properties, and re-write the path to the Default.gdb. The path to my Default.gdb gets written to the MXD and I am not sure that can be reset at runtime of the python tools.

Thanks everyone for your interest. Please understand that this has always been a hobby project. It remains buggy and poorly documented.

This software is in the public domain because it contains materials that originally came from the United States Geological Survey, an agency of the United States Department of Interior. For more information, see the official USGS copyright policy at http://www.usgs.gov/visual-id/credit_usgs.html#copyright

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.