Skip to content

Additional GeoJSON Layers

Adri edited this page Jun 29, 2017 · 1 revision

Ability to have additional GeoJSON layers by projects.

Detailed Feature Description

By default Cadasta provides users with OpenStreetMap and Digital Globe imagery as default basemaps, and in addition we will provide the capability of adding additional custom basemaps. But on top of that, it will be useful for the users to add additional GeoJSON layers to show specific information related to the project extent (for instance resource related information like schools, water sources, etc).

User Stories

  • As a project manager I want to add a GeoJSON file to my project
  • As a project manager I want to remove a GeoJSON file that I've already added
  • As a project manager I want to add a GeoJSON file previously added in other projects within my organization, so I can reuse those layers
  • As a project user I want to be able to enable and disable the additional overlays that I'm using at any moment (using checkboxes in a similar way as the GPX layers are currently presented)

Requirements

Adding a GeoJSON file to my project

  1. A new entry in the Project Dashboard will be added for "Overlays customization". This will be integrated with the Project Creation Wizard.
  2. Project manager go to "Overlays customization" page and select "add custom overlay" (or similar)
  3. Interface for adding the GeoJSON file appears. The file will be stored as an additional resource, UI will have fields for name and description (as any other project resource).
  4. This added GeoJSON file will be also selectable in other projects within the organization.

Note: Point 4 will require a change in the permissions policy. Project managers will be able to add GeoJSON files to their projects and they will be saved as project resources. But those GeoJSON files will be also available for the other projects within the organization, as projects managers will be usually in charge of upload the GeoJSON files and these files will be typically shared among projects within the organization.

Removing a GeoJSON file

  1. Project manager goes to "Overlays customization" page
  2. Project manager then scrolls down to the overlay they would like to remove.
  3. Project manager clicks a delete button and Cadasta asks "Are you sure you want to delete this overlay? It will not be available to any users on this project".
  4. Project manager confirms deletion and the layer is removed from the project
  5. If the "removed" GeoJSON files are being used in other projects within the organization, then will not be really removed but only detached from this project.

Enabling GeoJSON Layers

  1. GeoJSON layers are listed below basemap layer menu in the map, with check-box buttons (similarly to the GPX waypoints)
  2. Users can enable and disable the different overlays showed on top of the basemap.

Ancillary Information

Wireframes

Clone this wiki locally