GPSFiles to SHP – Now with ArcGIS 10!

Code base updated on 10/26/2010. Available at ESRI’s Code Gallery: http://resources.arcgis.com/gallery/file/geoprocessing/details/?entryID=BC061D5E-1422-2418-7FCE-CC0FBB0C0825

Issues:

  • ArcGIS 10 returns error: <type ‘exceptions.ImportError’>: Bad magic number…
  • GPX to SHP only processes the first track in the file

Changes:

  • gpsFile.pyc was not compiled in a manner compatible with ArcGIS 10. The file has been replaced with gpsFiles.py so that compiling can be done dynamically for both versions. The code continues to work as expected for Arc 9.3.x.
  • GPX to SHP now supports multiple tracks