Bulk Import#

Bulk Import allows you to upload photos (media assets) and metadata (e.g., date, location, species, etc.) for multiple encounters at once.

To prepare your data for bulk import you need:

  • A folder that contains only your photos (no videos)

  • An Excel or CSV spreadsheet with the appropriate fields and metadata entered

Note

Your spreadsheet should have 200 Encounters or fewer. Spreadsheets larger than this will slow down the site for all users and will result in longer wait times for detection and identification.

Photo Folder#

Organize the photos you’re importing into a single folder. Ensure that all file names are unique from one another.

Image file names must match the Encounter.MediaAsset fields in your Wildbook Standard Format spreadsheet (linked below). Special characters are removed from file names. Your file names should only include letters from the English alphabet, 0-9, period, and space.

Spreadsheet#

In an Excel (.xlsx) file, create a column for each field you want to upload to Wildbook. See Fields Available for a list of supported fields and their descriptions. This must include:

  1. Location: Encounter.verbatimLocality, Encounter.locationID, and/or Encounter.decimalLatitude and Encounter.decimalLongitude

  2. Date or Time: Encounter.year, Encounter.month, Encounter.day, etc. If the date is unknown, a year is required for the encounter.

  3. Photo: Encounter.MediaAsset0

  4. Taxonomy: Encounter.genus and Encounter.specificEpithet

All other fields are optional. Encounters are uploaded as approved Encounters if Encounter.state is not set. Here are important guidelines for preparing your spreadsheet:

  • Determine which columns you have data for (see Fields Available). You can add, remove, and reorder columns as needed from the Fields Available list. You can create your own version of our spreadsheet as long as you do not change the field names. Fields without data should be removed from your spreadsheet prior to import to prevent errors.

  • Fill out each line for a single Encounter. If an encounter is associated with a Sighting, ensure that each Encounter is linked with a common value in the Sighting.sightingID column.

  • Verify the following fields match exactly with what exists in the system:

    • Encounter.locationID - Must match the location as shown in the Location ID drop-down menu of the Report an Encounter page.

    • Encounter.submitterID - Your Wildbook username to assign the encounter to you. This is case-sensitive and must match how it appears in your account page.

    • Encounter.mediaAsset0 - This is the exact file name of each image of the Encounter, including the file extention. Start numbering at 0 (such as Encounter.mediaAsset0), and for each additional image you add to the Encounter, increment by 1 (Encounter.mediaAsset0, Encounter.mediaAsset1, Encounter.mediaAsset2 etc.).

Spreadsheet Templates by Use Case#

Here are example Bulk Import Excel spreadsheet templates:

  1. Minimum import

  2. Standard import

  3. Individual catalog

  4. Sighting import

Uploading Data for Bulk Imports#

Go to the Bulk Import page (Submit > Bulk Import) and:

  1. Click Browse to select your images or drag and drop them into the box. If you don’t have any photos to upload, click Next.

  2. Click Browse to select your spreadsheet or drag and drop it into the box.

  3. Review the data uploaded from your spreadsheet and correct any validation errors and missing data. Errors, missing data, or empty fields will be highlighted. Fields with a + beside them allow you change the value for all rows of that column (such as location ID and submitter ID).

  4. When you’re done reviewing your spreadsheet, click Set Location.

  5. Select the location IDs you want to search for match candidates. Click Start Import.

  • Optionally, you can select the boxes to skip detection and identification. If you change your mind later and decide you do want detection or identification, you will need to delete the import and upload it again leaving those boxes unchecked.

  1. You can then click See Details to track you bulk import’s progress or go back to the home page to view it later from the My Data > My Bulk Imports menu.

  2. If you clicked See Details, this page will show your import’s image validation status, detection, and identification progress.

Note

If any of the steps above are interrupted due to loss of internet connection or closing your browser tab, your progress will be saved as a draft locally to your device. You’ll see a prompt to continue where you left off or start over when you revisit the Submit Bulk Import page.

Bulk Import Matching Process#

Your bulk imported Encounters go through the Image Analysis Pipeline if detection or identification is configured for the imported species. The detection and identification status icons on your bulk import will change when each stage is in process or complete.

As identification progresses, the IA Class will appear in the Class column of the table along with the match results status:

  • waiting to queue - Images haven’t been sent to WBIA yet

  • queuing - Trying to send images to WBIA

  • queued - Images in WBIA, waiting for them to come back

  • working - Identification actively in progress

  • error - Something went wrong; let us know in the Community Forums

  • exception - Something went wrong; let us know in the Community Forums

  • suppressed - Something went wrong; let us know in the Community Forums

  • completed - Done; images back from WBIA

Click on the links in the Class column to view match results for each Encounter.

Deleting a Bulk Import#

  1. Go to My Data > My Bulk Imports.

  2. Click on the bulk import you want to delete from the list.

  3. Scroll down to the bottom of the bulk import table and click Delete Import Task.

Fields Available#

Common Fields#

The most commonly-used fields are listed in the table below.

Name

Type

Example

Description

MarkedIndividual.individualID

V_WString

Lion045

PrimaryKey. While Wildbook assigns unique user IDs to MarkedIndividuals, this field becomes the default display name for the MarkedIndividual.
Duplicate of Encounter.individualID.
We recommend using this field instead of Encounter.individualID.

Encounter.individualID

V_WString

Lion045

Duplicate of MarkedIndividual.individualID.

Encounter.verbatimLocality

V_WString

Saw this about five minutes into our tour near mile marker 5, somewhere in Tanzania.

Descriptive string to reference location. No constraints on what is entered, but is not used for analysis.

Encounter.locationID

V_WString

Zone 5, Botswana

Hierarchical list of study sites. Allows for consistency and controlled granularity of location input. Must match the location as shown in the Location ID menu of the Report an Encounter page except in GrouperSpotter, where you only need to enter the REEF code (see known issue).

Encounter.decimalLatitude

Double

-35.46

Enter latitude coordinates using decimals instead of degrees, minutes, and seconds (DMS). The first encounter of any setting will also set the decimal latitude at the sighting level.

Encounter.decimalLongitude

Double

54.678

Enter longitude coordinates using decimals instead of degrees, minutes, and seconds (DMS). The first encounter of any setting will also set the decimal latitude at the sighting level.

Encounter.year

Int32

2020

For encounter date information, add what you have to the most precise accuracy. Storing the segments separately allows general dates such as “June 2014”; we do not store seconds or milliseconds for an encounter’s date information, so there are no fields to allow the input of those values. Enter a 4 digit number.

Encounter.month

Int32

8

Enter a number 1-12 corresponding with the the month of the encounter.

Encounter.day

Int32

24

Enter a number 1-31 corresponding with the day of the month.

Encounter.mediaAsset0

String

20180905/12345.jpg

Must be entered exactly: relative path to the photo from the position of the imported spreadsheet on the file system. Values from 0 to infinity are iterated until a sequence value is not found.

Encounter.genus

V_WString

Panthera

Enter an option from the Taxonomy drop-down menu. This should be the first of the two phrases. This entry must begin with a capital letter. These values are case-sensitive. If entered incorrectly, Taxonomy will display as “Not Available”.

Encounter.specificEpithet

V_WString

pardus

Enter an option from the Taxonomy drop-down menu. This should be the second of the two phrases. This entry must begin with a lowercase letter. These values are case-sensitive. If entered incorrectly, Taxonomy will display as “Not Available”.

Encounter.submitterID

V_WString

tmcnutt

Add submitter’s username in Wildbook. These values are case-sensitive.

Encounter.state

V_WString

approved
unapproved
unidentifiable

The curation state of this Encounter. Default value if left blank is “approved”.
Uncurated data should be imported as “unapproved”.
Encounters without photos should be imported as “unidentifiable”.

Encounter Fields#

The following fields can be included when uploading an Encounter. Review the description of the field and validate that it is in use in your system (meaning if you are on a terrestrial Wildbook, you will likely not use Encounter.depth).

Name

Type

Example

Description

Encounter.alternateID

V_WString

Bitey

Adds an Alternate ID to the Identity section of the Encounter.

Encounter.behavior

V_WString

feeding

List of behaviors commonly observed in the species.

Encounter.country

V_WString

Botswana

Country where the Encounter took place.

Encounter.dateInMilliseconds

Int64

1589554848

Skip other Encounter date fields if you have a precise date and time (milliseconds since epoch—the standard computer format for date and times). Format is a large integer like 1516685992499.

Encounter.distinguishingScar

V_WString

left body

Description of any highly-identifiable markings/scarring that help with visual Identificaton.

Encounter.groupRole

V_WString

escort male

Not commonly used. Largely used for point-in-time observations of role rather than longer-term observations.

Encounter.hour

Int32

11

Enter a number 1-24, 24 corresponding with midnight.

Encounter.keyword0

String

left strange marking

Applies a keyword to a mediaAsset; the number of Encounter.keyword(X) should correspond to number of Encounter.mediaAsset(X).

Encounter.mediaAsset0.keywords

String

left strange marking_scar on body_ProfilePhoto

Underscore-delimited list of keywords to be associated with the MediaAsset. Can be used for one or many keywords. Values from 0 to infinity are iterated until a sequence value is not found.

Encounter.lifeStage

V_WString

juvenile

List of potential life stages. Standards are “adult”, “juvenile”, and “unknown”.

Encounter.livingStatus

V_WString

Accepted values: “alive” or “dead”

Encounter.measurement0

String

5

Supported column headings are numeric. Values from 0 to infinity are iterated until a sequence value is not found.

Encounter.mediaAsset0.[label name]

String

[label name]: flukeType, value: dorsal

Name a column for a labeled keyword and provide an associated value for each encounter. Labeled keyword names can be found in the keyword drop-down menu on a MediaAsset. Labeled keywords can be defined in the commonConfiguration.properties file.

Encounter.minutes

V_WString

35

Enter a number 1-60.

Encounter.sightingID

V_WString

BPCT_20190825_1

A unique code that links encounters across a single sighting. Helpful if you can cross-reference to your records. If you enter an ID that exists in the system, the encounter will be associated with the existing sighting. If you enter a new and unique ID or if you leave the field blank, a new sighting will be created and the encounter associated with the newly created sighting. Restricted to Latin alphanumeric characters (a-z, A-Z, 0-9), - and _.
Duplicate of Sighting.sightingID. We recommend using this field instead of Sighting.sightingID.

Encounter.researcherComments

V_WString

We also took a separate video observation.

Unconstrained field for general notes regarding the specific encounter (single annotation and related metadata).
Leaves comments on the Encounter page under Metadata > Audit Trail.

Encounter.sightingRemarks

V_WString

We saw this pack while driving through the forest.

Leaves comments on the Encounter page under Attributes > Additional Comments. Use this field if you need the comments to persist on any cloned Encounters.

Encounter.otherCatalogNumbers

V_WString

fieldObs12

Links the Encounter to other numbers, such as a field encounter number for the day. Limited use in Wildbook.

Encounter.patterningCode

V_WString

tan

A code that defines some standardized feature of body coloring, such as how humpback whale flukes are categorized 1-5 (light to dark) or wild dogs are categorized by general body color (e.g., tan). This field is stored on the back-end and displayed without UI editing capability.

Encounter.mediaAsset0.quality

String

An integer value 0 to 4.

Estimated quality of Encounter.mediaAsset0. Values from 0 to infinity are iterated until a sequence value is not found.

Encounter.sex

V_WString

male

Focus on values: “male”, “female”, and “unknown”.

MarkedIndividual.nickname

V_WString

Barry the Slow Lion

Enter a name that can be more easily referenced; does not override ID.

Membership.role

V_WString

alpha

Role as a member of a social unit (SocialUnit.socialUnitName).

SatelliteTag.serialNumber

V_WString

12345

Serial number. Reference only

SocialUnit.socialUnitName

V_WString

G Pack

PrimaryKey. Unique to each social unit.

Sightings Fields#

Sightings Field

Type

Example

Description

Sighting.sightingID

V_WString

Duplicate of Encounter.sightingID

Sighting.comments

V_WString

Leaves comments on the Sighting/Occurrence ID page.

Sighting.bestGroupSizeEstimate

Double

5

Researcher-provided estimate of group size.

Sighting.effortCode

Double

Categorized set of values denoting the amount of effort that went into collecting data for a sighting.

Sighting.fieldStudySite

V_WString

String for location. Site names should be recognizable.

Sighting.fieldSurveyCode

V_WString

String to be associated with a given survey.

Sighting.groupBehavior

V_WString

String for description of observed behavior.

Sighting.groupComposition

V_WString

String for description of what animals are observed and their potential relationships.

Sighting.groupSize

V_WString

String for description of group size.

Sighting.humanActivityNearby

V_WString

Description of any activity known to occur in the area.

Sighting.individualCount

Int32

Number of Individuals counted manually in the sighting.

Sighting.initialCue

V_WString

Text value denoting what signaled attention to the Sighting. Stored in the database only. No UI.

Sighting.maxGroupSizeEstimate

Int32

Researcher-provided estimate of upper limit group size.

Sighting.millis

Int64

Time of the Sighting in milliseconds since Epoch; typically originates from hardware used to capture image.

Sighting.minGroupSizeEstimate

Int32

Researcher-provided estimate of lower limit group size.

Sighting.numAdults

Int32

Researcher-provided determination of number of adults

Sighting.numAdultFemales

Int32

Researcher-provided determination of number of adult females.

Sighting.numAdultMales

Int32

Researcher-provided determination of number of adult males.

Sighting.numCalves

Int32

Researcher-provided determination of number of calves. Can be used for any infant stage of a species.

Sighting.numJuveniles

Int32

Researcher-provided determination of number of juveniles.

Sighting.numSubAdults

Int32

Researcher-provided determination of number of subadults.

Sighting.numSubFemales

Int32

Researcher-provided determination of number of subadult females.

Sighting.numSubMales

Int32

Researcher-provided determination of number of subadult males.

Sighting.observer

String

The name of the observing researcher.

Sighting.transectName

V_WString

Name of the transect that logged the sighting. Stored in the database only.

Sighting.visibilityIndex

Double

Indexed values of the visibility during the time of the sighting. Stored in the database only.

Project Fields#

Project Field

Type

Example

Description

Encounter.project0.projectIdPrefix

String

Cen20-

The prefix used when assigning project IDs to encounters. These values are case-sensitive. Values from 0 to infinity are iterated until a sequence value is not found, allowing you to put encounters into multiple projects. Required for imports into existing and new projects.

Encounter.project0.researchProjectName

String

Census 2020

The project’s name. These values are case-sensitive. Values from 0 to infinity are iterated until a sequence value is not found, allowing you to put encounters into multiple projects. Required for imports into both existing and new projects.

Encounter.project0.ownerUsername

String

censusadmin

The username of the person who should manage the project. These values are case-sensitive. Required for imports into new projects only. To prevent caching or threading issues, associate the new owner with all encounters in the spreadsheet that are going into the new project.

Submitter Fields#

Submitter Field

Type

Example

Description

Encounter.informOther0.affiliation

String

BPCT

Unconstrained string to indicate an affiliation to inform. Values from 0 to infinity are iterated until a sequence value is not found. Does not save unless Encounter.informOther0.emailAddress is also reported.

Encounter.informOther0.emailAddress

String

joe@joe.com

Add the email address of someone else to inform of Encounter updates. Values from 0 to infinity are iterated until a sequence value is not found. Links to the email address of a Wildbook account.

Encounter.informOther0.fullName

String

Joe Smith

Provide the full name of someone else to inform of Encounter updates. Values from 0 to infinity are iterated until a sequence value is not found. Does not save unless Encounter.informOther0.emailAddress is also reported.

Encounter.photographer0.affiliation

String

BPCT

Unconstrained string to list an organization the photographer is associated with. When the photographer is an existing Wildbook user, only include the Encounter.photographer0.emailAddress field. Whatever is in Encounter.photographer0.affiliation will be ignored in favor of what the system associates with the user’s email address. Values from 0 to infinity are iterated until a sequence value is not found. Does not save unless photographer0.emailAddress is also reported.

Encounter.photographer0.emailAddress

String

joe@joe.com

Add the email address of the photographer. Values from 0 to infinity are iterated until a sequence value is not found. Links to the email address of a Wildbook account.

Encounter.photographer0.fullName

String

Joe Smith

Provide the full name of the photographer. When the photographer is an existing Wildbook user, only include the Encounter.photographer0.emailAddress field. Whatever is in Encounter.photographer0.fullName will be ignored in favor of what the system associates with the user’s email address. Values from 0 to infinity are iterated until a sequence value is not found. Does not save unless photographer0.emailAddress is also reported.

Encounter.submitter0.affiliation

String

Joe’s Safaris

Unconstrained string to list the submitter’s organization. Values  from 0 to infinity are iterated until a sequence value is not found. Does not save unless submitter0.emailAddress is also reported.

Encounter.submitter0.emailAddress

String

joe@joe.com

Add the email address of the submitter. Values from 0 to infinity are iterated until a sequence value is not found. Links to the email address of a Wildbook account.

Encounter.submitter0.fullName

String

Joe Smith

Provide the full name of the submitter. Values from 0 to infinity are iterated until a sequence value is not found. Does not save unless submitter0.emailAddress is also reported.

Genetic Fields#

Genetic Field

Type

Example

Description

TissueSample.sampleID

V_WString

12345

ID of the tissue sample taken during this Encounter. Only one TissueSample can be imported per Encounter.

SexAnalysis.sex

V_WString

female

Determination from a genetic analysis of the individual’s sex. Results from the analysis of a tissue sample taken during the same encounter. A corresponding TissueSample.sampleID entry is required for this field to import.

MitochondrialDNAAnalysis.haplotype

V_WString

“A+”

Determination from a genetic analysis of the individual’s haplotype. Results from analysis of a tissue sample taken during the same encounter. A corresponding TissueSample.sampleID entry is required for this field to import.

MicrosatelliteMarkersAnalysis.alleleNames
MicrosatelliteMarkersAnalysis.alleles0
MicrosatelliteMarkersAnalysis.alleles1

V_WString

alleleNames: “EV1,
EV5,EV94,GT23,
GT575,rw410,
464465,GATA417,
SW13,EV37,
EV14,FCB1,SW19”
alleles0: “120,154,
201,79,131,177,140,
182,158,231,125,
121,123”
alleles1: “120,158,
209,85,135,183,
140,186,160,237,
145,129,147”

Determination from a genetic analysis of the Individual’s genotype. Results from analysis of a tissue sample taken during the same Encounter. A corresponding TissueSample.sampleID entry is required for this field to import. These three fields must all be present and have the exact same number of values as separated by commas.

Survey Fields#

Survey Field

Type

Example

Description

SurveyTrack.vesselID

V_WString

Car 45

User-provided identifier of ship used during survey.

survey.vessel

V_WString

Car 45

Duplicate of SurveyTrack.vesselID.

survey.id

String

Record number of the survey performed.

Aquatic Fields#

Aquatic Name

Type

Example

Description

Encounter.depth

Double

35

Depth of water where the Encounter occurred. Aquatic-only.

Sighting.bearing

Double

45

Value to work with decimalLatitude, decimalLongitude, and distance of Sighting. Typically aquatic-only.

Sighting.distance

Double

Value to work with decimalLatitude, decimalLongitude, and bearing of Sighting.

Sighting.seaState

V_WString

Description of water conditions during the Sighting. Aquatic-only.

Sighting.seaSurfaceTemp

Double

Water temperature in degrees celsius. Aquatic-only.

Sighting.swellHeight

Double

Height of any waves in the area in meters. Aquatic-only.

Sighting.transectBearing

Double

Numeric value of the bearing from the observation vessel to the observed sighting. Stored in database only. Aquatic-only.

Reviewing Bulk Imports#

You can review your Bulk Imports by selecting Bulk Import Logs from the Administer menu. If you have admin or orgAdmin roles on your User account, you may see additional logs for other users as well.