Skip to content

Data Download

Adri edited this page Jun 29, 2017 · 1 revision

Project Managers and Organizational Admins need to be able to bulk download data from a project.

Detailed Feature Description

Project Managers and Organizational Admins need to be able to bulk download data from a project. For version .01 xls and shp will be required for download.

User Stories

  • I want to be able to download the spatial data from my Cadasta projects and open that data in a GIS program such as QGIS or ArcGIS
  • I want to be able to download the tabular data from my Cadasta projects and open that data in Excel.
  • I want to be able to join the tabular and spatial data from my Cadasta project to perform analysis and reporting.
  • I want to be able to bulk download my project resources

Requirements

SHP File Download

  1. Project Manager/Org Admin presses download button and selects shp.
  2. A zipped package of shp file components (since shp file is really a collection of files) is downloaded to user's computer
  3. The shp file contains: type, geometry and the custom attributes for location in that project

XLS File Download

  1. Project Manager/Org Admin presses download button and selects xls
  2. A single file is downloaded
  3. The file contains a tab for each location, relationship, party and resources

location: type, geometry and custom attributes relationship: type and custom attributes party: name, type and custom attributes resources: name of resource file and key of to location, relationship or party.

Project Resources Download

  1. Project Manager/Org admin presses download button and selects resources
  2. A zipped package of all resource files is downloaded with a index xls file that contains name of resource file and key of linked location, relationship or party

All Information Download

  1. Project Manager/Org admin presses download button and selects "all"
  2. A collection of files containing all the project data is downloaded

Files:

  • shp: contains type, geometry
  • xls: contains custom location attributes, all relationship attributes, all party attributes and cross reference table for resources
  • resources: raw files of resources

Ancillary Information

All data should be linkable to each other by primary/foreign keys. It should be possible for a user to download a shp file and xls file for example at different times and still be able to link them together.

shp is an old format with limitations on field length for the bulk download all the custom attributes should be in the xls file to avoid having to truncate.

If it is easy to add other file types there is no reason not to do that for this release. E.g. Spatialite

Wireframes

A download button is displayed in all list views of 2.2 Map. Details about the wireframe are available under 2.2.1.5 Download Data Modal.

Clone this wiki locally