In our survey the surveyors have to take one or more photos at a sample point. Currently it is not really clear to me how the filename for the photo is generated. I fear that once we pool the data from the differnt surveyors together that their might be duplicate filenames.

Is it possible to change the photo file name to the key attributes in the survey? In my case I have 3 key attributes defining a sample point the district_ID, segment_ID and the sample point_ID. For each sample point one or more photos are taken. It would be great if the photos would have the key attributes as filename, if more than one photo is attached to one sample unit a count like xx-yyyyy-z-1.jpg, xx-yyyyy-z-1.jpg, ... would be great.

asked 28 Sep '16, 09:45

LKwh's gravatar image

LKwh
32710
accept rate: 0%


On Collect Mobile, a device-generated filename is used. Once the data is imported into Collect Desktop, universally unique identifiers (UUID) will be used as filenames, preventing the issue you describe.

The reason we don’t include information about key attributes in the filenames is that those values might change. While it’s technically possible to rename files when related key attributes change values, it take some work to implement. We’ll keep that feature in mind, and will see if we find a clean way, and the time, to implement it.

Something I will try to include in the next release is to make sure Collect Mobile also uses UUIDs as filenames. There is currently the possibility of filename collisions when starting to collect data from one device then continue on another.

permanent link

answered 28 Sep '16, 11:42

wiell's gravatar image

wiell
1573
accept rate: 20%

So if I understand correctly, after processing the data through collect desktop the photo names would be unique? Is this correct or did I misinterpret?

Could you provide some advice on how to manage photos generated through multiple devices and avoiding naming collision when all photos are brought to one location?

permanent link

answered 06 Oct '16, 15:26

liamcostello's gravatar image

liamcostello
231610
accept rate: 0%

Yes, that's correct. In Collect Desktop, all photos will get unique names, even if their original names would have collided. That means you don't have to do anything to avoid naming collisions.

(06 Oct '16, 15:30) wiell wiell's gravatar image

That's great - but how do i export the photos from collect? All i see is the option for csv and collect-data files. Can you outline the steps?

permanent link

answered 06 Oct '16, 15:37

liamcostello's gravatar image

liamcostello
231610
accept rate: 0%

Can you create a new question for that, and tag it with collect, please? It'll make it easier for other users to find this information. I'm sure Stefano can give you an answer on that. Myself, I don't know.

(06 Oct '16, 15:43) wiell wiell's gravatar image

In the next version of Collect (by the end of November 2022) there will be possibility to download the pictures when you export the data into Excel files...

(26 Oct '22, 22:24) Stefano (OF) ♦♦ Stefano%20%28OF%29's gravatar image

Hi all,

I am wondering whether you have by now implemented the possibility to rename photos according to key attributes?

Best, Jan

permanent link

answered 26 Oct '22, 14:36

janklein's gravatar image

janklein
215
accept rate: 0%

Dear user,
What do you mean exactly? Do you want the photo to have a file name with record and parent entity key attributes when you download it?
Let us know, many thanks.
Open Foris Team

permanent link

answered 26 Oct '22, 22:23

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.7k19
accept rate: 20%

Dear OF-team,

Our survey requires us to collect several specimens for a given sampling site and to take multiple pictures of each of these specimens. Each specimen is assigned a collector name and unique collection number (e.g., John Doe 1247).

In order to upload the images to the server, they need to have the following format: CollectorLastname-CollectionNumber-PhotographerInitials-ImageSequenceNumber.jpg (For example: "Doe-1247-JLK-001.jpg")

In the survey, all three key attributes are generated for each specimen.

Would it be possible to automatically generate the image file name according to this logic?

permanent link

answered 27 Oct '22, 10:03

janklein's gravatar image

janklein
215
accept rate: 0%

Dear Jan,
What we can do is to add a field in the file attribute where the user can define an expression that could be used when the file is downloaded from Collect (from the data entry form).
Is it enough for you?
Let us know, many thanks.
Open Foris Team

permanent link

answered 28 Oct '22, 14:54

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.7k19
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×170

question asked: 28 Sep '16, 09:45

question was seen: 4,691 times

last updated: 28 Oct '22, 14:54