Giter Site home page Giter Site logo

sgillies / esri2open Goto Github PK

View Code? Open in Web Editor NEW

This project forked from project-open-data/esri2open

0.0 2.0 1.0 121 KB

this repo is an ESRI toolbox and tool(s) that export ESRI Feature Classes to open data formats, CSV, JSON, and GeoJSON

Python 100.00%

esri2open's Introduction

esri2open

This repo is an ESRI toolbox and tool(s) that exports ESRI Feature Classes to open data formats, CSV, JSON, and GeoJSON.

What Problem This Solves

Much of the data in government coffers is contained in spatial databases. A large percentage of government spatial data is ESRI software. While the common interchange format, the ESRI Shapefile, is easily exported and imported by many other softwares, this data file format (the Shapefile) is not intrinsically part of the www ecology. Moreover, ESRI software does not provide an export of its generic 'feature class' (shapefile, file geodatabase, and personal geodatabase) to the most common open data file formats, CSV, JSON, and/or GeoJSON. Finally while open source tools easily transform ESRI shapefiles to open data, most government geospatial infrastructures only have ESRI tools. Lacking this basic export feature presented here, means the lion share of government spatial data users cannot export their data to the most common open data formats.

How This Solves It

This repo is two components that work inside ESRI ArcGIS. First it is a python script that works at the lowest ESRI software license level to export ESRI "Feature Classes" to the the most common interchange formats; CSV, JSON and GeoJSON. Second, this repo has an ESRI toolbox (or .tbx file) that allows any ESRI user to easily connect this python script to native ESRI software. The toolbox points at the script. Users of this software need both files (the .tbx and the .py) to operate these functions. Once these files are download, just add the .tbx file to the normal ESRI toolbox and run the .py script by double clicking on the script icon in the toolbox.

Requirements

Runs inside the ESRI ArcGIS desktop suite.

Usage

  1. Copy the .tbx file and the .py file to any local directory
  2. With ArcGIS desktop software running (e.g. ArcCatalog), add the .tbx file to your tool box by right clicking and choosing 'Add Toolbox'.
  3. Double click on the script with the esri2open toolbox called esri2open.py to run the tool.
  4. Follow the dialog box to export 'feature classes' to CSV, JSON, or GeoJSON files

Arguments

  • Feature Class: the name of the Feature Class you wish to export
  • Output Location: the folder location where the output file will be generated
  • CSV|JSON|GeoJSON: file type you wish to create; Default is GeoJSON
  • Delimiter: Optional - if you select CSV, you will need to select a delimiter; the default is "|"

License

GPLv3 or later.

Issues

  • Need to work on error trapping a bit more
  • This does not handle blob fields, or raster fields
  • Need to document python version; not sure how compatible it is with all current versions
  • Developed in ArcGIS 10.0

esri2open's People

Contributors

feomike avatar sgillies avatar

Watchers

 avatar  avatar

Forkers

aschmidt11

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.