Coder Social home page Coder Social logo

friessn / rsdb-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from environmentalinformatics-marburg/rsdb-data

0.0 0.0 0.0 399.16 MB

RSDB distribution with example datasets

Home Page: https://github.com/environmentalinformatics-marburg/rsdb-data/blob/master/README.md

License: Other

Rich Text Format 25.52% Batchfile 0.08% Python 29.43% Shell 0.26% HTML 2.66% CSS 0.86% JavaScript 39.88% Vue 0.26% R 1.04%

rsdb-data's Introduction

RSDB distribution with example datasets

This distribution contains RSDB, example datasets and example R-scripts.
If issues with RSDB arise please refer to our documentation and to our troubleshooting page.

overview

The example datasets are already inserted into RSDB and additionally the original example dataset files are in folder example-data.
Example R-scripts are located in folder example-data/r_script. (--> documentation of processing by R-scripting)

Download this distribution as zip-file

Or download this distribution with git:

git clone --depth 1 -b master https://github.com/environmentalinformatics-marburg/rsdb-data.git

This RSDB distribution is runnable on Windows and on Ubuntu.

Run on Windows 10 64bit

Extract the zip-file on a short path without spaces in it, e.g. to C:/rsdb

Doubleclick win_server.cmd to run RSDB server. Stop it by closing the console window.

No dependencies are needed as java and gdal for Windows 10 64bit are included.

Files of pattern win_*.cmd are executable for Windows.

Run on Ubuntu

Extract the zip-file.

Dependencies Java (default-jdk) and GDAL libgdal-java are needed which are not included this distribution for Ubuntu. Refer to the documentation.

Install dependencies and mark sh-files as executable.

sudo apt-get install default-jdk
sudo apt install libgdal-java
chmod +x *.sh

Run RSDB server.

./server.sh

Press ctrl-c to stop RSDB server.

RSDB usage

Web-interface: Per default your local RSDB server is running at http://127.0.0.1:8081

If your local RSDB is running currently you can directly click on this link to open RSDB web-interface. (For freshly started RSDB server, wait a few seconds until "Server running.." is printed on the terminal.)

This URL can also be used for access by the RSDB R-package.


Example datasets

All example datasets are inserted in RSDB as layers.

You can use the original example data files located in subfolders of example-data to try out to insert data into RSDB.


Dataset lidar_forest_edge

This is a dataset of LiDAR data covering an edge of the forest.

Original dataset is located at example-data/lidar_forest_edge

Task for dataset import

web-interface Tools - Task - Category PointCloud - Task import

Insert task parameters. At the bottom the summary of the resulting task is shown which should be the following:

{ "task_pointcloud": "import", "pointcloud": "lidar_forest_edge", "source": "example-data/lidar_forest_edge", "storage_type": "TileStorage"}

Click Submit and wait a few seconds to finish the task.

Refresh you browser window (by pressing "F5") to update list of contained layers.

Task for rasterized layer generation

web-interface Tools - Task - Category PointCloud - Task rasterize

Insert task parameters. At the bottom the summary of the resulting task is shown which should be the following:

{ "task_pointcloud": "rasterize", "pointcloud": "lidar_forest_edge", "storage_type": "TileStorage" }

Click Submit and wait a few seconds to finish the task.

Refresh you browser window (by pressing "F5") to update list of contained layers.


Dataset plots_forest_edge

This dataset contains plot definitions as polygons in a GeoPackage file. The plot areas are covered by the lidar dataset lidar_forest_edge.

Original dataset is located at example-data/plots_forest_edge/plots_forest_edge.gpkg

viewer lidar_forest_edge


Example processing

Processing R script is located at example-data/r_script (--> documentation of processing by R-scripting)

The script uploads a plot mask into RSDB as raster layer plots_forest_edge_indices at band 1 with title plot mask.

Aim of the following:
Based on the plot mask, pixels of resolution of 1 meter should be filled at plot areas with point cloud index calculation values by task index_raster.

The point cloud task index_raster can be specified and submitted on the web interface or on the command line. (see documentation)

pointcloud_task index_raster

Parameters:

task_pointcloud: "index_raster" // task name
pointcloud: "lidar_forest_edge" // source point cloud layer
rasterdb: "plots_forest_edge_indices" // target raster layer with mask at band 1
indices: "BE_H_MEAN" // indices to calculate for each pixel
mask_band: 1 // the previously created band 1 should be used

Following task specification will be generated if the parameter arguments have been typed into the web interface:

{ "task_pointcloud": "index_raster", "pointcloud": "lidar_forest_edge", "rasterdb": "plots_forest_edge_indices", "indices": [ "BE_H_MEAN" ], "mask_band": 1 }

This task specification can be submitted by the Submit button or at command line it can be typed directly and submitted.

viewer plots_forest_edge_indices

rsdb-data's People

Contributors

swoellauer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.