Giter Club home page Giter Club logo

exc_to_pt's Introduction

##exc_to_pt

###Description: Python script that utilizes the ArcPy library to create a project file gdb, loop through all project .xlsx files and sheets (tables) in the given directory, and converts all relevant tables to feature classes in the new project gdb.

###Preparation:

  1. Only tables (sheets) with both "Lat" and "Lon" field names can be included, otherwise the program will print an error.
  2. Insure there are no spaces or strange characters in the sheet names of each excel file. Give each sheet a descriptive name such as "Crash_2015".

###Instructions to run program:

  1. Download the exc_to_pt program.
  2. Open a command window in the same directory that this script is saved - hold shift and right-click anywhere in the directory, choose 'open command window here'.
  3. Type 'python exc_to_pt.py' and Press Enter. - this only works if you have already added the path to your Python directory to the system environment variable path (Windows). If you have not done this, you will need to do so or use an IDE to run this script, such as IDLE or PyCharm, etc. You may also try running it as an executable (double-click).
  4. When prompted, enter the path to where your project xlsx files are saved. Press Enter.
  5. When prompted, enter the name of your project file geodatabase, including the .gdb file extension. Press Enter.
  6. If the program is running and completes successfully, you should see several print statements as the program is running, and then a print statement that reads 'PROGRAM COMPLETED SUCCESSFULLY'. Navigate to your project path and view the gdb and featureclasses to make sure everything is good to go.

##Voilá!

exc_to_pt's People

Stargazers

Nat Cagle avatar

Watchers

 avatar

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.