move-ucsb / DynamoVis

An exploratory movement visualization tool
GNU General Public License v3.0
29 stars 6 forks source link

Input file issue #8

Closed EmiTodorov closed 2 years ago

EmiTodorov commented 2 years ago

Hi there. I got this message while trying to input file. I suppose the issue is somewhere in the input file. I tried to respect the rules for all 4 obligatory fields.

-----New File----- C:\Users\Emil\Downloads\DynamoVis-1.0\data\Victoria.csv

Using ID as individual-local-identifier Using Long1(E) as location-long Using Lat1(N) as location-lat Using Timestamp as study-local-timestamp Something bad happened: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0

Many thanks for the help. Emil

merttoka commented 2 years ago

Would you mind sharing a snippet from your data (3-5 lines and the headers)?

EmiTodorov commented 2 years ago

Here it is the screenshot of the data I am trying to upload. Many thanks for your kind assistance, Emil Untitled

merttoka commented 2 years ago

Ah, I see. It looks like the unique identifier field is a row number for each row. DynamoVis expects this field as a unique ID/tag for each animal (or more broadly, each entity).

If your data consists of the tracking points of only one entity, you can simply create another column (say animal_id) and assign the same ID for each row (for example 1 or Leo). If you have multiple entities, assign a different tag for different entities. Each entity ID/tag in your data will correspond to a different track in the visualization.

EmiTodorov commented 2 years ago

Many thanks! Now it works perfect! Congratulations for your work done by developing this useful software. Best regards.