formpack is a tool used by kpi to parse and repackage survey data for exports, reports, and maps based on different languages available from the form definition.
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:
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, ...
Really a https://github.com/kobotoolbox/formpack/ issue, but kept here for continuity with the source issue: https://github.com/kobotoolbox/kpi/issues/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 calledlabel
with the HXL tag#tag
would look like: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 https://github.com/kobotoolbox/kpi/issues/1479#issuecomment-346070695)