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

Standardize source coordinates #2

Open
peterdesmet opened this issue Nov 27, 2014 · 2 comments
Open

Standardize source coordinates #2

peterdesmet opened this issue Nov 27, 2014 · 2 comments

Comments

@peterdesmet
Copy link
Member

Source coordinates are currently written as 8°53'07.0"W. Although it is convenient that this information is in one field, it is 1) hard to validate and 2) somewhat complex to convert to decimal coordinates (-8.88527777777778), which we will use in the published dataset.

We can:

  1. Keep the single field, but then some coordinates will have to be corrected so they have the exact same format + write a SQL formula to parse them.
  2. Split the coordinates in 3 (or 4) fields: (negative) degrees, minutes, seconds (and a hemisphere field: W). It's easy to parse, but it adds 6 to 8 fields in total.
  3. Store all coordinates as decimal degrees in the database, in which case we lose an indication of the precision (e.g. it was to the tenth second). Storing decimal coordinates with 7 decimals is precise to the centimeter, so more than enough.

@marcpollet, what do you prefer?

@peterdesmet peterdesmet added this to the Occurrence extension milestone Nov 27, 2014
@marcpollet
Copy link
Collaborator

Dear Peter,

I prefer to retain the current coordinates but will provide you with
decimal coordinates, generated in a view or from stored values in my data
base. In this way, I keep the more accurate format, and have the useful
format available at any time. Ok with that?

Cheers,
Marc

@peterdesmet
Copy link
Member Author

So that would be option 1?

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

No branches or pull requests

2 participants