An extension (plugin) for ArcGIS 10.x to allow ArcCatalog and ArcMap to open a GPX file as a native GIS dataset. The GPX file does not need to be converted to a more common data format before viewing.
The plugin was developed with C#, and .Net 3.5. It requires the ArcObjects libraries from ESRI. Visual Studio 2010 project files are provided for building the source code.
After building a debug version with Visual Studio
- Copy
reg.bat
andunreg.bat
to the10xCode/bin/debug
folder. - Run
reg.bat
as administrator - Start a debug build and visual studio should launch ArcCatalog after building the debug dll
- Use ArcCatalog to test browsing/viewing a GPX file.
- You do not need to re-register between builds unless you change the GUID
The plugin requires installation by an administrator.
- Copy
GpxPlugin.dll
from10xCode/bin/release
to some stable system folder. - Copy
reg.bat
andunreg.bat
to the same folder. - Run
reg.bat
as administrator. - Use ArcMap and/or ArcCatalog as usual.
- To uninstall:
- Run
unreg.dll
- Delete
reg.bat
,unreg.bat
, andGpxPlugin.dll
- Run
See the MS Word file in the Docs
folder for more information.
New versions (or recompiles for new versions or ArcObjects) should be published to IRMA and the PDS (Alaska Region's GIS network drive).
- Copy
reg.bat
,unreg.bat
, andGpxPlugin.dll
to a folder named for the version of ArcGIS that it was compiled against (i.e.GpxPlugin10.7
) - Zip up the folder.
- Provide the zip file to the PDS Manager for addition to the
X:\GIS\Apps\GpxPlugin
folder. - Login to IRMA and add the zip file to the Download list. (You need to be the IRMA project owner)
A GPX file is a compound data set. It expands to 1 or more spatial feature classes. One is a point feature class for all way points in the GPX file. Another is a polyline feature class for all track logs. The third is a polygon, which is just a closed versions of the track logs.
Preview the feature classes in a GPX file as a table or a
spatial view in ArcCatalog. Use the Add Data
tool in
ArcMap to add a GPX file to a map.
See the MS Word file in the Docs
folder for more information.