Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Merge in esri2geo #7

Merged
merged 24 commits into from Jun 20, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
.c9revisions
*~
node_modules
34 changes: 25 additions & 9 deletions README.md
@@ -1,7 +1,7 @@
esri2open
=========

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

What Problem This Solves
------------------------
Expand All @@ -19,15 +19,32 @@ 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
3. Double click on the which script you want to run which are

Arguments
ESRI To Open
---------
* `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 "|"
Output one feature to an open format, arguments are:

* `Feature Class`: the name of the Feature Class you want to export
* `Output Dataset`: the output feature class, choose the format you want to output to here, choices are GeoJSON (default), CSV, JSON, and SQLITE.
* `Geometry Type`: choices are Default, GeoJSON, WKT, and None, defaults to GeoJSON, ignored if the file is output to GeoJSON or SQLITE.


ESRI To Open (multiple)
---------
Output multiple features to an open format, arguments are:

* `Features`: the names of the Feature Classes you want to export
* `Output Folder`: the output folder.
* `Type`: output data type, choices are want choices are GeoJSON (default), CSV, JSON, SQLITE
* `Geometry Type`: choices are Default, GeoJSON, WKT, and None, defaults to GeoJSON, ignored if the file is output to GeoJSON or SQLITE.

ESRI To Open (merge)
---------
Merge several feature classes into one GeoJSON file, useful for mixed geometry types:

* `Feature Classes`: the names of the Feature Classes you want to export
* `Out File`: the name of the output file.

License
-------
Expand All @@ -39,4 +56,3 @@ Issues
* 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

302 changes: 0 additions & 302 deletions esri2open.py

This file was deleted.

Binary file modified esri2open.tbx
Binary file not shown.
2 changes: 2 additions & 0 deletions esri2open/__init__.py
@@ -0,0 +1,2 @@
from esri2open import toOpen, writeFile, closeUp, closeJSON
from prepare import prepareFile, prepareGeoJSON