-
Notifications
You must be signed in to change notification settings - Fork 81
XLSForm Parsing and Upload
Org Admins should be able to create XLSForms and Upload them to the Cadasta Platform when creating project to define the data schema of their project
Users need to be able to upload data into Cadasta from GeoODK. GeoODK uses the XLSForms standard in the creation of its mobile survey forms. When creating a project (for version 1 release) it is required you upload an XLSForm in order to define the data schema of your project. Cadasta will provide default forms for users to use (for the initial release this will be via a github project of survey forms).
- Org admin selects "Create New Project"
- Org admin enters detailed project information including uploads XLSForm
- After Org admin has finished creating project they press "save"
- XLSForm is parsed and project attribute schema is created
- Org admin/Project Admin selects "Edit Project Details"
- Org admin/Project Admin selects "Reupload XLSForm"
- Org admin/Project Admin selects "Save"
- XLSForm is parsed and project attribute schema is updated
When a form is parsed it adds the custom project attributes to the project. There needs to be a way to know if the attribute should be part of the Location, Relationship or Party. For Version 1 the following logic will be used:
- For location "l_" will be put in front of the name in the XLSForm
- For relationship "r_" will be put in the front of the name in the XLSForm
- For party "p_" will be put in front of the name in the XLSForm
**Note:**XLSForms that change the field type the user should be warned that they can't change the field type.
- integer: integer
- decimal: decimal
- text: text
- select_one: text
- select_multiple: text
- geopoint: for location already the spatial unit
- geotrace: for location already the spatial unit
- geoshape: for location already the spatial unit
- date: date
- time: time
- dateTime: timestamp
file type data types such as images, audio and video do not need to be put into the data schema since they will be handled as resources in the Cadasta platform
For the initial version release the form needs to have the following types in it with the prefix (l_, r_, p_)
- Location: type, geometry
- Relationship: type
- Parties: name, type
- Version 1: XLSForms must be uploaded as part of project creation. User can upload one form per project; future versions will support more forms per projects, this should be considered when implementing the data model.
- Version 2: Users will be able to reupload forms to add additional fields to the project data schema
- This process also will create mobile data collection forms for GeoODK
Project creation wizard
Project Creation Wireframes
Visit our User Documentation to learn more about using the Cadasta Platform.
If you'd like to contribute to the Cadasta Platform, start with our Contributing Guidelines.
Cadasta Wiki Home | Developer Setup Guide
Cadasta.org | About Cadasta | YouTube | Twitter | Facebook
- Installing & Running
- Contributing
- Planning & Sprints
- Platform Development
- Testing
- Utilities
- Outreachy
- Platform Site Map
- User Flows and Wireframes
- Other
- Quick Start Guide
- Glossary
- Questionnaire Guide