Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile and meta manual page added #7

Merged
merged 3 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions grass-gis-addons/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
MODULE_TOPDIR = ../..

PGM = rvr_interface

# note: to deactivate a module, just place a file "DEPRECATED" into the subdir
ALL_SUBDIRS := ${sort ${dir ${wildcard */.}}}
DEPRECATED_SUBDIRS := ${sort ${dir ${wildcard */DEPRECATED}}}
RM_SUBDIRS := bin/ docs/ etc/ scripts/
SUBDIRS_1 := $(filter-out $(DEPRECATED_SUBDIRS), $(ALL_SUBDIRS))
SUBDIRS := $(filter-out $(RM_SUBDIRS), $(SUBDIRS_1))

include $(MODULE_TOPDIR)/include/Make/Dir.make

default: parsubdirs htmldir

install: installsubdirs
$(INSTALL_DATA) $(PGM).html $(INST_DIR)/docs/html/
6 changes: 3 additions & 3 deletions grass-gis-addons/r.import.dgm_nrw/r.import.dgm_nrw.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#############################################################################

#%Module
#% description: downloads and imports the NRW DGM 1m into the current mapset.
#% description: Downloads and imports the NRW DGM 1m into the current mapset.
#% keyword: raster
#% keyword: import
#% keyword: cdigital elevation model
#% keyword: digital elevation model
#%end

#%option G_OPT_M_DIR
Expand All @@ -40,7 +40,7 @@
#% type: string
#% required: yes
#% multiple: no
#% description: Name of output dgm raster map
#% description: Name of output DGM raster map
#% guisection: Output
#%end

Expand Down
8 changes: 4 additions & 4 deletions grass-gis-addons/r.import.ndom_nrw/r.import.ndom_nrw.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#############################################################################

#%Module
#% description: calculates nDOM from DOM and DGM data
#% description: Calculates nDOM from DOM and DGM data.
#% keyword: raster
#% keyword: import
#% keyword: cdigital elevation model
#% keyword: digital elevation model
#% keyword: digital surface model
#%end

Expand Down Expand Up @@ -49,7 +49,7 @@
#% type: string
#% required: yes
#% multiple: no
#% description: Name for output ndom raster map
#% description: Name for output nDOM raster map
#% guisection: Output
#%end

Expand All @@ -67,7 +67,7 @@
#% type: string
#% required: no
#% multiple: no
#% description: Name for output dgm raster map
#% description: Name for output DGM raster map
#% guisection: Output
#%end

Expand Down
51 changes: 51 additions & 0 deletions grass-gis-addons/rvr_interface.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>GRASS GIS manual: rvr_interface toolset</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="grassdocs.css" type="text/css">
</head>
<body bgcolor="white">
<div id="container">

<a href="https://grass.osgeo.org/grass-stable/manuals/index.html"><img src="grass_logo.png" alt="GRASS logo"></a>
<hr class="header">

<h2>NAME</h2>

<em><b>rvr_interface</b></em> - GRASS GIS addons for Regionalverband Ruhr (RVR) related geodata processing.

<h2>KEYWORDS</h2>
<a href="https://grass.osgeo.org/grass-stable/manuals/raster.html">raster</a>, <a href="https://grass.osgeo.org/grass-stable/manuals/topic_import.html">import</a>, <a href="https://grass.osgeo.org/grass-stable/manuals/vector.html">vector</a>

<!-- meta page description: addons for Regionalverband Ruhr (RVR) related geodata processing -->
<h2>DESCRIPTION</h2>

The <em>rvr_interface</em> toolset consists of several modules.

<ul>
<li><a href="r.extract.buildings.html">r.extract.buildings</a>: Extracts buildings from nDOM, NDVI and FNK</li>
<li><a href="r.extract.greenroofs.html">r.extract.greenroofs</a>: Extracts green roofs from nDOM, NDVI, GB-Ratio, FNK and building outlines</li>
<li><a href="r.import.dgm_nrw.html">r.import.dgm_nrw</a>: Downloads and imports the NRW DGM 1m into the current mapset.</li>
<li><a href="r.import.ndom_nrw.html">r.import.ndom_nrw</a>: Calculates nDOM from DOM and DGM data</li>
<li><a href="v.cd.buildings.html">v.cd.buildings</a>: Calculates difference between two vector layers (buildings)</li>
</ul>

<h2>REQUIREMENTS</h2>

The following Python libraries are needed.

<ul>
<li>psutil</li>
<li>pyproj</li>
<li>requests</li>
<li>tqdm</li>
</ul>

<h2>AUTHORS</h2>

Julia Haas, <a href="https://www.mundialis.de/">mundialis</a>, haas at mundialis.de
<p>
Guido Riembauer, <a href="https://www.mundialis.de/">mundialis</a>, riembauer at mundialis.de