README.md

maplandscape

Overview

A package that provides functions for building Shiny dashboard applications to explore and visualise layers (tables) in GeoPackages. It focuses on providing tools for quick analysis of data collected in-the-field using the QField mobile GIS application and stored in GeoPackages in QFieldCloud.

A pre-built Shiny application is provided with this package which uses these functions and provides tools for:

This package was developed as part of the Livelihoods and Landscapes project which is developing tools and approaches to map diverse agricultural landscapes.

Setup

Local R Package

Clone the maplandscape repo:

git clone https://github.com/livelihoods-and-landscapes/maplandscape.git

Move into the maplandscape directory:

cd maplandscape

maplandscape requires an instance of PostGIS. Deploy a local PostGIS instance using docker:

cd inst/postgis
docker compose up -d

Make sure the PostGIS configuration in inst/app/config matches what is specified in the docker-compose.yml file.

Move the root of the maplandscape repo. Launch the app:

cd ../..
shiny::runApp("inst/app")

Docker and deploy to the cloud

You can also deploy maplandscape to the cloud using Shiny Proxy, docker, and docker swarm by following the instructions here.



livelihoods-and-landscapes/maplandscape documentation built on March 20, 2023, 5:43 a.m.