-
Notifications
You must be signed in to change notification settings - Fork 83
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
Allow the XLSForm new_feature question geometry type to be configurable #329
Conversation
{ | ||
"type": geom_field, | ||
"name": "new_feature", | ||
"label::english(en)": "Alternatively, take a gps coordinates of a new feature", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also need to update labels
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah of course, thanks, that label doesn't make sense anymore.
It would be nice to have it tweaked based on geometry type, but that increases the translation burden.
Perhaps just
'Please draw a new geometry'
would work for all geom types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah we can generalize it.
new_geom_type
to theappend_mandatory_fields
function.POINT
,POLYGON,
LINESTRING
.new_feature
question type based on that.Note we don't actually use the question type in ODK mostly. But this just inform ODK for the geometry type to be stored in the submission.
Also note the tests are all failing currently due to a dockerfile issue, so we can't run the test suite: #328