| 1 | [[TOC]] |
| 2 | |
| 3 | = Implementation of GRASS GIS module for 3D raster flow line computation = |
| 4 | |
| 5 | |
| 6 | || Title: || '''Implementation of GRASS GIS module for 3D raster flow line computation'''|| |
| 7 | |
| 8 | || Student: || Anna Petrasova, [http://gis.ncsu.edu/osgeorel/ North Carolina State University, Open Source Geospatial Research and Education Laboratory]|| |
| 9 | |
| 10 | || Organization: || [http://www.osgeo.org OSGeo - Open Source Geospatial Foundation]|| |
| 11 | |
| 12 | || Mentors: || [http://www4.ncsu.edu/~hmitaso/ Helena Mitasova], [http://grasswiki.osgeo.org/wiki/User:Huhabla Sören Gebbert] || |
| 13 | |
| 14 | || GSoC link: || [https://www.google-melange.com/gsoc/project/details/google/gsoc2014/eil8iath/5750085036015616 abstract] || |
| 15 | |
| 16 | == Abstract == |
| 17 | |
| 18 | GRASS GIS' capabilities of representing and processing data in 3D raster (voxel) format, are rare among other GIS software packages and open opportunities for new applications, especially in research. In this project I would like to extend the 3D raster handling capabilities by developing a module for computing 3D vector flow lines of a voxel representing trivariate continuous field. This new module, !r3.flow, will extend the functionality of module r.flow into the third dimension. |
| 19 | |
| 20 | == Introduction == |
| 21 | |
| 22 | GRASS GIS' capabilities of representing and processing data in 3D raster (voxel) format, are rare among other GIS software packages and open opportunities for new applications, especially in research. In this project I would like to extend the 3D raster handling capabilities by developing a module for computing 3D vector flow lines of a voxel representing trivariate continuous field. This new module, !r3.flow, will extend the functionality of module r.flow into the third dimension. |
| 23 | |
| 24 | |
| 25 | == Background == |
| 26 | |
| 27 | Although GRASS GIS is mainly used for processing 2-dimensional data, it supports 3 dimensions in both vector and raster data representation. Several 3D raster modules are offered by GRASS GIS and are using its 3D raster library; these modules focus mainly on creating and managing voxel data, computing statistics and converting to different formats. However, there is not many modules which would make use of voxel data and which would help in their analysis. In 3D, we miss standard tools used for topographic analysis such as slope, aspect or flow lines. Today, the importance of such tools increases with the availability of new measurement methods producing multidimensional datasets, such as time-series of soil data, water temperature or salinity. Three-dimensional flow lines can help us study the dynamics of elevation time-series in a form of space-time cube voxel representation. The visualization of such flow lines together with isosurfaces and other geographic data can be done directly in GRASS GIS. |
| 28 | |
| 29 | |
| 30 | == The idea == |
| 31 | |
| 32 | New module !r3.flow will use the flow tracing algorithm based on vector-grid approach implemented in r.flow module. The input aspect maps, represented by horizontal and vertical aspect 3D raster maps will be computed by v.vol.rst module. Alternatively the input aspect maps can be replaced by computation of gradient direction internally. New module !r3.flow should offer similar functionality as r.flow does, including upslope/downslope flow lines computation, flow lines density voxel and specifying number of cells between flow lines. |
| 33 | |
| 34 | == Project plan == |
| 35 | |
| 36 | || date || proposed task || |
| 37 | || 2014-05-19 - 2014-05-23 (week 1) || Write pseudocode for flow lines implementation || |
| 38 | || 2014-05-26 - 2014-05-30 (week 2) || Implementing dummy module which would only read 3D raster and write any vector lines to be able to test results |
| 39 | || 2014-06-02 - 2014-06-13 (week 3-4) || Implementing the actual algorithm |
| 40 | || 2014-06-16 - 2014-06-20 (week 05) || More testing and fixing problems |
| 41 | || 2014-06-23 - 2014-06-27 (week 06) || Implement skip parameter (skip voxels for creating flowlines) |
| 42 | || June 23 || Mentors and students can begin submitting mid-term evaluations |
| 43 | || June 27 || Mid-term evaluations deadline |
| 44 | || 2014-06-30 - 2014-07-04 (week 07) || Implementing upslope/downslope calculation |
| 45 | || 2014-07-07 - 2014-07-11 (week 08) || Implement flow line density 3D raster |
| 46 | || 2014-07-14 - 2014-07-18 (week 09) || Implement internal aspect calculation |
| 47 | || 2014-07-21 - 2014-07-25 (week 10) || More testing and fixing unresolved issues |
| 48 | || 2014-07-28 - 2014-08-08 (week 11-12) || Depending on situation, either continue with work on !r3.flow or start to work on related module !r3.slope.aspect which might not be finished within GSoC |
| 49 | || 2014-08-11 - 2014-08-15 (week 13) || Write code documentation and manual page for !r3.flow |
| 50 | || August 11 || Suggested 'pencils down' date. Take a week to scrub code, write tests, improve documentation, etc. |
| 51 | || 2014-08-18 - 2014-08-22 (week 14) || Submit evaluation and code to Google |
| 52 | || August 18 || Firm 'pencils down' date. Mentors, students and organization administrators can begin submitting final evaluations to Google. |
| 53 | || August 22 || Final evaluation deadline |
| 54 | || August 22 || Students can begin submitting required code samples to Google |