Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output Coordinates in Database #114

Open
kdottiemo opened this issue Jul 12, 2016 · 2 comments
Open

Output Coordinates in Database #114

kdottiemo opened this issue Jul 12, 2016 · 2 comments

Comments

@kdottiemo
Copy link
Collaborator

Chip has been using output from VOCAL, in the available CSV format. It's great to have some feedback from him as a pseudo-user of the program, but in his usage, he decided that it is very important that in the CSV file, the coordinates of the vertices of the drawn polygon are available in terms of (time, altitude).

@kdottiemo
Copy link
Collaborator Author

I am nearly done with this issue, but I am running into a formatting issue. See attached screenshot.
importwithcoordinates

Each DatabasePolygon's list of coordinates is actually a unicode string (if I'm understanding that correctly.) So I go through a series of strippings, splittings, zippings, reformatting and tuplings to make a list of tuples. The database doesn't actually want to display a list of tuples as they would normally be displayed in simple output to console like so:

['(03:42:52, 16.652)', '(03:42:53, 12.766)', '(03:43:00, 15.754)', '(03:42:59, 17.954)', '(03:42:56, 19.240)']

Does anyone who knows more about the database have a suggestion for making the list of coordinates display better? Props if it doesn't have to be "massaged" much to also be output as *.txt or *.csv.

@kdottiemo
Copy link
Collaborator Author

kdottiemo commented Jul 13, 2016

Fix: #115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant