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

Duplicate HXL when exporting GPS questions #209

Open
jnm opened this issue May 30, 2018 · 1 comment
Open

Duplicate HXL when exporting GPS questions #209

jnm opened this issue May 30, 2018 · 1 comment
Assignees
Labels

Comments

@jnm
Copy link
Member

jnm commented May 30, 2018

Really a https://github.com/kobotoolbox/formpack/ issue, but kept here for continuity with the source issue: kobotoolbox/kpi#1479

For the location questions, if UNHCR is adamant, then I would offer to hard-code +lat, +lon, etc. in our exports when a HXL tag is present on the GPS question. Example export header, given a GPS question called label with the HXL tag #tag would look like:

label | _label_latitude | _label_longitude |  _label_altitude | _label_precision
#tag  | #tag+lat        | #tag+lon         |  #tag+elevation  | #tag+accuracy   

This would be simple concatenation, so if the user tagged the GPS question with #tag+attr, then the split columns would show #tag+attr+lat, #tag+attr+lon, ...

Don't forget: confirm that the HXL standard actually matches the location attributes provided in the UNHCR feedback (updated elevation per kobotoolbox/kpi#1479 (comment))

@jnm jnm self-assigned this May 30, 2018
@jnm
Copy link
Member Author

jnm commented May 30, 2018

@jnm jnm transferred this issue from kobotoolbox/kpi Nov 13, 2019
@joshuaberetta joshuaberetta assigned joshuaberetta and unassigned jnm Jul 20, 2021
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