Select to view content in your preferred language

Creating Unique Picture File Names per Field User

608
6
04-15-2011 09:37 AM
JeremyLinley
Occasional Contributor
Hi,

I am wondering if there is a way to add a device name or computer name to the settings to ArcPad V10 to the standard picture file names.  At this time we are using the field name (for example, Picture1, Picture2, etc.) and the date/time stamp checked to use as the picture file name suffix.  But, with multiple users in the field at one time, we have had some overwriting of pictures when we consolidate all of the files into one folder on our network.  This is happening because users must be collecting the same type of feature, and taking the same field picture at the same time. Though this is not happening often because the time stamp is to the second, it has still occurred, and we were hoping for a work around.  Seems like it should be something simple, but have not been able to figure it out.

Any help with this issue would be greatly appreciated

Thanks,
Jeremy
Tags (3)
0 Kudos
6 Replies
RolfBroch
Frequent Contributor
Under Options and the Camera tab, there is setting "Filename Prefix" that you can use or you can edit the ArcPadPrefs.apx file

<CAMERA device="@APC" quality="75" path="C:\ArcPad\Pictures" prefix="Unit6" shortcut=""/>

Rolf
0 Kudos
JeremyLinley
Occasional Contributor
Rolf,

I appreciate the feedback.  We tried using the prefix, but the way that ArcPad is configured, the prefix is only included with the picture file name if there is no field name assoicated with the picture.  Since we are associating our pictures with a specific field for each feature, it does not use the prefix when naming the pictures, and instead uses the field heading (such as Picture1_20110419_102730.jpg, etc.)

Other than that, we are at a loss for what to try next.  Any other suggestions?

Thanks,
Jeremy
0 Kudos
RolfBroch
Frequent Contributor
In that case I would write a small script that trigger with the onfeatureadded or onfeaturechanged events that will take the existing picturename (from the field) and add the prefix if it is not already added.
0 Kudos
YuyingLi
Emerging Contributor
Hi Jeremy,

I ran into the same problem - have you figured it out the solution? Any help will be really appreciated it.

Thanks,
Yuying

Rolf,

I appreciate the feedback.  We tried using the prefix, but the way that ArcPad is configured, the prefix is only included with the picture file name if there is no field name assoicated with the picture.  Since we are associating our pictures with a specific field for each feature, it does not use the prefix when naming the pictures, and instead uses the field heading (such as Picture1_20110419_102730.jpg, etc.)

Other than that, we are at a loss for what to try next.  Any other suggestions?

Thanks,
Jeremy
0 Kudos
JessicaAlvarez
New Contributor
Hi Rolf,

I'm have a similar, but slightly different problem, in that I have an ID field for each feature that I would like the picture to be titled. Would I be able to use a trigger for that as well? Also are the triggers enabled in the Studio?

Thanks,

Jessica
0 Kudos
TimHopper
Frequent Contributor
Currently, this functionality does not exist within ArcPad.

The following enhancement request was submitted for this functionality -

CQ00311471: When taking a picture and adding it to a point feature with an integrated camera, would like a unique filename prefix.

Thanks.

Tim
0 Kudos