Skip to content

Commit

Permalink
feat: create entity for new feature point(geopoint)
Browse files Browse the repository at this point in the history
  • Loading branch information
sujanadh committed Sep 10, 2024
1 parent b98b419 commit 82aec78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osm_fieldwork/update_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def merge_sheets(mandatory_df, custom_df, digitisation_df, is_survey_sheet=False
"name": ["survey_questions"],
"label": ["Survey Form"],
"relevant": [
"${building_exists} = 'yes'"
"(${new_feature} = 'yes') or (${building_exists} = 'yes')"
], # Add the relevant condition to display this group only if "Yes" is selected
}
)
Expand All @@ -60,7 +60,7 @@ def merge_sheets(mandatory_df, custom_df, digitisation_df, is_survey_sheet=False
"type": ["begin group"],
"name": ["verification"],
"label": ["Verification Form"],
"relevant": ["${building_exists} = 'yes'"],
"relevant": ["(${new_feature} = 'yes') or (${building_exists} = 'yes')"],
}
)
digitisation_end_group = pd.DataFrame({"type": ["end group"], "name": ["end_verification"], "label": ["End Verification Form"]})
Expand Down
Binary file modified osm_fieldwork/xlsforms/fmtm/mandatory_fields.xls
Binary file not shown.

0 comments on commit 82aec78

Please sign in to comment.