Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I would like to build a small script that accesses a Trimble Juno SB (Windows Mobile) and makes a copy of a specific set of shapefiles on the unit's SD card. I would like to do this via a USB connection to avoid the hassle of removing the devices Otterbox case to get to the SD card itself.

My problem is that I cannot seem to access the devices directly as windows does not mount them like standard drives. The path I get from the device properties is formatted like this:

\Computer\[Device Name]\SD-MMC card\[Project Folder]

And if I try to use that as a path with arcpy.CopyFeatures_Management, a la:

arcpy.CopyFeatures_management("Computer\\GPS 377\\SD-MMC card\\LUA_Survey\\Ceramic.shp","C:\\Test\\")

Python tells me that the path I am passing as the first argument is invalid, or does not exist (ERROR 000732).

I have done a bit of research and it seems that there are ways to access these devices using the Microsoft Remote API (RAPI) but I am uncertain of how to do this in python.

Does anyone know a technique for accessing these kinds of devices via python and/or how to reference them for use with arcpy functions? I'm open to suggestion for other programmatic solutions but would prefer to use Python and Arcpy.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.