> Script Details
Convert GPS Files (KML, GPX) to Shapefiles
report inappropriate content
Feb 16 2010
Status of work
ArcGIS - ArcView
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.
CORRECTED PATHING TO SCRIPTS. If you were having problems with the version from 2/12/2010, please re-download.
This toolbox contains two scripts: "Converting KML to SHP" and "Converting GPX to SHP". The code has been completely rewritten and should now be more flexible and accepting of internal XML formatting.
The KML script has been tested with several files, including those generated by Google Earth and several Android apps. The generate shapefile will retain names, descriptions, and Google Earth foldernames (if applicable). Supports points, lines, and polygons.
The GPX script has been tested with files generate by several Android apps. The generated shapefile will retain names and descriptions (if any are provided). Supports only points and lines. If you'd like polygon support, send me a file with some and I'll get it to work.
The scripts are bundled together in a toolbox for ArcToolbox (attached documentation explains how to load into ArcToolbox) and work with any license level of ArcGIS 9.3+.
Both scripts should support UTF-8 (your mileage may vary). If you experience any problems, please feel free to e-mail me.
Inspired by Jason Parent's "Convert KML to Shapefile" toolbox