Does anyone know of a way to get the Lat/Long for a connected GPS device into python in ArcMAP. I cannot find a resource to do this? ArcMAP has GPS tools that allow me to view the GPS Position, so I know the data is in the program, just can't seem to isolate it?
Thanks
Paul
Solved! Go to Solution.
In ArcMap the GPS functionality is contained within the GPS toolbar. This toolbar would have been implemented using ArcObjects.
Arcpy allows you to access geoprocessing tools or manipulate map documents but it has a courser object model than the full ArcObjects – not everything in ArcObjects is available via arcpy.
There do not appear to be any arcpy classes or functions that refer to the GPS toolbar functionality so you may be out of luck.
Don't know that specifically, but I suspect that you might need to save the location in order to get the coordinates. I use DNRGPS for this instead of ArcMap, so you might want to give it a try as well
In ArcMap the GPS functionality is contained within the GPS toolbar. This toolbar would have been implemented using ArcObjects.
Arcpy allows you to access geoprocessing tools or manipulate map documents but it has a courser object model than the full ArcObjects – not everything in ArcObjects is available via arcpy.
There do not appear to be any arcpy classes or functions that refer to the GPS toolbar functionality so you may be out of luck.