<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://grasswiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=%E2%9A%A0%EF%B8%8FHellik</id>
	<title>GRASS-Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://grasswiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=%E2%9A%A0%EF%B8%8FHellik"/>
	<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/wiki/Special:Contributions/%E2%9A%A0%EF%B8%8FHellik"/>
	<updated>2026-05-25T18:51:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Talk:GRASS_Community_Meeting_Prague_2023&amp;diff=27076</id>
		<title>Talk:GRASS Community Meeting Prague 2023</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Talk:GRASS_Community_Meeting_Prague_2023&amp;diff=27076"/>
		<updated>2023-06-04T22:02:17Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Helmut Kudrnovsky */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Tasks for participants ==&lt;br /&gt;
&lt;br /&gt;
* Create section for you in the Reports section.&lt;br /&gt;
* List all the things you are working on in the section. Update the list each day. Include things you work on with other people.&lt;br /&gt;
* Link the [https://github.com/orgs/OSGeo/projects/1/ GRASS Community Meeting Prague 2023] project on GitHub to each PR or issue you are working on or plan to be working on.&lt;br /&gt;
* If you are or will be working on an issue or on a PR which is not originally submitted by you, assign yourself to the issue or PR. (You can unassign yourself later if you change your mind.)&lt;br /&gt;
&lt;br /&gt;
== Planning and organizing ==&lt;br /&gt;
&lt;br /&gt;
* Initial planning: Veronica Andreo, Martin Landa, Vaclav Petras, Helmut Kudrnovsky, Anna Petrasova, Huidae Cho, Markus Neteler, Helena Mitasova, Micha Silver, Linda Kladivova&lt;br /&gt;
* Funding acquisition: Veronica Andreo, Markus Neteler, Vaclav Petras, Anna Petrasova, Huidae Cho, Luca Delucchi, Venkatesh Raghavan&lt;br /&gt;
* Budget: Vaclav Petras, Markus Neteler, Veronica Andreo&lt;br /&gt;
* Venue and local organizing: Martin Landa&lt;br /&gt;
* T-shirts, hoodies, stickers: Vaclav Petras, Anna Petrasova&lt;br /&gt;
* Promotion, invitations, and social media: Caitlin Haedrich, Veronica Andreo, Vaclav Petras&lt;br /&gt;
* Wiki page: Martin Landa, Markus Neteler, Vaclav Petras, Veronica Andreo&lt;br /&gt;
* Virtual meeting organizing: Veronica Andreo&lt;br /&gt;
* Photography: Caitlin Haedrich&lt;br /&gt;
&lt;br /&gt;
== Ideas for the meeting agenda ==&lt;br /&gt;
&lt;br /&gt;
Collect ideas here :-)&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* Improve QGIS-GRASS GIS integration; update of provider to GRASS GIS 8&lt;br /&gt;
* GRASS GIS addons overview generator for entire GitHub (and more?) based on tag &amp;quot;[https://github.com/topics/grass-gis-addons grass-gis-addons]&amp;quot;&lt;br /&gt;
* Discuss about a 4th edition of &amp;quot;Open Source GIS: A GRASS GIS Approach&amp;quot;&lt;br /&gt;
* message translation: Easy [https://docs.weblate.org/en/latest/user/translating.html#machine-translation machine translation] of messages in [https://weblate.osgeo.org/translate/grass-gis OSGeo-Weblate] with DeepL API&lt;br /&gt;
** my tests with DeepL show that the quality is very good; average translation time of a user message shrinks to 15 seconds {{done}}&lt;br /&gt;
** note: one needs to login to Weblate to see the &amp;quot;Automatic suggestion&amp;quot; button (using the OSGeo-ID)&lt;br /&gt;
* Fix docs:&lt;br /&gt;
** Provide better explanation for radius parameter for r.resamp.filter: https://github.com/OSGeo/grass/issues/2569&lt;br /&gt;
** improve v.clean docs&lt;br /&gt;
&lt;br /&gt;
=== Vero ===&lt;br /&gt;
&lt;br /&gt;
* '''All - think about GRASS GIS mission and vision''': Where do we want to be as a project in 5 years time? What do we want to have? What do we want to be?&lt;br /&gt;
* Participate in discussions about GRASS interfaces with QGIS and R (rgrass)&lt;br /&gt;
* Discuss sponsoring&lt;br /&gt;
* Student grant for (python) documentation?&lt;br /&gt;
* Discuss about wiki clean-up/update (Anna was working on a list of pages) &lt;br /&gt;
* Website enhancements: complete open PR's, meet Daniel Torres, new support item in main menu&lt;br /&gt;
* Discuss State of GRASS presentation for FOSS4G 2023&lt;br /&gt;
* i.landsat if time permits&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
=== You ===&lt;br /&gt;
&lt;br /&gt;
== Reports ==&lt;br /&gt;
&lt;br /&gt;
=== Caitlin Haedrich ===&lt;br /&gt;
* Photos, social media and wiki page&lt;br /&gt;
* grass.jupyter:&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2996 add feature for animating series of rasters]&lt;br /&gt;
&lt;br /&gt;
=== Vaclav Petras ===&lt;br /&gt;
&lt;br /&gt;
* Rename location to project&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2993 wxGUI: Rename location to project #2993]&lt;br /&gt;
** Discussion&lt;br /&gt;
* Python API&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2923 grass.experimental: Add object to access modules as functions #2923]&lt;br /&gt;
* CI&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/3002  CI: Switch Travis to Ubuntu 22.04 (jammmy) #3002]&lt;br /&gt;
* Reviews and merges:&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2974 t.rast.algebra/testsuite: split file test_raster_algebra.py #2974]&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2189 Imagery: add libsvm based imagery classification #2189]&lt;br /&gt;
** [https://github.com/OSGeo/grass-addons/pull/606 r.random.walk: Add module to create random walks #606]&lt;br /&gt;
&lt;br /&gt;
=== Anna Petrasova ===&lt;br /&gt;
* [https://github.com/OSGeo/grass/pull/2992 Fix bug in querying]&lt;br /&gt;
* review, merge and backport of [https://github.com/OSGeo/grass/pull/2994 fix in datacatalog]&lt;br /&gt;
* review of [https://github.com/OSGeo/grass/pull/2520  wxGUI: fix show MASK statusbar button widget if mask is created]&lt;br /&gt;
* merge of [https://github.com/OSGeo/grass/pull/2667 wxGUI: adding a button for undocking an AuiNotebook tab to wx.Frame (Single-Window GUI)]&lt;br /&gt;
* edit [https://github.com/OSGeo/grass/pull/2990 check min required wx version when starting wxgui]&lt;br /&gt;
&lt;br /&gt;
=== Maris Nartiss ===&lt;br /&gt;
&lt;br /&gt;
* i.svm.* cleanup and preparation for a review&lt;br /&gt;
* A conceptual proposal for a new start up screen&lt;br /&gt;
* Initial version of imagery signature management module i.signatures&lt;br /&gt;
* Remove obsolete parts of locale README file&lt;br /&gt;
&lt;br /&gt;
=== Micha Silver ===&lt;br /&gt;
Working on a new GRASS addon: r.optram&lt;br /&gt;
[https://github.com/micha-silver/grass-addons/tree/grass8/src/raster/r.optram the repo on github]&lt;br /&gt;
&lt;br /&gt;
02/06: Initialize main file ''r.optram.py''&lt;br /&gt;
&lt;br /&gt;
includes these functions: &lt;br /&gt;
# getImgList() - get list of IMG_FILEs in a Sentinel 2 SAFE Directory&lt;br /&gt;
# cropToAOI() - Crop the images to the Area of Interest&lt;br /&gt;
# prepareSTR() - Convert SWIR to the SWIR Transformed Reflectance&lt;br /&gt;
# prepareVI() - Prepare the (user chosen) vegetation index&lt;br /&gt;
&lt;br /&gt;
03/06: &lt;br /&gt;
# Split to three modules: r.optram.preprocess, r.optram, r.optram.soilmoisture&lt;br /&gt;
# new function: ''prepareTrapezoid()'' - to get wet-dry regression lines and slope, intercept values&lt;br /&gt;
&lt;br /&gt;
04/06&lt;br /&gt;
Initialize second file/function: ''r.optram.soilmoisture.py''&lt;br /&gt;
# createSoilMoisture() - creates new GRASS raster&lt;br /&gt;
&lt;br /&gt;
=== Luís de Sousa ===&lt;br /&gt;
&lt;br /&gt;
==== Work on GRASS add-on [https://grass.osgeo.org/grass82/manuals/addons/r.mblend.html r.mblend] ====&lt;br /&gt;
&lt;br /&gt;
* Module is still maintained and fully functional in GRASS 8.2 (now included in the [https://github.com/OSGeo/grass-addons GRASS global add-ons repository])&lt;br /&gt;
* However was not longer producing correct results due to new behaviour in '''v.what.rast'''&lt;br /&gt;
* Solution identified, using inner buffer to interpolation area ([https://github.com/OSGeo/grass-addons/pull/910 PR #910])&lt;br /&gt;
* A small unit test suite was developed ([https://github.com/OSGeo/grass-addons/pull/911 PR #911])&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
* Expanded instructions on Pre-commit ([https://github.com/OSGeo/grass/pull/3006 PR #3006])&lt;br /&gt;
* Mini guidelines on unit tests for add-ons ([https://github.com/OSGeo/grass-addons/pull/916 PR #916])&lt;br /&gt;
&lt;br /&gt;
=== Aaron Saw Min Sern ===&lt;br /&gt;
&lt;br /&gt;
* Fix bug to complete r.univar parallelization. [https://github.com/OSGeo/grass/pull/2683 PR]&lt;br /&gt;
&lt;br /&gt;
=== Martin Landa ===&lt;br /&gt;
&lt;br /&gt;
* Check min required wx version when starting wxgui [https://github.com/OSGeo/grass/pull/2990 PR #2990]&lt;br /&gt;
* Graphical modeler: avoid overlapping module parameters [https://github.com/OSGeo/grass/issues/2991 PR #2991]&lt;br /&gt;
* Show ModelRelation in white on dark mode [https://github.com/OSGeo/grass/pull/2997 PR #2997]&lt;br /&gt;
* Add OSGeo4W workflow to compile Addons [https://github.com/OSGeo/grass-addons/pull/912 PR #912]&lt;br /&gt;
*  Integrate Grapical Modeler into single window layout [https://github.com/OSGeo/grass/pull/3003 PR #3003]&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* backport of &amp;quot;HTML header charset changed from ISO-8859-1 to UTF-8&amp;quot; [https://github.com/OSGeo/grass/pull/2547 PR #2547] to GRASS GIS 8.2.1 (fixing r.forcircular manual encoding bug)&lt;br /&gt;
* improve &amp;quot;Update alpine Docker tag to v3.18 [https://github.com/OSGeo/grass/pull/2953 PR #2953]&lt;br /&gt;
* backport of Alpine Dockerfile improvements&lt;br /&gt;
* discussion about &amp;quot;location/mapset&amp;quot; vs &amp;quot;project/...&amp;quot; terminology&lt;br /&gt;
* initial QGIS-GRASS update discussion&lt;br /&gt;
* Google Photo album feeds&lt;br /&gt;
* Use of [https://github.com/OSGeo/grass/blob/main/doc/development/submitting/submitting.md#use-pre-commit pre-commit] (recommended to all devs!)&lt;br /&gt;
* GRASS GIS manual pages: re-styling and conversion of all pages to markdown:&lt;br /&gt;
** convert to markdown with pandoc (draft script see https://app.gitter.im/#/room/#grassgis_sprint:gitter.im discussion)&lt;br /&gt;
** using mkdocs (https://www.mkdocs.org/): it provides menus and a search window&lt;br /&gt;
** check: automatic formatting for mkdocs: https://github.com/KyleKing/mdformat-mkdocs&lt;br /&gt;
&lt;br /&gt;
=== Helmut Kudrnovsky ===&lt;br /&gt;
&lt;br /&gt;
* discuss (win)GRASS-R issues [https://github.com/rsbivand/rgrass/issues/57 initGrass Error] and  [https://github.com/OSGeo/grass/issues/2998 feature requests]&lt;br /&gt;
&lt;br /&gt;
* Review and initial tests of PR [https://github.com/OSGeo/grass/pull/2684 compilation with cmake] on Windows&lt;br /&gt;
&lt;br /&gt;
* Participated in a two-hour meeting with Roger, Floris, Vaclav, Anna, Micha, ..... about rgrass development&lt;br /&gt;
&lt;br /&gt;
=== Ondřej Pešek ===&lt;br /&gt;
&lt;br /&gt;
* gmodeler: add export to an actinia script: [https://github.com/OSGeo/grass/pull/3005 PR #3005]&lt;br /&gt;
* fix GRASS GIS broken for Python 3.12: [https://github.com/OSGeo/grass/pull/3009 PR #3009], [https://github.com/OSGeo/grass/pull/3010 PR #3010], [https://github.com/OSGeo/grass/pull/3011 PR #3011]&lt;br /&gt;
&lt;br /&gt;
=== Floris Vanderhaeghe ===&lt;br /&gt;
&lt;br /&gt;
* Explore reading straight from the GRASS database into R (https://github.com/rsbivand/rgrass/issues/75)&lt;br /&gt;
* Help arranging a meeting with Nyall Dawson for the QGIS GRASS interfase &lt;br /&gt;
* Participate in a two-hour meeting with Roger Bivand, Vero Andreo, Vaclav, Anna, Helmut, Micha, ..... about rgrass development&lt;br /&gt;
&lt;br /&gt;
=== Vero Andreo ===&lt;br /&gt;
&lt;br /&gt;
* Participated in the discussion about renaming locations to projects&lt;br /&gt;
* Call with Paulo on diverse topics, r.niche.similarity PR revision and merge&lt;br /&gt;
* Participated in a two-hour meeting with Roger, Floris, Vaclav, Anna, Helmut, Micha, ..... about rgrass development&lt;br /&gt;
* Worked on GRASS Website:&lt;br /&gt;
** Apply fixes and merge the [https://github.com/OSGeo/grass-website/pull/362 DOI] and [https://github.com/OSGeo/grass-website/pull/364 first draft of sponsoring tiers] PRs&lt;br /&gt;
** Beautify tables and content of sponsoring page [https://github.com/OSGeo/grass-website/pull/368 #368]&lt;br /&gt;
** New menu and submenus (some reordered), please comment [https://github.com/OSGeo/grass-website/pull/369 #369] &lt;br /&gt;
* Other minor revisions&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Talk:GRASS_Community_Meeting_Prague_2023&amp;diff=27074</id>
		<title>Talk:GRASS Community Meeting Prague 2023</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Talk:GRASS_Community_Meeting_Prague_2023&amp;diff=27074"/>
		<updated>2023-06-04T17:14:06Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Helmut Kudrnovsky */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Tasks for participants ==&lt;br /&gt;
&lt;br /&gt;
* Create section for you in the Reports section.&lt;br /&gt;
* List all the things you are working on in the section. Update the list each day. Include things you work on with other people.&lt;br /&gt;
* Link the [https://github.com/orgs/OSGeo/projects/1/ GRASS Community Meeting Prague 2023] project on GitHub to each PR or issue you are working on or plan to be working on.&lt;br /&gt;
* If you are or will be working on an issue or on a PR which is not originally submitted by you, assign yourself to the issue or PR. (You can unassign yourself later if you change your mind.)&lt;br /&gt;
&lt;br /&gt;
== Planning and organizing ==&lt;br /&gt;
&lt;br /&gt;
* Initial planning: Veronica Andreo, Martin Landa, Vaclav Petras, Helmut Kudrnovsky, Anna Petrasova, Huidae Cho, Markus Neteler, Helena Mitasova, Micha Silver, Linda Kladivova&lt;br /&gt;
* Funding acquisition: Veronica Andreo, Markus Neteler, Vaclav Petras, Anna Petrasova, Huidae Cho, Luca Delucchi, Venkatesh Raghavan&lt;br /&gt;
* Budget: Vaclav Petras, Markus Neteler, Veronica Andreo&lt;br /&gt;
* Venue and local organizing: Martin Landa&lt;br /&gt;
* T-shirts, hoodies, stickers: Vaclav Petras, Anna Petrasova&lt;br /&gt;
* Promotion, invitations, and social media: Caitlin Haedrich, Veronica Andreo, Vaclav Petras&lt;br /&gt;
* Wiki page: Martin Landa, Markus Neteler, Vaclav Petras, Veronica Andreo&lt;br /&gt;
* Virtual meeting organizing: Veronica Andreo&lt;br /&gt;
* Photography: Caitlin Haedrich&lt;br /&gt;
&lt;br /&gt;
== Ideas for the meeting agenda ==&lt;br /&gt;
&lt;br /&gt;
Collect ideas here :-)&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* Improve QGIS-GRASS GIS integration; update of provider to GRASS GIS 8&lt;br /&gt;
* GRASS GIS addons overview generator for entire GitHub (and more?) based on tag &amp;quot;[https://github.com/topics/grass-gis-addons grass-gis-addons]&amp;quot;&lt;br /&gt;
* Discuss about a 4th edition of &amp;quot;Open Source GIS: A GRASS GIS Approach&amp;quot;&lt;br /&gt;
* message translation: Easy [https://docs.weblate.org/en/latest/user/translating.html#machine-translation machine translation] of messages in [https://weblate.osgeo.org/translate/grass-gis OSGeo-Weblate] with DeepL API&lt;br /&gt;
** my tests with DeepL show that the quality is very good; average translation time of a user message shrinks to 15 seconds {{done}}&lt;br /&gt;
** note: one needs to login to Weblate to see the &amp;quot;Automatic suggestion&amp;quot; button (using the OSGeo-ID)&lt;br /&gt;
* Fix docs:&lt;br /&gt;
** Provide better explanation for radius parameter for r.resamp.filter: https://github.com/OSGeo/grass/issues/2569&lt;br /&gt;
** improve v.clean docs&lt;br /&gt;
&lt;br /&gt;
=== Vero ===&lt;br /&gt;
&lt;br /&gt;
* '''All - think about GRASS GIS mission and vision''': Where do we want to be as a project in 5 years time? What do we want to have? What do we want to be?&lt;br /&gt;
* Participate in discussions about GRASS interfaces with QGIS and R (rgrass)&lt;br /&gt;
* Discuss sponsoring&lt;br /&gt;
* Student grant for (python) documentation?&lt;br /&gt;
* Discuss about wiki clean-up/update (Anna was working on a list of pages) &lt;br /&gt;
* Website enhancements: complete open PR's, meet Daniel Torres, new support item in main menu&lt;br /&gt;
* Discuss State of GRASS presentation for FOSS4G 2023&lt;br /&gt;
* i.landsat if time permits&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
=== You ===&lt;br /&gt;
&lt;br /&gt;
== Reports ==&lt;br /&gt;
&lt;br /&gt;
=== Caitlin Haedrich ===&lt;br /&gt;
* Photos, social media and wiki page&lt;br /&gt;
* grass.jupyter:&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2996 add feature for animating series of rasters]&lt;br /&gt;
&lt;br /&gt;
=== Vaclav Petras ===&lt;br /&gt;
&lt;br /&gt;
* Rename location to project&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2993 wxGUI: Rename location to project #2993]&lt;br /&gt;
** Discussion&lt;br /&gt;
* Python API&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2923 grass.experimental: Add object to access modules as functions #2923]&lt;br /&gt;
* CI&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/3002  CI: Switch Travis to Ubuntu 22.04 (jammmy) #3002]&lt;br /&gt;
* Reviews and merges:&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2974 t.rast.algebra/testsuite: split file test_raster_algebra.py #2974]&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2189 Imagery: add libsvm based imagery classification #2189]&lt;br /&gt;
** [https://github.com/OSGeo/grass-addons/pull/606 r.random.walk: Add module to create random walks #606]&lt;br /&gt;
&lt;br /&gt;
=== Anna Petrasova ===&lt;br /&gt;
* [https://github.com/OSGeo/grass/pull/2992 Fix bug in querying]&lt;br /&gt;
* review, merge and backport of [https://github.com/OSGeo/grass/pull/2994 fix in datacatalog]&lt;br /&gt;
* review of [https://github.com/OSGeo/grass/pull/2520  wxGUI: fix show MASK statusbar button widget if mask is created]&lt;br /&gt;
* merge of [https://github.com/OSGeo/grass/pull/2667 wxGUI: adding a button for undocking an AuiNotebook tab to wx.Frame (Single-Window GUI)]&lt;br /&gt;
* edit [https://github.com/OSGeo/grass/pull/2990 check min required wx version when starting wxgui]&lt;br /&gt;
&lt;br /&gt;
=== Maris Nartiss ===&lt;br /&gt;
&lt;br /&gt;
* i.svm.* cleanup and preparation for a review&lt;br /&gt;
* A conceptual proposal for a new start up screen&lt;br /&gt;
* Initial version of imagery signature management module i.signatures&lt;br /&gt;
* Remove obsolete parts of locale README file&lt;br /&gt;
&lt;br /&gt;
=== Micha Silver ===&lt;br /&gt;
Working on a new GRASS addon: r.optram&lt;br /&gt;
[https://github.com/micha-silver/grass-addons/tree/grass8/src/raster/r.optram the repo on github]&lt;br /&gt;
&lt;br /&gt;
02/06: Initialize main file ''r.optram.py''&lt;br /&gt;
&lt;br /&gt;
includes these functions: &lt;br /&gt;
# getImgList() - get list of IMG_FILEs in a Sentinel 2 SAFE Directory&lt;br /&gt;
# cropToAOI() - Crop the images to the Area of Interest&lt;br /&gt;
# prepareSTR() - Convert SWIR to the SWIR Transformed Reflectance&lt;br /&gt;
# prepareVI() - Prepare the (user chosen) vegetation index&lt;br /&gt;
&lt;br /&gt;
03/06: &lt;br /&gt;
# Split to three modules: r.optram.preprocess, r.optram, r.optram.soilmoisture&lt;br /&gt;
# new function: ''prepareTrapezoid()'' - to get wet-dry regression lines and slope, intercept values&lt;br /&gt;
&lt;br /&gt;
04/06&lt;br /&gt;
Initialize second file/function: ''r.optram.soilmoisture.py''&lt;br /&gt;
# createSoilMoisture() - creates new GRASS raster&lt;br /&gt;
&lt;br /&gt;
=== Luís de Sousa ===&lt;br /&gt;
&lt;br /&gt;
==== Work on GRASS add-on [https://grass.osgeo.org/grass82/manuals/addons/r.mblend.html r.mblend] ====&lt;br /&gt;
&lt;br /&gt;
* Module is still maintained and fully functional in GRASS 8.2 (now included in the [https://github.com/OSGeo/grass-addons GRASS global add-ons repository])&lt;br /&gt;
* However was not longer producing correct results due to new behaviour in '''v.what.rast'''&lt;br /&gt;
* Solution identified, using inner buffer to interpolation area ([https://github.com/OSGeo/grass-addons/pull/910 PR #910])&lt;br /&gt;
* A small unit test suite was developed ([https://github.com/OSGeo/grass-addons/pull/911 PR #911])&lt;br /&gt;
&lt;br /&gt;
==== Documentation ====&lt;br /&gt;
&lt;br /&gt;
* Expanded instructions on Pre-commit ([https://github.com/OSGeo/grass/pull/3006 PR #3006])&lt;br /&gt;
* Mini guidelines on unit tests for add-ons ([https://github.com/OSGeo/grass-addons/pull/916 PR #916])&lt;br /&gt;
&lt;br /&gt;
=== Aaron Saw Min Sern ===&lt;br /&gt;
&lt;br /&gt;
* Fix bug to complete r.univar parallelization. [https://github.com/OSGeo/grass/pull/2683 PR]&lt;br /&gt;
&lt;br /&gt;
=== Martin Landa ===&lt;br /&gt;
&lt;br /&gt;
* Check min required wx version when starting wxgui [https://github.com/OSGeo/grass/pull/2990 PR #2990]&lt;br /&gt;
* Graphical modeler: avoid overlapping module parameters [https://github.com/OSGeo/grass/issues/2991 PR #2991]&lt;br /&gt;
* Show ModelRelation in white on dark mode [https://github.com/OSGeo/grass/pull/2997 PR #2997]&lt;br /&gt;
* Add OSGeo4W workflow to compile Addons [https://github.com/OSGeo/grass-addons/pull/912 PR #912]&lt;br /&gt;
*  Integrate Grapical Modeler into single window layout [https://github.com/OSGeo/grass/pull/3003 PR #3003]&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* backport of &amp;quot;HTML header charset changed from ISO-8859-1 to UTF-8&amp;quot; [https://github.com/OSGeo/grass/pull/2547 PR #2547] to GRASS GIS 8.2.1 (fixing r.forcircular manual encoding bug)&lt;br /&gt;
* improve &amp;quot;Update alpine Docker tag to v3.18 [https://github.com/OSGeo/grass/pull/2953 PR #2953]&lt;br /&gt;
* backport of Alpine Dockerfile improvements&lt;br /&gt;
* discussion about &amp;quot;location/mapset&amp;quot; vs &amp;quot;project/...&amp;quot; terminology&lt;br /&gt;
* initial QGIS-GRASS update discussion&lt;br /&gt;
* Google Photo album feeds&lt;br /&gt;
* Use of [https://github.com/OSGeo/grass/blob/main/doc/development/submitting/submitting.md#use-pre-commit pre-commit] (recommended to all devs!)&lt;br /&gt;
* GRASS GIS manual pages: re-styling and conversion of all pages to markdown:&lt;br /&gt;
** convert to markdown with pandoc (draft script see https://app.gitter.im/#/room/#grassgis_sprint:gitter.im discussion)&lt;br /&gt;
** using mkdocs (https://www.mkdocs.org/): it provides menus and a search window&lt;br /&gt;
** check: automatic formatting for mkdocs: https://github.com/KyleKing/mdformat-mkdocs&lt;br /&gt;
&lt;br /&gt;
=== Helmut Kudrnovsky ===&lt;br /&gt;
&lt;br /&gt;
* discuss (win)GRASS-R issues [https://github.com/rsbivand/rgrass/issues/57 initGrass Error] and  [https://github.com/OSGeo/grass/issues/2998 feature requests]&lt;br /&gt;
&lt;br /&gt;
* Review and initial tests of PR [https://github.com/OSGeo/grass/pull/2684 compilation with cmake] on Windows&lt;br /&gt;
&lt;br /&gt;
=== Ondřej Pešek ===&lt;br /&gt;
&lt;br /&gt;
* gmodeler: add export to an actinia script: [https://github.com/OSGeo/grass/pull/3005 PR #3005]&lt;br /&gt;
* fix GRASS GIS broken for Python 3.12: [https://github.com/OSGeo/grass/pull/3009 PR #3009], [https://github.com/OSGeo/grass/pull/3010 PR #3010], [https://github.com/OSGeo/grass/pull/3011 PR #3011]&lt;br /&gt;
&lt;br /&gt;
=== Floris Vanderhaeghe ===&lt;br /&gt;
&lt;br /&gt;
* Explore reading straight from the GRASS database into R (https://github.com/rsbivand/rgrass/issues/75)&lt;br /&gt;
* Help arranging a meeting with Nyall Dawson for the QGIS GRASS interfase &lt;br /&gt;
* Participate in a two-hour meeting with Roger Bivand, Vero Andreo, Vaclav, Anna, Helmut, Micha, ..... about rgrass development&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Talk:GRASS_Community_Meeting_Prague_2023&amp;diff=27041</id>
		<title>Talk:GRASS Community Meeting Prague 2023</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Talk:GRASS_Community_Meeting_Prague_2023&amp;diff=27041"/>
		<updated>2023-06-03T10:42:58Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Helmut Kudrnovsky */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Tasks for participants ==&lt;br /&gt;
&lt;br /&gt;
* Create section for you in the Reports section.&lt;br /&gt;
* List all the things you are working on in the section. Update the list each day. Include things you work on with other people.&lt;br /&gt;
* Link the [https://github.com/orgs/OSGeo/projects/1/ GRASS Community Meeting Prague 2023] project on GitHub to each PR or issue you are working on or plan to be working on.&lt;br /&gt;
* If you are or will be working on an issue or on a PR which is not originally submitted by you, assign yourself to the issue or PR. (You can unassign yourself later if you change your mind.)&lt;br /&gt;
&lt;br /&gt;
== Planning and organizing ==&lt;br /&gt;
&lt;br /&gt;
* Initial planning: Veronica Andreo, Martin Landa, Vaclav Petras, Helmut Kudrnovsky, Anna Petrasova, Huidae Cho, Markus Neteler, Helena Mitasova, Micha Silver, Linda Kladivova&lt;br /&gt;
* Funding acquisition: Veronica Andreo, Markus Neteler, Vaclav Petras, Anna Petrasova, Huidae Cho, Luca Delucchi, Venkatesh Raghavan&lt;br /&gt;
* Budget: Vaclav Petras, Markus Neteler, Veronica Andreo&lt;br /&gt;
* Venue and local organizing: Martin Landa&lt;br /&gt;
* T-shirts, hoodies, stickers: Vaclav Petras, Anna Petrasova&lt;br /&gt;
* Promotion, invitations, and social media: Caitlin Haedrich, Veronica Andreo, Vaclav Petras&lt;br /&gt;
* Wiki page: Martin Landa, Markus Neteler, Vaclav Petras, Veronica Andreo&lt;br /&gt;
* Virtual meeting organizing: Veronica Andreo&lt;br /&gt;
* Photography: Caitlin Haedrich&lt;br /&gt;
&lt;br /&gt;
== Ideas for the meeting agenda ==&lt;br /&gt;
&lt;br /&gt;
Collect ideas here :-)&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* Improve QGIS-GRASS GIS integration; update of provider to GRASS GIS 8&lt;br /&gt;
* GRASS GIS addons overview generator for entire GitHub (and more?) based on tag &amp;quot;[https://github.com/topics/grass-gis-addons grass-gis-addons]&amp;quot;&lt;br /&gt;
* Discuss about a 4th edition of &amp;quot;Open Source GIS: A GRASS GIS Approach&amp;quot;&lt;br /&gt;
* Easy [https://docs.weblate.org/en/latest/user/translating.html#machine-translation machine translation] of messages in [https://weblate.osgeo.org/translate/grass-gis OSGeo-Weblate] with DeepL API&lt;br /&gt;
** my tests with DeepL show that the quality is very good; average translation time of a user message shrinks to 15 seconds {{done}}&lt;br /&gt;
** note: one needs to login to Weblate to see the &amp;quot;Automatic suggestion&amp;quot; button (using the OSGeo-ID)&lt;br /&gt;
* GRASS GIS manual pages: re-styling and conversion of all pages:&lt;br /&gt;
** convert to markdown&lt;br /&gt;
** using mkdocs (https://www.mkdocs.org/): it provides menus and a search window&lt;br /&gt;
** automatic formatting for mkdocs: https://github.com/KyleKing/mdformat-mkdocs&lt;br /&gt;
* Fix docs:&lt;br /&gt;
** Provide better explanation for radius parameter for r.resamp.filter: https://github.com/OSGeo/grass/issues/2569&lt;br /&gt;
&lt;br /&gt;
=== Vero ===&lt;br /&gt;
&lt;br /&gt;
* '''All - think about GRASS GIS mission and vision''': Where do we want to be as a project in 5 years time? What do we want to have? What do we want to be?&lt;br /&gt;
* Participate in discussions about GRASS interfaces with QGIS and R (rgrass)&lt;br /&gt;
* Discuss sponsoring&lt;br /&gt;
* Student grant for (python) documentation?&lt;br /&gt;
* Discuss about wiki clean-up/update (Anna was working on a list of pages) &lt;br /&gt;
* Website enhancements: complete open PR's, meet Daniel Torres, new support item in main menu&lt;br /&gt;
* Discuss State of GRASS presentation for FOSS4G 2023&lt;br /&gt;
* i.landsat if time permits&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
=== You ===&lt;br /&gt;
&lt;br /&gt;
== Reports ==&lt;br /&gt;
&lt;br /&gt;
=== Caitlin Haedrich ===&lt;br /&gt;
* Photos, social media and wiki page&lt;br /&gt;
* grass.jupyter:&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2996 add feature for animating series of rasters]&lt;br /&gt;
&lt;br /&gt;
=== Vaclav Petras ===&lt;br /&gt;
&lt;br /&gt;
* Rename location to project&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2993 wxGUI: Rename location to project #2993]&lt;br /&gt;
** Discussion&lt;br /&gt;
&lt;br /&gt;
=== Anna Petrasova ===&lt;br /&gt;
* [https://github.com/OSGeo/grass/pull/2992 Fix bug in querying]&lt;br /&gt;
&lt;br /&gt;
=== Maris Nartiss ===&lt;br /&gt;
&lt;br /&gt;
* i.svm.* cleanup and preparation for a review&lt;br /&gt;
* conceptual proposal of a new start up screen&lt;br /&gt;
&lt;br /&gt;
=== Micha Silver ===&lt;br /&gt;
Working on a new GRASS addon: r.optram&lt;br /&gt;
[https://github.com/micha-silver/grass-addons/tree/grass8/src/raster/r.optram the repo on github]&lt;br /&gt;
&lt;br /&gt;
02/06: Initialize main file ''r.optram.py''&lt;br /&gt;
&lt;br /&gt;
includes these functions: &lt;br /&gt;
# getImgList() - get list of IMG_FILEs in a Sentinel 2 SAFE Directory&lt;br /&gt;
# cropToAOI() - Crop the images to the Area of Interest&lt;br /&gt;
# prepareSTR() - Convert SWIR to the SWIR Transformed Reflectance&lt;br /&gt;
# prepareVI() - Prepare the (user chosen) vegetation index&lt;br /&gt;
&lt;br /&gt;
03/06: &lt;br /&gt;
# prepareTrapezoid() - to get wet-dry regression lines and slope, intercept values&lt;br /&gt;
&lt;br /&gt;
Initialize second file/function: ''r.optram.soilmoisture.py''&lt;br /&gt;
# createSoilMoisture() - new GRASS raster&lt;br /&gt;
&lt;br /&gt;
=== Luís de Sousa ===&lt;br /&gt;
&lt;br /&gt;
==== Work on GRASS add-on [https://grass.osgeo.org/grass82/manuals/addons/r.mblend.html r.mblend] ====&lt;br /&gt;
&lt;br /&gt;
* Module is still maintained and fully functional in GRASS 8.2&lt;br /&gt;
* Now included in the [https://github.com/OSGeo/grass-addons GRASS global add-ons repository]&lt;br /&gt;
* However no longer producing correct results due to new behaviour in '''v.what.rast'''&lt;br /&gt;
* Solution identified, using inner buffer to interpolation area&lt;br /&gt;
* Started a unit test class&lt;br /&gt;
&lt;br /&gt;
=== Aaron Saw Min Sern ===&lt;br /&gt;
&lt;br /&gt;
* Fix bug to complete r.univar parallelization. [https://github.com/OSGeo/grass/pull/2683 PR]&lt;br /&gt;
&lt;br /&gt;
=== Martin Landa ===&lt;br /&gt;
&lt;br /&gt;
* Check min required wx version when starting wxgui [https://github.com/OSGeo/grass/pull/2990 PR #2990]&lt;br /&gt;
* Graphical modeler: avoid overlapping module parameters [https://github.com/OSGeo/grass/issues/2991 PR #2991]&lt;br /&gt;
* Show ModelRelation in white on dark mode [https://github.com/OSGeo/grass/pull/2997 PR #2997]&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* Backport of &amp;quot;HTML header charset changed from ISO-8859-1 to UTF-8&amp;quot; [https://github.com/OSGeo/grass/pull/2547 PR #2547] to GRASS GIS 8.2.1 (fixing r.forcircular manual encoding bug)&lt;br /&gt;
&lt;br /&gt;
=== Helmut Kudrnovsky ===&lt;br /&gt;
&lt;br /&gt;
* discuss (win)GRASS-R issues [https://github.com/rsbivand/rgrass/issues/57 initGrass Error] and  [https://github.com/OSGeo/grass/issues/2998 feature requests]&lt;br /&gt;
&lt;br /&gt;
=== You ===&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Talk:GRASS_Community_Meeting_Prague_2023&amp;diff=27037</id>
		<title>Talk:GRASS Community Meeting Prague 2023</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Talk:GRASS_Community_Meeting_Prague_2023&amp;diff=27037"/>
		<updated>2023-06-03T09:02:46Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Reports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Tasks for participants ==&lt;br /&gt;
&lt;br /&gt;
* Create section for you in the Reports section.&lt;br /&gt;
* List all the things you are working on in the section. Update the list each day. Include things you work on with other people.&lt;br /&gt;
* Link the [https://github.com/orgs/OSGeo/projects/1/ GRASS Community Meeting Prague 2023] project on GitHub to each PR or issue you are working on or plan to be working on.&lt;br /&gt;
* If you are or will be working on an issue or on a PR which is not originally submitted by you, assign yourself to the issue or PR. (You can unassign yourself later if you change your mind.)&lt;br /&gt;
&lt;br /&gt;
== Planning and organizing ==&lt;br /&gt;
&lt;br /&gt;
* Initial planning: Veronica Andreo, Martin Landa, Vaclav Petras, Helmut Kudrnovsky, Anna Petrasova, Huidae Cho, Markus Neteler, Helena Mitasova, Micha Silver, Linda Kladivova&lt;br /&gt;
* Funding acquisition: Veronica Andreo, Markus Neteler, Vaclav Petras, Anna Petrasova, Huidae Cho, Luca Delucchi, Venkatesh Raghavan&lt;br /&gt;
* Budget: Vaclav Petras, Markus Neteler, Veronica Andreo&lt;br /&gt;
* Venue and local organizing: Martin Landa&lt;br /&gt;
* T-shirts, hoodies, stickers: Vaclav Petras, Anna Petrasova&lt;br /&gt;
* Promotion, invitations, and social media: Caitlin Haedrich, Veronica Andreo, Vaclav Petras&lt;br /&gt;
* Wiki page: Martin Landa, Markus Neteler, Vaclav Petras, Veronica Andreo&lt;br /&gt;
* Virtual meeting organizing: Veronica Andreo&lt;br /&gt;
* Photography: Caitlin Haedrich&lt;br /&gt;
&lt;br /&gt;
== Ideas for the meeting agenda ==&lt;br /&gt;
&lt;br /&gt;
Collect ideas here :-)&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* Improve QGIS-GRASS GIS integration; update of provider to GRASS GIS 8&lt;br /&gt;
* GRASS GIS addons overview generator for entire GitHub (and more?) based on tag &amp;quot;[https://github.com/topics/grass-gis-addons grass-gis-addons]&amp;quot;&lt;br /&gt;
* Discuss about a 4th edition of &amp;quot;Open Source GIS: A GRASS GIS Approach&amp;quot;&lt;br /&gt;
* Easy [https://docs.weblate.org/en/latest/user/translating.html#machine-translation machine translation] of messages in [https://weblate.osgeo.org/translate/grass-gis OSGeo-Weblate] with DeepL API&lt;br /&gt;
** my tests with DeepL show that the quality is very good; average translation time of a user message shrinks to 15 seconds {{done}}&lt;br /&gt;
** note: one needs to login to Weblate to see the &amp;quot;Automatic suggestion&amp;quot; button (using the OSGeo-ID)&lt;br /&gt;
* GRASS GIS manual pages: re-styling and conversion of all pages:&lt;br /&gt;
** convert to markdown&lt;br /&gt;
** using mkdocs (https://www.mkdocs.org/): it provides menus and a search window&lt;br /&gt;
** automatic formatting for mkdocs: https://github.com/KyleKing/mdformat-mkdocs&lt;br /&gt;
* Fix docs:&lt;br /&gt;
** Provide better explanation for radius parameter for r.resamp.filter: https://github.com/OSGeo/grass/issues/2569&lt;br /&gt;
&lt;br /&gt;
=== Vero ===&lt;br /&gt;
&lt;br /&gt;
* '''All - think about GRASS GIS mission and vision''': Where do we want to be as a project in 5 years time? What do we want to have? What do we want to be?&lt;br /&gt;
* Participate in discussions about GRASS interfaces with QGIS and R (rgrass)&lt;br /&gt;
* Discuss sponsoring&lt;br /&gt;
* Student grant for (python) documentation?&lt;br /&gt;
* Discuss about wiki clean-up/update (Anna was working on a list of pages) &lt;br /&gt;
* Website enhancements: complete open PR's, meet Daniel Torres, new support item in main menu&lt;br /&gt;
* Discuss State of GRASS presentation for FOSS4G 2023&lt;br /&gt;
* i.landsat if time permits&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
=== You ===&lt;br /&gt;
&lt;br /&gt;
== Reports ==&lt;br /&gt;
&lt;br /&gt;
=== Caitlin Haedrich ===&lt;br /&gt;
&lt;br /&gt;
=== Vaclav Petras ===&lt;br /&gt;
&lt;br /&gt;
* Rename location to project&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2993 wxGUI: Rename location to project #2993]&lt;br /&gt;
** Discussion&lt;br /&gt;
&lt;br /&gt;
=== Anna Petrasova ===&lt;br /&gt;
* [https://github.com/OSGeo/grass/pull/2992 Fix bug in querying]&lt;br /&gt;
&lt;br /&gt;
=== Maris Nartiss ===&lt;br /&gt;
&lt;br /&gt;
=== Micha Silver ===&lt;br /&gt;
Working on a new GRASS addon: r.optram&lt;br /&gt;
[https://github.com/micha-silver/grass-addons/tree/grass8/src/raster/r.optram the repo on github]&lt;br /&gt;
&lt;br /&gt;
02/06: Initialize main file ''r.optram.py''&lt;br /&gt;
&lt;br /&gt;
includes these functions: &lt;br /&gt;
# getImgList() - get list of IMG_FILEs in a Sentinel 2 SAFE Directory&lt;br /&gt;
# cropToAOI() - Crop the images to the Area of Interest&lt;br /&gt;
# prepareSTR() - Convert SWIR to the SWIR Transformed Reflectance&lt;br /&gt;
# prepareVI() - Prepare the (user chosen) vegetation index&lt;br /&gt;
&lt;br /&gt;
03/06: &lt;br /&gt;
# prepareTrapezoid() - to get wet-dry regression lines and slope, intercept values&lt;br /&gt;
&lt;br /&gt;
Initialize second file/function: ''r.optram.soilmoisture.py''&lt;br /&gt;
# createSoilMoisture() - new GRASS raster&lt;br /&gt;
&lt;br /&gt;
=== Luís de Sousa ===&lt;br /&gt;
&lt;br /&gt;
==== Work on GRASS add-on [https://grass.osgeo.org/grass82/manuals/addons/r.mblend.html r.mblend] ====&lt;br /&gt;
&lt;br /&gt;
* Module is still maintained and fully functional in GRASS 8.2&lt;br /&gt;
* Now included in the [https://github.com/OSGeo/grass-addons GRASS global add-ons repository]&lt;br /&gt;
* However no longer producing correct results due to new behaviour in '''v.what.rast'''&lt;br /&gt;
* Solution identified, using inner buffer to interpolation area&lt;br /&gt;
* Started a unit test class&lt;br /&gt;
&lt;br /&gt;
=== Aaron Saw Min Sern ===&lt;br /&gt;
&lt;br /&gt;
* Fix bug to complete r.univar parallelization. [https://github.com/OSGeo/grass/pull/2683 PR]&lt;br /&gt;
&lt;br /&gt;
=== Martin Landa ===&lt;br /&gt;
&lt;br /&gt;
* Check min required wx version when starting wxgui [https://github.com/OSGeo/grass/pull/2990 PR #2990]&lt;br /&gt;
* Graphical modeler: avoid overlapping module parameters [https://github.com/OSGeo/grass/issues/2991 PR #2991]&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* Backport of &amp;quot;HTML header charset changed from ISO-8859-1 to UTF-8&amp;quot; [https://github.com/OSGeo/grass/pull/2547 PR #2547] to GRASS GIS 8.2.1 (fixing r.forcircular manual encoding bug)&lt;br /&gt;
&lt;br /&gt;
=== Helmut Kudrnovsky ===&lt;br /&gt;
&lt;br /&gt;
* discuss (win)GRASS-R issues [https://github.com/rsbivand/rgrass/issues/57 initGrass Error]&lt;br /&gt;
&lt;br /&gt;
=== You ===&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Talk:GRASS_Community_Meeting_Prague_2023&amp;diff=27036</id>
		<title>Talk:GRASS Community Meeting Prague 2023</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Talk:GRASS_Community_Meeting_Prague_2023&amp;diff=27036"/>
		<updated>2023-06-03T09:02:14Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Reports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Tasks for participants ==&lt;br /&gt;
&lt;br /&gt;
* Create section for you in the Reports section.&lt;br /&gt;
* List all the things you are working on in the section. Update the list each day. Include things you work on with other people.&lt;br /&gt;
* Link the [https://github.com/orgs/OSGeo/projects/1/ GRASS Community Meeting Prague 2023] project on GitHub to each PR or issue you are working on or plan to be working on.&lt;br /&gt;
* If you are or will be working on an issue or on a PR which is not originally submitted by you, assign yourself to the issue or PR. (You can unassign yourself later if you change your mind.)&lt;br /&gt;
&lt;br /&gt;
== Planning and organizing ==&lt;br /&gt;
&lt;br /&gt;
* Initial planning: Veronica Andreo, Martin Landa, Vaclav Petras, Helmut Kudrnovsky, Anna Petrasova, Huidae Cho, Markus Neteler, Helena Mitasova, Micha Silver, Linda Kladivova&lt;br /&gt;
* Funding acquisition: Veronica Andreo, Markus Neteler, Vaclav Petras, Anna Petrasova, Huidae Cho, Luca Delucchi, Venkatesh Raghavan&lt;br /&gt;
* Budget: Vaclav Petras, Markus Neteler, Veronica Andreo&lt;br /&gt;
* Venue and local organizing: Martin Landa&lt;br /&gt;
* T-shirts, hoodies, stickers: Vaclav Petras, Anna Petrasova&lt;br /&gt;
* Promotion, invitations, and social media: Caitlin Haedrich, Veronica Andreo, Vaclav Petras&lt;br /&gt;
* Wiki page: Martin Landa, Markus Neteler, Vaclav Petras, Veronica Andreo&lt;br /&gt;
* Virtual meeting organizing: Veronica Andreo&lt;br /&gt;
* Photography: Caitlin Haedrich&lt;br /&gt;
&lt;br /&gt;
== Ideas for the meeting agenda ==&lt;br /&gt;
&lt;br /&gt;
Collect ideas here :-)&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* Improve QGIS-GRASS GIS integration; update of provider to GRASS GIS 8&lt;br /&gt;
* GRASS GIS addons overview generator for entire GitHub (and more?) based on tag &amp;quot;[https://github.com/topics/grass-gis-addons grass-gis-addons]&amp;quot;&lt;br /&gt;
* Discuss about a 4th edition of &amp;quot;Open Source GIS: A GRASS GIS Approach&amp;quot;&lt;br /&gt;
* Easy [https://docs.weblate.org/en/latest/user/translating.html#machine-translation machine translation] of messages in [https://weblate.osgeo.org/translate/grass-gis OSGeo-Weblate] with DeepL API&lt;br /&gt;
** my tests with DeepL show that the quality is very good; average translation time of a user message shrinks to 15 seconds {{done}}&lt;br /&gt;
** note: one needs to login to Weblate to see the &amp;quot;Automatic suggestion&amp;quot; button (using the OSGeo-ID)&lt;br /&gt;
* GRASS GIS manual pages: re-styling and conversion of all pages:&lt;br /&gt;
** convert to markdown&lt;br /&gt;
** using mkdocs (https://www.mkdocs.org/): it provides menus and a search window&lt;br /&gt;
** automatic formatting for mkdocs: https://github.com/KyleKing/mdformat-mkdocs&lt;br /&gt;
* Fix docs:&lt;br /&gt;
** Provide better explanation for radius parameter for r.resamp.filter: https://github.com/OSGeo/grass/issues/2569&lt;br /&gt;
&lt;br /&gt;
=== Vero ===&lt;br /&gt;
&lt;br /&gt;
* '''All - think about GRASS GIS mission and vision''': Where do we want to be as a project in 5 years time? What do we want to have? What do we want to be?&lt;br /&gt;
* Participate in discussions about GRASS interfaces with QGIS and R (rgrass)&lt;br /&gt;
* Discuss sponsoring&lt;br /&gt;
* Student grant for (python) documentation?&lt;br /&gt;
* Discuss about wiki clean-up/update (Anna was working on a list of pages) &lt;br /&gt;
* Website enhancements: complete open PR's, meet Daniel Torres, new support item in main menu&lt;br /&gt;
* Discuss State of GRASS presentation for FOSS4G 2023&lt;br /&gt;
* i.landsat if time permits&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
=== You ===&lt;br /&gt;
&lt;br /&gt;
== Reports ==&lt;br /&gt;
&lt;br /&gt;
=== Caitlin Haedrich ===&lt;br /&gt;
&lt;br /&gt;
=== Vaclav Petras ===&lt;br /&gt;
&lt;br /&gt;
* Rename location to project&lt;br /&gt;
** [https://github.com/OSGeo/grass/pull/2993 wxGUI: Rename location to project #2993]&lt;br /&gt;
** Discussion&lt;br /&gt;
&lt;br /&gt;
=== Anna Petrasova ===&lt;br /&gt;
* [https://github.com/OSGeo/grass/pull/2992 Fix bug in querying]&lt;br /&gt;
&lt;br /&gt;
=== Maris Nartiss ===&lt;br /&gt;
&lt;br /&gt;
=== Micha Silver ===&lt;br /&gt;
Working on a new GRASS addon: r.optram&lt;br /&gt;
[https://github.com/micha-silver/grass-addons/tree/grass8/src/raster/r.optram the repo on github]&lt;br /&gt;
&lt;br /&gt;
02/06: Initialize main file ''r.optram.py''&lt;br /&gt;
&lt;br /&gt;
includes these functions: &lt;br /&gt;
# getImgList() - get list of IMG_FILEs in a Sentinel 2 SAFE Directory&lt;br /&gt;
# cropToAOI() - Crop the images to the Area of Interest&lt;br /&gt;
# prepareSTR() - Convert SWIR to the SWIR Transformed Reflectance&lt;br /&gt;
# prepareVI() - Prepare the (user chosen) vegetation index&lt;br /&gt;
&lt;br /&gt;
03/06: &lt;br /&gt;
# prepareTrapezoid() - to get wet-dry regression lines and slope, intercept values&lt;br /&gt;
&lt;br /&gt;
Initialize second file/function: ''r.optram.soilmoisture.py''&lt;br /&gt;
# createSoilMoisture() - new GRASS raster&lt;br /&gt;
&lt;br /&gt;
=== Luís de Sousa ===&lt;br /&gt;
&lt;br /&gt;
==== Work on GRASS add-on [https://grass.osgeo.org/grass82/manuals/addons/r.mblend.html r.mblend] ====&lt;br /&gt;
&lt;br /&gt;
* Module is still maintained and fully functional in GRASS 8.2&lt;br /&gt;
* Now included in the [https://github.com/OSGeo/grass-addons GRASS global add-ons repository]&lt;br /&gt;
* However no longer producing correct results due to new behaviour in '''v.what.rast'''&lt;br /&gt;
* Solution identified, using inner buffer to interpolation area&lt;br /&gt;
* Started a unit test class&lt;br /&gt;
&lt;br /&gt;
=== Aaron Saw Min Sern ===&lt;br /&gt;
&lt;br /&gt;
* Fix bug to complete r.univar parallelization. [https://github.com/OSGeo/grass/pull/2683 PR]&lt;br /&gt;
&lt;br /&gt;
=== Martin Landa ===&lt;br /&gt;
&lt;br /&gt;
* Check min required wx version when starting wxgui [https://github.com/OSGeo/grass/pull/2990 PR #2990]&lt;br /&gt;
* Graphical modeler: avoid overlapping module parameters [https://github.com/OSGeo/grass/issues/2991 PR #2991]&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* Backport of &amp;quot;HTML header charset changed from ISO-8859-1 to UTF-8&amp;quot; [https://github.com/OSGeo/grass/pull/2547 PR #2547] to GRASS GIS 8.2.1 (fixing r.forcircular manual encoding bug)&lt;br /&gt;
&lt;br /&gt;
=== Markus Neteler ===&lt;br /&gt;
&lt;br /&gt;
* discuss (win)GRASS-R issues [https://github.com/rsbivand/rgrass/issues/57 initGrass Error]&lt;br /&gt;
&lt;br /&gt;
=== You ===&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_Community_Meeting_Prague_2023&amp;diff=26977</id>
		<title>GRASS Community Meeting Prague 2023</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_Community_Meeting_Prague_2023&amp;diff=26977"/>
		<updated>2023-05-11T19:13:07Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* In person */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{toc|right}}&lt;br /&gt;
The GRASS GIS team is organizing the ''GRASS GIS Community Meeting with contributors, power users and developers'' from '''June 2 to June 6, 2023''' to celebrate GRASS GIS '''40th birthday''' (by contributing to GRASS GIS of course).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;slideshow&amp;quot;&amp;gt;&lt;br /&gt;
Image:grass-sprint-prague.jpg|Prague 2013&lt;br /&gt;
Image:Grass_sprint2018_bonn_fotowall.jpg|Bonn 2018&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
&lt;br /&gt;
GRASS GIS Community Meeting is a great occasion for folks to support the development by actively contributing to the source code, documentation (manuals, wiki, tutorials), translations, website or likewise. The '''community''' meeting is also a get-together where supporters, contributors, power users and developers make decisions and tackle larger problems related to the project, discuss and collaboratively resolve bugs, plan the direction for the project and work on new features. We welcome people committed to improving the GRASS GIS project and the interfaces to QGIS, GDAL, PostGIS, R, OGC Services and desiring to '''celebrate with us the 40th GRASS GIS birthday!!'''&lt;br /&gt;
&lt;br /&gt;
In this meeting, we will work on GRASS GIS and integrations with related OSGeo projects. We will revise connection to QGIS to make it easier to maintain, and we will work on migration of the build to CMake to improve Windows builds including PDAL support. Furthermore, we will start moving documentation to Markdown to make it easier to contribute to and we will add images and examples for tools and workflows which still miss them. Finally, we will automate and document maintenance processes to reduce the burden on maintainers and thus improve the project sustainability. &lt;br /&gt;
&lt;br /&gt;
Note that while we have our general plan, we can't accept any earmarked donations, i.e., we can't make any promises for a specific work to be done. We do require participants to work on GRASS GIS or connections to other projects. However, we leave them the freedom to work on what they think is the best contribution to the project at that time given their skills and time available.&lt;br /&gt;
&lt;br /&gt;
For the detailed agenda and individual's plans, see below.&lt;br /&gt;
&lt;br /&gt;
== Sponsors ==&lt;br /&gt;
&lt;br /&gt;
We welcome '''financial contributions''' to support the meeting and we are looking for sponsors to cover costs such as meals or to help reducing travel and accommodation expenses for GRASS developers who volunteer their time. If you are interested in sponsoring the GRASS Community Meeting, please see our&lt;br /&gt;
&lt;br /&gt;
::: '''[https://opencollective.com/osgeo/projects/grass/contribute/grass-community-meeting-prague-2023-55074 OpenCollective GRASS Community Meeting Prague 2023 Tier]'''&lt;br /&gt;
&lt;br /&gt;
Any surplus at the end of the event will used for future activities of the GRASS GIS project such as the successful [[Student Grants|student mini grant program]].&lt;br /&gt;
&lt;br /&gt;
This GRASS Community Meeting is a great occasion for you to support the development of GRASS. With your contribution you'll enable more developers to meet. Community meetings are important opportunities for developers to discuss, fix bugs, plan the direction for the project and work on new features. Please see below for the detailed agenda. The developers and contributors are donating their valuable time, so it would be great if in-kind funding can be made available from within the community to cover out-of-pocket expenses. All of the work that takes place at the community meeting will be directly contributed back into the GRASS project to the benefit of everyone who uses it.&lt;br /&gt;
&lt;br /&gt;
=== Thanks to our sponsors ===&lt;br /&gt;
&lt;br /&gt;
We are grateful for the support which we have received to organize this GRASS Community Meeting:&lt;br /&gt;
&lt;br /&gt;
[[File:Osgeo logo.png|none|left|alt=Light and dark green logo of OSGeo saying Your Open Source Compass|Open Source Geospatial Foundation]]&lt;br /&gt;
* OSGeo: 7303 USD (approved budget contribution, [https://www.loomio.com/p/2m75BZkL/motion-to-approve-7303-to-support-grass-gis-community-meeting motion])&lt;br /&gt;
&lt;br /&gt;
[[File:FOSSGIS_eV_logo.png|none|left|400px|alt=Logo of FOSSGIS e.V.|FOSSGIS e.V.]]&lt;br /&gt;
* FOSSGIS e.V.: 5000 EUR&lt;br /&gt;
&lt;br /&gt;
Individuals:&lt;br /&gt;
* MarWe 50 USD&lt;br /&gt;
* Nick Brady 50 USD&lt;br /&gt;
* Johannes Brauner 30 USD&lt;br /&gt;
* Joaquin Perez Valera 5 USD&lt;br /&gt;
* Anonymous sponsors 2750 USD&lt;br /&gt;
&lt;br /&gt;
In-kind contributions:&lt;br /&gt;
&lt;br /&gt;
* Faculty of Civil Engineering Czech Technical University in Prague (FCE CTU) - space and personnel time (planning, preparation)&lt;br /&gt;
* North Carolina State University - personnel time (planning, preparation)&lt;br /&gt;
* mundialis GmbH &amp;amp; Co. KG - personnel time (planning, preparation)&lt;br /&gt;
* CONICET - personnel time (planning, preparation)&lt;br /&gt;
&lt;br /&gt;
== Timing  ==&lt;br /&gt;
&lt;br /&gt;
'''When''': June 2-6, 2023&lt;br /&gt;
&lt;br /&gt;
Of course you are invited to join or leave the meeting whenever you want.&lt;br /&gt;
&lt;br /&gt;
== Venue ==&lt;br /&gt;
&lt;br /&gt;
[[Image:logo_cvut.jpg|130px|left]]&lt;br /&gt;
Department of Geomatics&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.fsv.cvut.cz/?lang=en Faculty of Civil Engineering]&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.cvut.cz/en Czech Technical University in Prague], {{wikipedia|Czech Republic}}&amp;lt;br&amp;gt;&lt;br /&gt;
Thákurova 7/2077, Prague&amp;lt;br&amp;gt;&lt;br /&gt;
Room B868&amp;lt;br&amp;gt;&lt;br /&gt;
[https://en.mapy.cz/s/debazefuse Map]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prague has an international [http://www.prg.aero/en/ airport] and is also reachable by train, bus or car.&lt;br /&gt;
&lt;br /&gt;
== Accommodation and Costs ==&lt;br /&gt;
&lt;br /&gt;
Participants should plan for the following costs:&lt;br /&gt;
&lt;br /&gt;
* The participation is free of charge&lt;br /&gt;
* Travel to Prague, variable depending on where you come from, reimbursements depending on the financial contributions provided by the community&lt;br /&gt;
* Accommodation and meals (with the donated sponsorship money we will try to cover some expenses of the participants)&lt;br /&gt;
'''Please note''': The currency in Czech Republic is {{wikipedia|Czech crown}} (CZK, koruna, Kč). 100 Czech crowns are about 4 Euros (see [https://www.cnb.cz/cs/financni-trhy/devizovy-trh/kurzy-devizoveho-trhu/kurzy-devizoveho-trhu/ current rates]).&lt;br /&gt;
&lt;br /&gt;
Please let us know your time of arrival and departure, so we can book accommodations and organize the logistics.&lt;br /&gt;
&lt;br /&gt;
Financial support: (partial) travel grants can be payed upon request thanks to our sponsors!&lt;br /&gt;
&lt;br /&gt;
== Agenda - What we plan to do ==&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The program is generally open for your ideas. Please write an email to the [http://lists.osgeo.org/mailman/listinfo/grass-dev GRASS developer list] to discuss your contribution.&lt;br /&gt;
&lt;br /&gt;
During the meeting we will work on GRASS GIS on these tasks (please add more!):&lt;br /&gt;
&lt;br /&gt;
* We will update and revise the [https://github.com/qgis/QGIS/tree/master/python/plugins/grassprovider GRASS GIS Integration with QGIS] to simplify maintenance.&lt;br /&gt;
* Furthermore, we will migrate the compilation technology to CMake to significantly improve the Windows builds including PDAL support and become binary compatible with OSGeo4W.&lt;br /&gt;
* The extensive GRASS documentation will be converted from HTML to Markdown to facilitate future collaboration.&lt;br /&gt;
* Pictures, examples and workflows will be added to the documentation where they are still missing.&lt;br /&gt;
* Software maintenance processes are automated and documented to reduce the burden on maintainers and thus improve the sustainability of the project.&lt;br /&gt;
&lt;br /&gt;
This means that there are tasks from both the programming and documentation areas to appeal to a wide range of interested parties.&lt;br /&gt;
&lt;br /&gt;
Further details about the action items you '''find [[Talk:GRASS Community Meeting Prague 2023|here]]''' and below. Topics cover non-technical, semi-technical, and technical issues.&lt;br /&gt;
&lt;br /&gt;
=== Timeline ===&lt;br /&gt;
&lt;br /&gt;
(agenda is under development, but also flexible)&lt;br /&gt;
&lt;br /&gt;
==== Thursday, 1 June ====&lt;br /&gt;
&lt;br /&gt;
* Arrival&lt;br /&gt;
&lt;br /&gt;
==== Friday, 2 June ====&lt;br /&gt;
&lt;br /&gt;
* 10:00 meeting starts in the room B-868&lt;br /&gt;
* Review the plan for the next days&lt;br /&gt;
* API for use in Python and in other projects (e.g., QGIS)&lt;br /&gt;
* Parallelizations&lt;br /&gt;
&lt;br /&gt;
==== Saturday, 3 June ====&lt;br /&gt;
&lt;br /&gt;
* Reducing cost of distribution on Windows&lt;br /&gt;
* Group photo 1&lt;br /&gt;
&lt;br /&gt;
==== Sunday, 4 June ====&lt;br /&gt;
&lt;br /&gt;
* Compilation CMake (Windows, Linux)&lt;br /&gt;
* Connections in general, rgrass,  qgisprocess&lt;br /&gt;
* Group photo 2&lt;br /&gt;
&lt;br /&gt;
==== Monday, 5 June ====&lt;br /&gt;
&lt;br /&gt;
* Connections in general, QGIS, rgrass, qgisprocess&lt;br /&gt;
* Parallelizations&lt;br /&gt;
* grass.jupyter&lt;br /&gt;
&lt;br /&gt;
==== Tuesday, 6 June ====&lt;br /&gt;
&lt;br /&gt;
* Connections in general, QGIS&lt;br /&gt;
* Parallelizations&lt;br /&gt;
* grass.jupyter&lt;br /&gt;
&lt;br /&gt;
==== Wednesday, 7 June ====&lt;br /&gt;
&lt;br /&gt;
* Departure&lt;br /&gt;
&lt;br /&gt;
== Participation ==&lt;br /&gt;
&lt;br /&gt;
We are planning for an attendance of 20 people (i.e., coding places) but of course you are welcome to join us and bring new ideas with you: we'll make more places available. Please add your name here or contact [[User:Landa|Martin Landa]] &amp;lt;tt&amp;gt;&amp;lt;landa.martin at gmail.com&amp;gt;&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
=== In person ===&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;   border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#edf9c7; font-size:95%; empty-cells:show;&amp;quot; &lt;br /&gt;
!width=50px|'''Number'''&lt;br /&gt;
!width=130px|'''Participant '''&lt;br /&gt;
!width=100px|'''Country'''&lt;br /&gt;
!width=100px|'''Arrival'''&lt;br /&gt;
!width=100px|'''Departure'''&lt;br /&gt;
!'''Topics'''&lt;br /&gt;
!'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|[[User:Landa|Martin Landa]]&lt;br /&gt;
| Czech Republic&lt;br /&gt;
| June 1&lt;br /&gt;
| June 7&lt;br /&gt;
| Python: create_location ([https://github.com/OSGeo/grass/issues/1987 #1987]), Graphical Modeler improvements and single window layout integration&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
| Micha Silver&lt;br /&gt;
| Israel&lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
| Addon to derive soil moisture from Sentinel 2&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|[https://www.osgeo.org/member/kudrnovsky/ Helmut Kudrnovsky]&lt;br /&gt;
| Austria&lt;br /&gt;
| June 2 (18:37) by train&lt;br /&gt;
| June 4 (18:24) by train &lt;br /&gt;
| support CMake transition&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|[[User:Neteler|Markus Neteler]]&lt;br /&gt;
| Germany&lt;br /&gt;
| June 2 (17:17)&lt;br /&gt;
| June 6 (12:43)&lt;br /&gt;
| translations, manual pages, ..., see [[Talk:GRASS_Community_Meeting_Prague_2023#Markus_Neteler|my list in &amp;quot;Discussion&amp;quot; page]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|[[User:pesekon2|Ondřej Pešek]]&lt;br /&gt;
| Czech Republic&lt;br /&gt;
| June 2 (17:17)&lt;br /&gt;
| June 6 (12:43)&lt;br /&gt;
| Python 3.12-connected issues, gmodeler&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
| [[User:helena|Helena Mitasova]]&lt;br /&gt;
| United States &lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
| [[User:wenzeslaus|Vaclav Petras]]&lt;br /&gt;
| United States &lt;br /&gt;
| June 1&lt;br /&gt;
| June 7&lt;br /&gt;
| init and other Python API topics, support CMake transition, revise connection with QGIS and other tools, funding&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
| [[User:Annakrat|Anna Petrasova]]&lt;br /&gt;
| United States &lt;br /&gt;
| June 1&lt;br /&gt;
| June 7&lt;br /&gt;
| parallelization documentation, grass.jupyter, R and QGIS integration&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
| [[User:Ctwhite|Corey White]]&lt;br /&gt;
| United States &lt;br /&gt;
| June 2 (10:55)&lt;br /&gt;
| June 7&lt;br /&gt;
| Connections with other tools, OpenPlains, JSON outputs&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
| [[User:MarisN|Maris Nartiss]]&lt;br /&gt;
| Latvia&lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
| [[User:Aaronsms|Aaron Saw Min Sern]]&lt;br /&gt;
| Singapore&lt;br /&gt;
| June 1&lt;br /&gt;
| June 7&lt;br /&gt;
| Support CMake transition, r.mapcalc parallelization&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
| [[User:Ldesousa|Luís de Sousa]]&lt;br /&gt;
| The Netherlands&lt;br /&gt;
| June 1 (20:00)&lt;br /&gt;
| June 5 (20:45)&lt;br /&gt;
| Update r.mblend add-on; test CMake transition.&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
| Caitlin Haedrich&lt;br /&gt;
| United States&lt;br /&gt;
| June 1&lt;br /&gt;
| June 7&lt;br /&gt;
| grass.jupyter&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
| Linda Kladivová&lt;br /&gt;
| Czech Republic&lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
| Single-Window layout issues and improvements&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
| Carmen Tawalika&lt;br /&gt;
| Germany&lt;br /&gt;
| June 2 (17:17)&lt;br /&gt;
| June 6 (12:43)&lt;br /&gt;
| Happy to assist with general topics like documentation + automation, in doubt something related to actinia&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
| Floris Vanderhaeghe&lt;br /&gt;
| Belgium&lt;br /&gt;
| June 3 (train 19:17)&lt;br /&gt;
| June 6 (train 8:25)&lt;br /&gt;
| Helping in interfacing GRASS from R (rgrass &amp;amp; qgisprocess packages)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If you are arriving or departing on the days of the event, please specify the time, too.&lt;br /&gt;
&lt;br /&gt;
=== Via chat or hangout ===&lt;br /&gt;
&lt;br /&gt;
Join our [https://app.gitter.im/#/room/#grassgis_community:gitter.im Gitter chatroom]&lt;br /&gt;
&lt;br /&gt;
TBD: Google Meet / Zoom / ???&lt;br /&gt;
&lt;br /&gt;
Participating virtually:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;   border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#edf9c7; font-size:95%; empty-cells:show;&amp;quot; &lt;br /&gt;
!width=50px|'''Number'''&lt;br /&gt;
!width=130px|'''Participant '''&lt;br /&gt;
!width=100px|'''Country'''&lt;br /&gt;
!'''Topics'''&lt;br /&gt;
!'''Times, synchronous or fully asynchronous'''&lt;br /&gt;
!'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|[[User:Baharmon|Brendan Harmon]]&lt;br /&gt;
| United States&lt;br /&gt;
| Update integration with QGIS&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|[[User:veroandreo|Veronica Andreo]]&lt;br /&gt;
| Argentina&lt;br /&gt;
| Mission and vision, interfaces with QGIS and R, sponsoring, ... [https://grasswiki.osgeo.org/wiki/Talk:GRASS_Community_Meeting_Prague_2023#Vero see discussion tab]&lt;br /&gt;
| available from 8:00 AM ART (UTC-3) onward&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|[[User:Nobeeakon|Daniel T]]&lt;br /&gt;
| Mexico&lt;br /&gt;
| &lt;br /&gt;
| some availability through the days :/&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Timing of hangout meetings ====&lt;br /&gt;
&lt;br /&gt;
Vero: available from 8:00 AM ART (UTC-3) onward&lt;br /&gt;
&lt;br /&gt;
=== Collaborative document scratching ===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Individual Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Bring your own computer&lt;br /&gt;
* Bring {{wikipedia|AC adapter|power connector adapter}} if needed (Czech Republic: 230V, 50Hz, {{wikipedia|File:Euro-Flachstecker_2.jpg|Type C Europlugs}} are common and also {{wikipedia|File:French_plug_and_socket.jpg|Type E}})&lt;br /&gt;
* Install subversion and the compiler tools, and come with a working GRASS development environment if possible.&lt;br /&gt;
&lt;br /&gt;
== Broadcast &amp;amp; Video ==&lt;br /&gt;
&lt;br /&gt;
During the event :)&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&lt;br /&gt;
Also during the event :)&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
* '''How was it last time?'''&lt;br /&gt;
** Very nice, see [[GRASS_GIS at OSGeo Virtual Community Sprint 2020]]!&lt;br /&gt;
* ''Is the GRASS Community Meeting just a coding event?''&lt;br /&gt;
** It is mainly a coding and documentation event. It is a working session for people who are already participants in the GRASS project and/or are committed to improving the GRASS project.&lt;br /&gt;
** On demand we can do some presentations of current working GRASS implementation and new upcoming features to spread the idea of Open Source GIS software.&lt;br /&gt;
* ''Is the GRASS Community Meeting for developers only?''&lt;br /&gt;
** No: anybody can help, with testing, checking out bugs and fixes, documentation and more.&lt;br /&gt;
* ''Where can I get help and more information about the community meeting?''&lt;br /&gt;
** Contact [[User:Landa|Martin Landa]] &amp;lt;tt&amp;gt;&amp;lt;landa.martin at gmail.com&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Report and press release ==&lt;br /&gt;
&lt;br /&gt;
TBD: After the event :-)&lt;br /&gt;
&lt;br /&gt;
We'll esp. craft a report for our sponsors.&lt;br /&gt;
&lt;br /&gt;
[[Category: Workshops]]&lt;br /&gt;
[[Category: Code Sprint]]&lt;br /&gt;
[[Category: 2023]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_Community_Meeting_Prague_2023&amp;diff=26935</id>
		<title>GRASS Community Meeting Prague 2023</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_Community_Meeting_Prague_2023&amp;diff=26935"/>
		<updated>2023-05-04T18:51:33Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* In person */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{toc|right}}&lt;br /&gt;
The GRASS GIS team is organizing the ''GRASS GIS Community Meeting with contributors, power users and developers'' from '''June 2 to June 6, 2023''' to celebrate GRASS GIS '''40th birthday'''. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;slideshow&amp;quot;&amp;gt;&lt;br /&gt;
Image:grass-sprint-prague.jpg|Prague 2013&lt;br /&gt;
Image:Grass_sprint2018_bonn_fotowall.jpg|Bonn 2018&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
&lt;br /&gt;
GRASS GIS Community Meeting is a great occasion for folks to support the development by actively contributing to the source code, documentation (manuals, wiki, tutorials), translations, website or likewise. The '''community''' meeting is also a get-together where supporters, contributors, power users and developers make decisions and tackle larger problems related to the project, discuss and collaboratively resolve bugs, plan the direction for the project and work on new features. We welcome people committed to improving the GRASS GIS project and the interfaces to QGIS, GDAL, PostGIS, R statistics, OGC Services and willing to '''celebrate with us the 40th GRASS GIS birthday!!'''&lt;br /&gt;
&lt;br /&gt;
For the detailed agenda, see below.&lt;br /&gt;
&lt;br /&gt;
== Sponsors ==&lt;br /&gt;
&lt;br /&gt;
We welcome '''financial contributions''' to support the meeting and we are looking for sponsors to cover costs such as meals or to help reducing travel and accommodation expenses for GRASS developers who volunteer their time. If you are interested in sponsoring the GRASS Community Meeting, please see our&lt;br /&gt;
&lt;br /&gt;
::: '''[https://opencollective.com/osgeo/projects/grass/contribute/grass-community-meeting-prague-2023-55074 OpenCollective GRASS Community Meeting Prague 2023 Tier]'''&lt;br /&gt;
&lt;br /&gt;
Any surplus at the end of the event will used for future activities of the GRASS GIS project such as the successful [[Student Grants|student mini grant program]].&lt;br /&gt;
&lt;br /&gt;
This GRASS Community Meeting is a great occasion for you to support the development of GRASS. With your contribution you'll enable more developers to meet. Community meetings are important opportunities for developers to discuss, fix bugs, plan the direction for the project and work on new features. Please see below for the detailed agenda. The developers and contributors are donating their valuable time, so it would be great if in-kind funding can be made available from within the community to cover out-of-pocket expenses. All of the work that takes place at the community meeting will be directly contributed back into the GRASS project to the benefit of everyone who uses it.&lt;br /&gt;
&lt;br /&gt;
=== Thanks to our sponsors ===&lt;br /&gt;
&lt;br /&gt;
We are grateful for the support which we have received to organize this GRASS Community Meeting:&lt;br /&gt;
&lt;br /&gt;
[[File:Osgeo logo.png|none|left|alt=Light and dark green logo of OSGeo saying Your Open Source Compass|Open Source Geospatial Foundation]]&lt;br /&gt;
* OSGeo: 7303 USD (approved budget contribution, [https://www.loomio.com/p/2m75BZkL/motion-to-approve-7303-to-support-grass-gis-community-meeting motion])&lt;br /&gt;
&lt;br /&gt;
[[File:FOSSGIS_eV_logo.png|none|left|400px|alt=Logo of FOSSGIS e.V.|FOSSGIS e.V.]]&lt;br /&gt;
* FOSSGIS e.V.: 5000 EUR&lt;br /&gt;
&lt;br /&gt;
Individuals:&lt;br /&gt;
* MarWe 50 USD&lt;br /&gt;
* Nick Brady 50 USD&lt;br /&gt;
* Johannes Brauner 30 USD&lt;br /&gt;
* Joaquin Perez Valera 5 USD&lt;br /&gt;
* Anonymous sponsors 2750 USD&lt;br /&gt;
&lt;br /&gt;
In-kind contributions:&lt;br /&gt;
&lt;br /&gt;
* Faculty of Civil Engineering Czech Technical University in Prague (FCE CTU) - space and personnel time (planning, preparation)&lt;br /&gt;
* North Carolina State University - personnel time (planning, preparation)&lt;br /&gt;
* mundialis GmbH &amp;amp; Co. KG - personnel time (planning, preparation)&lt;br /&gt;
* CONICET - personnel time (planning, preparation)&lt;br /&gt;
&lt;br /&gt;
== Timing  ==&lt;br /&gt;
&lt;br /&gt;
'''When''': June 2-6, 2023&lt;br /&gt;
&lt;br /&gt;
Of course you are invited to join or leave the meeting whenever you want.&lt;br /&gt;
&lt;br /&gt;
== Venue ==&lt;br /&gt;
&lt;br /&gt;
[[Image:logo_cvut.jpg|130px|left]]&lt;br /&gt;
Department of Geomatics&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.fsv.cvut.cz/?lang=en Faculty of Civil Engineering]&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.cvut.cz/en Czech Technical University in Prague], {{wikipedia|Czech Republic}}&amp;lt;br&amp;gt;&lt;br /&gt;
Thákurova 7/2077, Prague&amp;lt;br&amp;gt;&lt;br /&gt;
Room B868&amp;lt;br&amp;gt;&lt;br /&gt;
[https://en.mapy.cz/s/debazefuse Map]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prague has an international [http://www.prg.aero/en/ airport] and is also reachable by train, bus or car.&lt;br /&gt;
&lt;br /&gt;
== Accommodation and Costs ==&lt;br /&gt;
&lt;br /&gt;
Participants should plan for the following costs:&lt;br /&gt;
&lt;br /&gt;
* The participation is free of charge&lt;br /&gt;
* Travel to Prague, variable depending on where you come from, reimbursements depending on the financial contributions provided by the community&lt;br /&gt;
* Accommodation and meals (with the donated sponsorship money we will try to cover some expenses of the participants)&lt;br /&gt;
'''Please note''': The currency in Czech Republic is {{wikipedia|Czech crown}} (CZK, koruna, Kč). 100 Czech crowns are about 4 Euros (see [https://www.cnb.cz/cs/financni-trhy/devizovy-trh/kurzy-devizoveho-trhu/kurzy-devizoveho-trhu/ current rates]).&lt;br /&gt;
&lt;br /&gt;
Please let us know your time of arrival and departure, so we can book accommodations and organize the logistics.&lt;br /&gt;
&lt;br /&gt;
Financial support: (partial) travel grants can be payed upon request thanks to our sponsors!&lt;br /&gt;
&lt;br /&gt;
== Agenda - What we plan to do ==&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The program is generally open for your ideas. Please write an email to the [http://lists.osgeo.org/mailman/listinfo/grass-dev GRASS developer list] to discuss your contribution.&lt;br /&gt;
&lt;br /&gt;
During the meeting we will work on GRASS GIS on these tasks (please add more!):&lt;br /&gt;
&lt;br /&gt;
* We will update and revise the [https://github.com/qgis/QGIS/tree/master/python/plugins/grassprovider GRASS GIS Integration with QGIS] to simplify maintenance.&lt;br /&gt;
* Furthermore, we will migrate the compilation technology to CMake to significantly improve the Windows builds including PDAL support and become binary compatible with OSGeo4W.&lt;br /&gt;
* The extensive GRASS documentation will be converted from HTML to Markdown to facilitate future collaboration.&lt;br /&gt;
* Pictures, examples and workflows will be added to the documentation where they are still missing.&lt;br /&gt;
* Software maintenance processes are automated and documented to reduce the burden on maintainers and thus improve the sustainability of the project.&lt;br /&gt;
&lt;br /&gt;
This means that there are tasks from both the programming and documentation areas to appeal to a wide range of interested parties.&lt;br /&gt;
&lt;br /&gt;
Further details about the action items you '''find [[Talk:GRASS Community Meeting Prague 2023|here]]''' and below. Topics cover non-technical, semi-technical, and technical issues.&lt;br /&gt;
&lt;br /&gt;
=== Timeline ===&lt;br /&gt;
&lt;br /&gt;
Will be specified later.&lt;br /&gt;
&lt;br /&gt;
==== Thursday, 1 June ====&lt;br /&gt;
&lt;br /&gt;
* Arrival&lt;br /&gt;
&lt;br /&gt;
==== Friday, 2 June ====&lt;br /&gt;
&lt;br /&gt;
* 10:00 meeting starts in the room B-868&lt;br /&gt;
&lt;br /&gt;
==== Saturday, 3 June ====&lt;br /&gt;
&lt;br /&gt;
==== Sunday, 4 June ====&lt;br /&gt;
&lt;br /&gt;
==== Monday, 5 June ====&lt;br /&gt;
&lt;br /&gt;
==== Tuesday, 6 June ====&lt;br /&gt;
&lt;br /&gt;
==== Wednesday, 7 June ====&lt;br /&gt;
&lt;br /&gt;
* Departure&lt;br /&gt;
&lt;br /&gt;
== Participation ==&lt;br /&gt;
&lt;br /&gt;
We are planning for an attendance of 20 people (i.e., coding places) but of course you are welcome to join us and bring new ideas with you: we'll make more places available. Please add your name here or contact [[User:Landa|Martin Landa]] &amp;lt;tt&amp;gt;&amp;lt;landa.martin at gmail.com&amp;gt;&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
=== In person ===&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;   border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#edf9c7; font-size:95%; empty-cells:show;&amp;quot; &lt;br /&gt;
!width=50px|'''Number'''&lt;br /&gt;
!width=130px|'''Participant '''&lt;br /&gt;
!width=100px|'''Country'''&lt;br /&gt;
!width=100px|'''Arrival'''&lt;br /&gt;
!width=100px|'''Departure'''&lt;br /&gt;
!'''Topics'''&lt;br /&gt;
!width=75px|'''T-Shirt'''&lt;br /&gt;
!'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|[[User:Landa|Martin Landa]]&lt;br /&gt;
| Czech Republic&lt;br /&gt;
| June 1&lt;br /&gt;
| June 7&lt;br /&gt;
| Python: create_location ([https://github.com/OSGeo/grass/issues/1987 #1987]), Graphical Modeler improvements and single window layout integration&lt;br /&gt;
| XL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
| Micha Silver&lt;br /&gt;
| Israel&lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
| Addon to derive soil moisture from Sentinel 2&lt;br /&gt;
| XXL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|[https://www.osgeo.org/member/kudrnovsky/ Helmut Kudrnovsky]&lt;br /&gt;
| Austria&lt;br /&gt;
| June 2 (18:37) by train&lt;br /&gt;
| June 4 (18:24) by train &lt;br /&gt;
| &lt;br /&gt;
| L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|[[User:Neteler|Markus Neteler]]&lt;br /&gt;
| Germany&lt;br /&gt;
| June 2&lt;br /&gt;
| June 6 (12:43)&lt;br /&gt;
| see [[Talk:GRASS_Community_Meeting_Prague_2023#Markus_Neteler|my list in &amp;quot;Discussion&amp;quot; page]]&lt;br /&gt;
| L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|[[User:pesekon2|Ondřej Pešek]]&lt;br /&gt;
| Czech Republic&lt;br /&gt;
| June 2 (17:17)&lt;br /&gt;
| June 6 (12:43)&lt;br /&gt;
| Python 3.12-connected issues, gmodeler&lt;br /&gt;
| M&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
| [[User:helena|Helena Mitasova]]&lt;br /&gt;
| United States &lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
|&lt;br /&gt;
| S&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
| [[User:wenzeslaus|Vaclav Petras]]&lt;br /&gt;
| United States &lt;br /&gt;
| June 1&lt;br /&gt;
| June 7&lt;br /&gt;
| init and other Python API topics, support CMake transition, revise connection with QGIS and other tools, funding&lt;br /&gt;
| M&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
| [[User:Annakrat|Anna Petrasova]]&lt;br /&gt;
| United States &lt;br /&gt;
| June 1&lt;br /&gt;
| June 7&lt;br /&gt;
| parallelization, grass.jupyter&lt;br /&gt;
| S&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
| [[User:Ctwhite|Corey White]]&lt;br /&gt;
| United States &lt;br /&gt;
| June 2 (10:55)&lt;br /&gt;
| June 7&lt;br /&gt;
| Connections with other tools, OpenPlains, JSON outputs&lt;br /&gt;
| XL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
| [[User:MarisN|Maris Nartiss]]&lt;br /&gt;
| Latvia&lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
| &lt;br /&gt;
| XL&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
| [[User:Aaronsms|Aaron Saw Min Sern]]&lt;br /&gt;
| Singapore&lt;br /&gt;
| June 1&lt;br /&gt;
| June 7&lt;br /&gt;
| Support CMake transition, r.mapcalc parallelization&lt;br /&gt;
| XS (or S)&lt;br /&gt;
| Possibly attending virtually (TBC)&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
| [[User:Ldesousa|Luís de Sousa]]&lt;br /&gt;
| The Netherlands&lt;br /&gt;
| June 1 (20:00)&lt;br /&gt;
| June 5 (20:45)&lt;br /&gt;
| Update r.mblend add-on; test CMake transition.&lt;br /&gt;
| M&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
| [[User:Chaedrich|Caitlin Haedrich]]&lt;br /&gt;
| United States&lt;br /&gt;
| June 1&lt;br /&gt;
| June 7&lt;br /&gt;
| grass.jupyter&lt;br /&gt;
| S&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
| [[User:Lindakladivova|Linda Kladivová]]&lt;br /&gt;
| Czech Republic&lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
| &lt;br /&gt;
| M&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
| Carmen Tawalika&lt;br /&gt;
| Germany&lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
| Happy to assist with general topics like documentation + automation, in doubt something related to actinia&lt;br /&gt;
| M&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If you are arriving or departing on the days of the event, please specify the time, too.&lt;br /&gt;
&lt;br /&gt;
=== Via chat or hangout ===&lt;br /&gt;
&lt;br /&gt;
Join our [https://app.gitter.im/#/room/#grassgis_community:gitter.im Gitter chatroom]&lt;br /&gt;
&lt;br /&gt;
TBD: Google Meet / Zoom / ???&lt;br /&gt;
&lt;br /&gt;
Participating virtually:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;   border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#edf9c7; font-size:95%; empty-cells:show;&amp;quot; &lt;br /&gt;
!width=50px|'''Number'''&lt;br /&gt;
!width=130px|'''Participant '''&lt;br /&gt;
!width=100px|'''Country'''&lt;br /&gt;
!'''Topics'''&lt;br /&gt;
!'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|[[User:Baharmon|Brendan Harmon]]&lt;br /&gt;
| United States&lt;br /&gt;
| Update integration with QGIS&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|[[User:veroandreo|Veronica Andreo]]&lt;br /&gt;
| Argentina&lt;br /&gt;
| See [https://grasswiki.osgeo.org/wiki/Talk:GRASS_Community_Meeting_Prague_2023#Vero discussion tab]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Timing of hangout meetings ====&lt;br /&gt;
&lt;br /&gt;
Vero: available from 8:00 AM ART (UTC-3) onward&lt;br /&gt;
&lt;br /&gt;
=== Collaborative document scratching ===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Individual Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Bring your own computer&lt;br /&gt;
* Bring {{wikipedia|AC adapter|power connector adapter}} if needed (Czech Republic: 230V, 50Hz, {{wikipedia|File:Euro-Flachstecker_2.jpg|Type C Europlugs}} are common and also {{wikipedia|File:French_plug_and_socket.jpg|Type E}})&lt;br /&gt;
* Install subversion and the compiler tools, and come with a working GRASS development environment if possible.&lt;br /&gt;
&lt;br /&gt;
== Broadcast &amp;amp; Video ==&lt;br /&gt;
&lt;br /&gt;
During the event :)&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&lt;br /&gt;
Also during the event :)&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
* '''How was it last time?'''&lt;br /&gt;
** Very nice, see [[GRASS_GIS at OSGeo Virtual Community Sprint 2020]]!&lt;br /&gt;
* ''Is the GRASS Community Meeting just a coding event?''&lt;br /&gt;
** It is mainly a coding and documentation event. It is a working session for people who are already participants in the GRASS project and/or are committed to improving the GRASS project.&lt;br /&gt;
** On demand we can do some presentations of current working GRASS implementation and new upcoming features to spread the idea of Open Source GIS software.&lt;br /&gt;
* ''Is the GRASS Community Meeting for developers only?''&lt;br /&gt;
** No: anybody can help, with testing, checking out bugs and fixes, documentation and more.&lt;br /&gt;
* ''Where can I get help and more information about the community meeting?''&lt;br /&gt;
** Contact [[User:Landa|Martin Landa]] &amp;lt;tt&amp;gt;&amp;lt;landa.martin at gmail.com&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Report and press release ==&lt;br /&gt;
&lt;br /&gt;
TBD: After the event :-)&lt;br /&gt;
&lt;br /&gt;
We'll esp. craft a report for our sponsors.&lt;br /&gt;
&lt;br /&gt;
[[Category: Workshops]]&lt;br /&gt;
[[Category: Code Sprint]]&lt;br /&gt;
[[Category: 2023]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_Community_Meeting_Prague_2023&amp;diff=26829</id>
		<title>GRASS Community Meeting Prague 2023</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_Community_Meeting_Prague_2023&amp;diff=26829"/>
		<updated>2023-03-21T18:38:08Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* In person */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{toc|right}}&lt;br /&gt;
The GRASS GIS team is organizing the ''GRASS GIS Community Meeting with contributors, power users and developers'' from '''June 2 to June 6, 2023''' to celebrate GRASS GIS '''40th birthday'''. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;slideshow&amp;quot;&amp;gt;&lt;br /&gt;
Image:grass-sprint-prague.jpg|Prague 2013&lt;br /&gt;
Image:Grass_sprint2018_bonn_fotowall.jpg|Bonn 2018&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
&lt;br /&gt;
GRASS GIS Community Meeting is a great occasion for folks to support the development by actively contributing to the source code, documentation (manuals, wiki, tutorials), translations, website or likewise. The '''community''' meeting is also a get-together where supporters, contributors, power users and developers make decisions and tackle larger problems related to the project, discuss and collaboratively resolve bugs, plan the direction for the project and work on new features. We welcome people committed to improving the GRASS GIS project and the interfaces to QGIS, GDAL, PostGIS, R statistics, OGC Services and willing to '''celebrate with us the 40th GRASS GIS birthday!!''' &lt;br /&gt;
&lt;br /&gt;
== Sponsors ==&lt;br /&gt;
&lt;br /&gt;
We welcome '''financial contributions''' to support the meeting and we are looking for sponsors to cover costs such as meals or to help reducing travelling and accommodation expenses for GRASS developers with far arrival. If you are interested in sponsoring the GRASS Community Meeting, please read about&lt;br /&gt;
&lt;br /&gt;
:::'''sponsoring the GRASS GIS project''' at '''[https://grass.osgeo.org/contribute/sponsoring/ https://grass.osgeo.org/contribute/sponsoring/]'''&lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to &amp;lt;b&amp;gt;buy a round of beers for the developers with a quick click&amp;lt;/b&amp;gt; using the Open Collective &amp;quot;Contribute Money&amp;quot; button https://opencollective.com/osgeo/projects/grass&lt;br /&gt;
&lt;br /&gt;
Any surplus at the end of the event will be turned over to the GRASS GIS project.&lt;br /&gt;
&lt;br /&gt;
This GRASS Community Meeting is a great occasion for you to support the development of GRASS. With your contribution you'll enable more developers to meet. Community meetings are important opportunities for developers to discuss, fix bugs, plan the direction for the project and work on new features. Please see below for the detailed agenda. The developers and contributors are donating their valuable time, so it would be great if in-kind funding can be made available from within the community to cover out-of-pocket expenses. All of the work that takes place at the community meeting will be directly contributed back into the GRASS project to the benefit of everyone who uses it.&lt;br /&gt;
&lt;br /&gt;
=== Thanks to our sponsors ===&lt;br /&gt;
&lt;br /&gt;
We are grateful for the support which we have received to organize this GRASS Community Meeting:&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Timing  ==&lt;br /&gt;
&lt;br /&gt;
'''When''': June 2-6, 2023&lt;br /&gt;
&lt;br /&gt;
Of course you are invited to join or leave the meeting whenever you want.&lt;br /&gt;
&lt;br /&gt;
== Venue ==&lt;br /&gt;
&lt;br /&gt;
[[Image:logo_cvut.jpg|130px|left]]&lt;br /&gt;
Department of Geomatics&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.fsv.cvut.cz/?lang=en Faculty of Civil Engineering]&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.cvut.cz/en Czech Technical University in Prague], {{wikipedia|Czech Republic}}&amp;lt;br&amp;gt;&lt;br /&gt;
Room B868&amp;lt;br&amp;gt;&lt;br /&gt;
[https://en.mapy.cz/s/debazefuse Map]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prague has an international [http://www.prg.aero/en/ airport] and is also reachable by train, bus or car.&lt;br /&gt;
&lt;br /&gt;
== Accommodation and Costs ==&lt;br /&gt;
&lt;br /&gt;
Participants should plan for the following costs:&lt;br /&gt;
&lt;br /&gt;
* The participation is free of charge&lt;br /&gt;
* Travel to Prague, variable depending on where you come from&lt;br /&gt;
* Accommodation and meals (with the donated sponsorship money we will try to cover some expenses of the participants)&lt;br /&gt;
'''Please note''': The currency in Czech Republic is {{wikipedia|Czech crown}} (CZK, koruna, Kč). 100 Czech crowns are about 4 Euros (see [https://www.cnb.cz/cs/financni-trhy/devizovy-trh/kurzy-devizoveho-trhu/kurzy-devizoveho-trhu/ current rates]).&lt;br /&gt;
&lt;br /&gt;
Please let us know your time of arrival and departure, so we can book accommodations and organize the logistics.&lt;br /&gt;
&lt;br /&gt;
Financial support: (partial) travel grants can be payed upon request thanks to our sponsors!&lt;br /&gt;
&lt;br /&gt;
== Agenda - What we plan to do ==&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The program is generally open for your ideas. Please write an email to the [http://lists.osgeo.org/mailman/listinfo/grass-dev GRASS developer list] to discuss your contribution.&lt;br /&gt;
&lt;br /&gt;
Further details about the action items you '''find [[Talk:GRASS Community Sprint Prague 2023|here]]''' and below. Topics cover non-technical, semi-technical, and technical issues.&lt;br /&gt;
&lt;br /&gt;
=== Timeline ===&lt;br /&gt;
&lt;br /&gt;
Will be specified later.&lt;br /&gt;
&lt;br /&gt;
==== Friday, 2 June ====&lt;br /&gt;
&lt;br /&gt;
==== Saturday, 3 June ====&lt;br /&gt;
&lt;br /&gt;
==== Sunday, 4 June ====&lt;br /&gt;
&lt;br /&gt;
==== Monday, 5 June ====&lt;br /&gt;
&lt;br /&gt;
==== Tuesday, 6 June ====&lt;br /&gt;
&lt;br /&gt;
== Participation ==&lt;br /&gt;
&lt;br /&gt;
We are planning for an attendance of 20 people (i.e., coding places) but of course you are welcome to join us and bring new ideas with you: we'll make more places available. Please add your name here or contact [[User:Landa|Martin Landa]] &amp;lt;tt&amp;gt;&amp;lt;landa.martin at gmail.com&amp;gt;&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
=== In person ===&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;   border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#edf9c7; font-size:95%; empty-cells:show;&amp;quot; &lt;br /&gt;
!width=50px|'''Number'''&lt;br /&gt;
!width=130px|'''Participant '''&lt;br /&gt;
!width=100px|'''Country'''&lt;br /&gt;
!width=100px|'''Arrival'''&lt;br /&gt;
!width=100px|'''Departure'''&lt;br /&gt;
!'''Topics'''&lt;br /&gt;
!width=75px|'''T-Shirt'''&lt;br /&gt;
!'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|[[User:Landa|Martin Landa]]&lt;br /&gt;
|Czech Republic&lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
| &lt;br /&gt;
| XL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
| Micha Silver&lt;br /&gt;
|Israel&lt;br /&gt;
|June 2&lt;br /&gt;
|June 6&lt;br /&gt;
|Addon to derive soil moisture from Sentinel 2&lt;br /&gt;
|XXL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|[https://www.osgeo.org/member/kudrnovsky/ Helmut Kudrnovsky]&lt;br /&gt;
|Austria&lt;br /&gt;
| June 2&lt;br /&gt;
| June 4&lt;br /&gt;
| &lt;br /&gt;
| L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|x&lt;br /&gt;
| Add your name&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Via chat or hangout ===&lt;br /&gt;
&lt;br /&gt;
Join our [https://app.gitter.im/#/room/#grassgis_community:gitter.im Gitter chatroom]&lt;br /&gt;
&lt;br /&gt;
TBD: Google Meet / Zoom / ???&lt;br /&gt;
&lt;br /&gt;
==== Timing of hangout meetings ====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=== Collaborative document scratching ===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Individual Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Bring your own computer&lt;br /&gt;
* Bring {{wikipedia|AC adapter|power connector adapter}} if needed (Czech Republic: 230V, 50Hz, {{wikipedia|File:Euro-Flachstecker_2.jpg|Type C Europlugs}} are common and also {{wikipedia|File:French_plug_and_socket.jpg|Type E}})&lt;br /&gt;
* Install subversion and the compiler tools, and come with a working GRASS development environment if possible.&lt;br /&gt;
&lt;br /&gt;
== Broadcast &amp;amp; Video ==&lt;br /&gt;
&lt;br /&gt;
During the event :)&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&lt;br /&gt;
Also during the event :)&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
* '''How was it last time?'''&lt;br /&gt;
** Very nice, see [[GRASS_GIS at OSGeo Virtual Community Sprint 2020]]!&lt;br /&gt;
* ''Is the GRASS Community Meeting just a coding event?''&lt;br /&gt;
** It is mainly a coding and documentation event. It is a working session for people who are already participants in the GRASS project and/or are committed to improving the GRASS project.&lt;br /&gt;
** On demand we can do some presentations of current working GRASS implementation and new upcoming features to spread the idea of Open Source GIS software.&lt;br /&gt;
* ''Is the GRASS Community Meeting for developers only?''&lt;br /&gt;
** No: anybody can help, with testing, checking out bugs and fixes, documentation and more.&lt;br /&gt;
* ''Where can I get help and more information about the community meeting?''&lt;br /&gt;
** Contact [[User:Landa|Martin Landa]] &amp;lt;tt&amp;gt;&amp;lt;landa.martin at gmail.com&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Press Release ==&lt;br /&gt;
&lt;br /&gt;
TBD: After the event :-)&lt;br /&gt;
&lt;br /&gt;
[[Category: Workshops]]&lt;br /&gt;
[[Category: Code Sprint]]&lt;br /&gt;
[[Category: 2023]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_Community_Meeting_Prague_2023&amp;diff=26828</id>
		<title>GRASS Community Meeting Prague 2023</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_Community_Meeting_Prague_2023&amp;diff=26828"/>
		<updated>2023-03-21T18:36:02Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* In person */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{toc|right}}&lt;br /&gt;
The GRASS GIS team is organizing the ''GRASS GIS Community Meeting with contributors, power users and developers'' from '''June 2 to June 6, 2023''' to celebrate GRASS GIS '''40th birthday'''. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;slideshow&amp;quot;&amp;gt;&lt;br /&gt;
Image:grass-sprint-prague.jpg|Prague 2013&lt;br /&gt;
Image:Grass_sprint2018_bonn_fotowall.jpg|Bonn 2018&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
&lt;br /&gt;
GRASS GIS Community Meeting is a great occasion for folks to support the development by actively contributing to the source code, documentation (manuals, wiki, tutorials), translations, website or likewise. The '''community''' meeting is also a get-together where supporters, contributors, power users and developers make decisions and tackle larger problems related to the project, discuss and collaboratively resolve bugs, plan the direction for the project and work on new features. We welcome people committed to improving the GRASS GIS project and the interfaces to QGIS, GDAL, PostGIS, R statistics, OGC Services and willing to '''celebrate with us the 40th GRASS GIS birthday!!''' &lt;br /&gt;
&lt;br /&gt;
== Sponsors ==&lt;br /&gt;
&lt;br /&gt;
We welcome '''financial contributions''' to support the meeting and we are looking for sponsors to cover costs such as meals or to help reducing travelling and accommodation expenses for GRASS developers with far arrival. If you are interested in sponsoring the GRASS Community Meeting, please read about&lt;br /&gt;
&lt;br /&gt;
:::'''sponsoring the GRASS GIS project''' at '''[https://grass.osgeo.org/contribute/sponsoring/ https://grass.osgeo.org/contribute/sponsoring/]'''&lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to &amp;lt;b&amp;gt;buy a round of beers for the developers with a quick click&amp;lt;/b&amp;gt; using the Open Collective &amp;quot;Contribute Money&amp;quot; button https://opencollective.com/osgeo/projects/grass&lt;br /&gt;
&lt;br /&gt;
Any surplus at the end of the event will be turned over to the GRASS GIS project.&lt;br /&gt;
&lt;br /&gt;
This GRASS Community Meeting is a great occasion for you to support the development of GRASS. With your contribution you'll enable more developers to meet. Community meetings are important opportunities for developers to discuss, fix bugs, plan the direction for the project and work on new features. Please see below for the detailed agenda. The developers and contributors are donating their valuable time, so it would be great if in-kind funding can be made available from within the community to cover out-of-pocket expenses. All of the work that takes place at the community meeting will be directly contributed back into the GRASS project to the benefit of everyone who uses it.&lt;br /&gt;
&lt;br /&gt;
=== Thanks to our sponsors ===&lt;br /&gt;
&lt;br /&gt;
We are grateful for the support which we have received to organize this GRASS Community Meeting:&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Timing  ==&lt;br /&gt;
&lt;br /&gt;
'''When''': June 2-6, 2023&lt;br /&gt;
&lt;br /&gt;
Of course you are invited to join or leave the meeting whenever you want.&lt;br /&gt;
&lt;br /&gt;
== Venue ==&lt;br /&gt;
&lt;br /&gt;
[[Image:logo_cvut.jpg|130px|left]]&lt;br /&gt;
Department of Geomatics&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.fsv.cvut.cz/?lang=en Faculty of Civil Engineering]&amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.cvut.cz/en Czech Technical University in Prague], {{wikipedia|Czech Republic}}&amp;lt;br&amp;gt;&lt;br /&gt;
Room B868&amp;lt;br&amp;gt;&lt;br /&gt;
[https://en.mapy.cz/s/debazefuse Map]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prague has an international [http://www.prg.aero/en/ airport] and is also reachable by train, bus or car.&lt;br /&gt;
&lt;br /&gt;
== Accommodation and Costs ==&lt;br /&gt;
&lt;br /&gt;
Participants should plan for the following costs:&lt;br /&gt;
&lt;br /&gt;
* The participation is free of charge&lt;br /&gt;
* Travel to Prague, variable depending on where you come from&lt;br /&gt;
* Accommodation and meals (with the donated sponsorship money we will try to cover some expenses of the participants)&lt;br /&gt;
'''Please note''': The currency in Czech Republic is {{wikipedia|Czech crown}} (CZK, koruna, Kč). 100 Czech crowns are about 4 Euros (see [https://www.cnb.cz/cs/financni-trhy/devizovy-trh/kurzy-devizoveho-trhu/kurzy-devizoveho-trhu/ current rates]).&lt;br /&gt;
&lt;br /&gt;
Please let us know your time of arrival and departure, so we can book accommodations and organize the logistics.&lt;br /&gt;
&lt;br /&gt;
Financial support: (partial) travel grants can be payed upon request thanks to our sponsors!&lt;br /&gt;
&lt;br /&gt;
== Agenda - What we plan to do ==&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The program is generally open for your ideas. Please write an email to the [http://lists.osgeo.org/mailman/listinfo/grass-dev GRASS developer list] to discuss your contribution.&lt;br /&gt;
&lt;br /&gt;
Further details about the action items you '''find [[Talk:GRASS Community Sprint Prague 2023|here]]''' and below. Topics cover non-technical, semi-technical, and technical issues.&lt;br /&gt;
&lt;br /&gt;
=== Timeline ===&lt;br /&gt;
&lt;br /&gt;
Will be specified later.&lt;br /&gt;
&lt;br /&gt;
==== Friday, 2 June ====&lt;br /&gt;
&lt;br /&gt;
==== Saturday, 3 June ====&lt;br /&gt;
&lt;br /&gt;
==== Sunday, 4 June ====&lt;br /&gt;
&lt;br /&gt;
==== Monday, 5 June ====&lt;br /&gt;
&lt;br /&gt;
==== Tuesday, 6 June ====&lt;br /&gt;
&lt;br /&gt;
== Participation ==&lt;br /&gt;
&lt;br /&gt;
We are planning for an attendance of 20 people (i.e., coding places) but of course you are welcome to join us and bring new ideas with you: we'll make more places available. Please add your name here or contact [[User:Landa|Martin Landa]] &amp;lt;tt&amp;gt;&amp;lt;landa.martin at gmail.com&amp;gt;&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
=== In person ===&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;   border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#edf9c7; font-size:95%; empty-cells:show;&amp;quot; &lt;br /&gt;
!width=50px|'''Number'''&lt;br /&gt;
!width=130px|'''Participant '''&lt;br /&gt;
!width=100px|'''Country'''&lt;br /&gt;
!width=100px|'''Arrival'''&lt;br /&gt;
!width=100px|'''Departure'''&lt;br /&gt;
!'''Topics'''&lt;br /&gt;
!width=75px|'''T-Shirt'''&lt;br /&gt;
!'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|[[User:Landa|Martin Landa]]&lt;br /&gt;
|Czech Republic&lt;br /&gt;
| June 2&lt;br /&gt;
| June 6&lt;br /&gt;
| &lt;br /&gt;
| XL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
| Micha Silver&lt;br /&gt;
|Israel&lt;br /&gt;
|June 2&lt;br /&gt;
|June 6&lt;br /&gt;
|Addon to derive soil moisture from Sentinel 2&lt;br /&gt;
|XXL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Helmut Kudrnovsky&lt;br /&gt;
|Austria&lt;br /&gt;
| June 2&lt;br /&gt;
| June 4&lt;br /&gt;
| &lt;br /&gt;
| L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|x&lt;br /&gt;
| Add your name&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Via chat or hangout ===&lt;br /&gt;
&lt;br /&gt;
Join our [https://app.gitter.im/#/room/#grassgis_community:gitter.im Gitter chatroom]&lt;br /&gt;
&lt;br /&gt;
TBD: Google Meet / Zoom / ???&lt;br /&gt;
&lt;br /&gt;
==== Timing of hangout meetings ====&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
=== Collaborative document scratching ===&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Individual Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Bring your own computer&lt;br /&gt;
* Bring {{wikipedia|AC adapter|power connector adapter}} if needed (Czech Republic: 230V, 50Hz, {{wikipedia|File:Euro-Flachstecker_2.jpg|Type C Europlugs}} are common and also {{wikipedia|File:French_plug_and_socket.jpg|Type E}})&lt;br /&gt;
* Install subversion and the compiler tools, and come with a working GRASS development environment if possible.&lt;br /&gt;
&lt;br /&gt;
== Broadcast &amp;amp; Video ==&lt;br /&gt;
&lt;br /&gt;
During the event :)&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&lt;br /&gt;
Also during the event :)&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
* '''How was it last time?'''&lt;br /&gt;
** Very nice, see [[GRASS_GIS at OSGeo Virtual Community Sprint 2020]]!&lt;br /&gt;
* ''Is the GRASS Community Meeting just a coding event?''&lt;br /&gt;
** It is mainly a coding and documentation event. It is a working session for people who are already participants in the GRASS project and/or are committed to improving the GRASS project.&lt;br /&gt;
** On demand we can do some presentations of current working GRASS implementation and new upcoming features to spread the idea of Open Source GIS software.&lt;br /&gt;
* ''Is the GRASS Community Meeting for developers only?''&lt;br /&gt;
** No: anybody can help, with testing, checking out bugs and fixes, documentation and more.&lt;br /&gt;
* ''Where can I get help and more information about the community meeting?''&lt;br /&gt;
** Contact [[User:Landa|Martin Landa]] &amp;lt;tt&amp;gt;&amp;lt;landa.martin at gmail.com&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Press Release ==&lt;br /&gt;
&lt;br /&gt;
TBD: After the event :-)&lt;br /&gt;
&lt;br /&gt;
[[Category: Workshops]]&lt;br /&gt;
[[Category: Code Sprint]]&lt;br /&gt;
[[Category: 2023]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26436</id>
		<title>Installation Guide</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26436"/>
		<updated>2020-12-15T21:06:48Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Variant B) Advanced installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
:''Note: For compilation of GRASS GIS source code, see [[Compile and Install]]''&lt;br /&gt;
This page explains the installation of GRASS binaries.&lt;br /&gt;
&lt;br /&gt;
GRASS GIS requires a workstation running either some flavor of UNIX conforming to POSIX standards like Linux, Mac OS X, Solaris, IRIX, or BSD or MS-Windows. It is also possible to run GRASS in MS Windows by using UNIX translation software such as [[Cygwin]] or natively with MingGW. Ideally, you should have at least 500 Mb for data and 512 Mb RAM. The source code package needs around 270 MB uncompressed. The resulting binaries may need between 20 MB and 180 MB depending on your platform. During a full compilation you may need temporarily up to 150MB including the source code.&lt;br /&gt;
&lt;br /&gt;
The [https://grass.osgeo.org/download/ Software Download Section] of the main GRASS web site contains the latest binaries and source code for all supported platforms. That site also has general directions for installing GRASS manually. However, installation is slightly different on each operating system. Here you can find user-contributed pointers for installing GRASS on specific platforms. In particular, many operating systems have package management utilities that can greatly simplify GRASS installation.&lt;br /&gt;
&lt;br /&gt;
== MS Windows ==&lt;br /&gt;
&lt;br /&gt;
:''The official download page [https://grass.osgeo.org/download/windows/ GRASS GIS for MS-Windows]''&lt;br /&gt;
&lt;br /&gt;
There are two main flavours:&lt;br /&gt;
* '''OSGeo4W installer''', for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
* '''Standalone winGRASS installer''': install GRASS GIS with the required support packages.&lt;br /&gt;
&lt;br /&gt;
=== OSGeo4W installer ===&lt;br /&gt;
&lt;br /&gt;
OSGeo4W is an installer for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
&lt;br /&gt;
* Install using [https://trac.osgeo.org/osgeo4w/ OSGeo4W installer] which installs all dependencies as well (PROJ, GDAL, GEOS, Python, etc.)&lt;br /&gt;
&lt;br /&gt;
==== Launch the OSGeo4W installer ====&lt;br /&gt;
&lt;br /&gt;
Save the downloaded installer (consider to keep it for future updates) and run it as an ''administrator''.&lt;br /&gt;
You can select either the grass (stable) or grass-daily (development) packages to install.,&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_1.png|center|thumb|500px|Install with &amp;quot;Administrator&amp;quot; rights]]&lt;br /&gt;
&lt;br /&gt;
==== Variant A) Express installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Express Desktop Install&amp;quot; mode to select stable version, currently GRASS GIS 7.8.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_express.png|center|thumb|500px|Use &amp;quot;Express installation&amp;quot; to select stable version, currently GRASS GIS 7.8.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_express.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
Common installed Python packages:&lt;br /&gt;
&lt;br /&gt;
* python3-gdal &lt;br /&gt;
* python3-matplotlib &lt;br /&gt;
* python3-wx &lt;br /&gt;
* python3-numpy &lt;br /&gt;
* python3-pillow &lt;br /&gt;
* python3-pip &lt;br /&gt;
* python3-ply &lt;br /&gt;
* python3-pyopengl  &lt;br /&gt;
* python3-psycopg2 &lt;br /&gt;
* python3-six &lt;br /&gt;
* python3-pywin32&lt;br /&gt;
&lt;br /&gt;
Additional useful packages (e.g. python3-pandas, msys) can be installed in &amp;quot;Advanced Install&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
==== Variant B) Advanced installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Advanced Install Mode&amp;quot; to select development version, currently GRASS GIS 7.9.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_advanced.png|center|thumb|500px|Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_advanced.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
=== winGRASS standalone installer ===&lt;br /&gt;
&lt;br /&gt;
* Native winGRASS package installer is available [http://grass.osgeo.org/grass-stable/binary/mswindows/native/ here]. See also [[WinGRASS Current Status]].&lt;br /&gt;
&lt;br /&gt;
=== QGIS with winGRASS installer ===&lt;br /&gt;
* QGIS including native winGRASS packages are provided [https://www.qgis.org/wiki/Download here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== winGRASS/Cygwin installer ===&lt;br /&gt;
* winGRASS/Cygwin packages are provided [http://grass.osgeo.org/grass64/binary/mswindows/cygwin/ here] (requires [[Cygwin]] UNIX emulator, see there).&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GNU/Linux ==&lt;br /&gt;
&lt;br /&gt;
:''The official page [https://grass.osgeo.org/download/linux/ GRASS GIS Download for GNU/Linux]''&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
A binary version of GRASS is available from the apt repository. As root type:&lt;br /&gt;
&lt;br /&gt;
  apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
This is the easiest way to install GRASS on Debian. If you choose to install a binary version manually from the main web site, be sure to follow the instructions for making symlinks found as a note to the [[http://grass.osgeo.org/grass-stable/binary/linux/snapshot/ 7.x stable weekly snapshot]] release.&lt;br /&gt;
&lt;br /&gt;
==== DebianGIS ====&lt;br /&gt;
&lt;br /&gt;
There is also the wonderful [https://wiki.debian.org/DebianGis DebianGIS] project which has a more recent GRASS version with its related packages. Read here for more [[GRASS in Debian |details]]&lt;br /&gt;
&lt;br /&gt;
==== Compiling GRASS from source ====&lt;br /&gt;
&lt;br /&gt;
* See [[Compile and Install]] of Source Code&lt;br /&gt;
&lt;br /&gt;
=== Installation on Fedora ===&lt;br /&gt;
&lt;br /&gt;
[https://admin.fedoraproject.org/pkgdb/acls/name/grass Fedoraproject] provides RPM-packages for stable releases prepared to install on Fedora systems:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 sudo dnf install grass grass-gui&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mageia ===&lt;br /&gt;
&lt;br /&gt;
* [https://madb.mageia.org/package/show/name/grass/ Mageia] provides PROJ/GDAL/GRASS RPMs:&lt;br /&gt;
&lt;br /&gt;
  urpmi grass&lt;br /&gt;
&lt;br /&gt;
=== openSUSE ===&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/package/show/Application:Geo/grass openSUSE] provides GRASS and related RPM-packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo zypper refresh&lt;br /&gt;
sudo zypper install grass7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, one can use the '''One-Click installer''':&lt;br /&gt;
https://software.opensuse.org/package/grass&lt;br /&gt;
&lt;br /&gt;
=== Red Hat Enterprise Linux (RHEL, CentOS and EPEL) ===&lt;br /&gt;
&lt;br /&gt;
* [https://src.fedoraproject.org/rpms/grass Fedora] offers GRASS and related binaries for CentOS and EPEL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 dnf install grass&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
GRASS Binaries are available from apt/synaptic. From a terminal type:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
or alternatively, search for and install these packages from Synaptic. This is the easy way to get GRASS on your system. Even if you choose to install binaries from another source, you may want to install this version just so that all (most) dependencies are installed as painlessly as possible.&lt;br /&gt;
&lt;br /&gt;
To get the latest version of GRASS on Ubuntu, compile the code from source. See the [[Compile and Install]] section for a shell script that makes this easy.&lt;br /&gt;
&lt;br /&gt;
== MacOS ==&lt;br /&gt;
&lt;br /&gt;
Precompiled GRASS GIS 7 packages for macOS can be found [https://grass.osgeo.org/download/mac here]. These are distributed as zipped *.dmg packages. Opening the dmg prompts the user to simply drag and drop the app into the Applications folder. In fact, they '''must''' be installed into the Applications folder and may not run properly in other locations. &lt;br /&gt;
&lt;br /&gt;
A brief introduction to how to install via [https://www.macports.org MacPorts]: [[Compiling on macOS using MacPorts]].&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi ==&lt;br /&gt;
&lt;br /&gt;
:''See the main page [[Raspberry Pi]].''&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26435</id>
		<title>Installation Guide</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26435"/>
		<updated>2020-12-15T21:06:01Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Variant A) Express installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
:''Note: For compilation of GRASS GIS source code, see [[Compile and Install]]''&lt;br /&gt;
This page explains the installation of GRASS binaries.&lt;br /&gt;
&lt;br /&gt;
GRASS GIS requires a workstation running either some flavor of UNIX conforming to POSIX standards like Linux, Mac OS X, Solaris, IRIX, or BSD or MS-Windows. It is also possible to run GRASS in MS Windows by using UNIX translation software such as [[Cygwin]] or natively with MingGW. Ideally, you should have at least 500 Mb for data and 512 Mb RAM. The source code package needs around 270 MB uncompressed. The resulting binaries may need between 20 MB and 180 MB depending on your platform. During a full compilation you may need temporarily up to 150MB including the source code.&lt;br /&gt;
&lt;br /&gt;
The [https://grass.osgeo.org/download/ Software Download Section] of the main GRASS web site contains the latest binaries and source code for all supported platforms. That site also has general directions for installing GRASS manually. However, installation is slightly different on each operating system. Here you can find user-contributed pointers for installing GRASS on specific platforms. In particular, many operating systems have package management utilities that can greatly simplify GRASS installation.&lt;br /&gt;
&lt;br /&gt;
== MS Windows ==&lt;br /&gt;
&lt;br /&gt;
:''The official download page [https://grass.osgeo.org/download/windows/ GRASS GIS for MS-Windows]''&lt;br /&gt;
&lt;br /&gt;
There are two main flavours:&lt;br /&gt;
* '''OSGeo4W installer''', for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
* '''Standalone winGRASS installer''': install GRASS GIS with the required support packages.&lt;br /&gt;
&lt;br /&gt;
=== OSGeo4W installer ===&lt;br /&gt;
&lt;br /&gt;
OSGeo4W is an installer for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
&lt;br /&gt;
* Install using [https://trac.osgeo.org/osgeo4w/ OSGeo4W installer] which installs all dependencies as well (PROJ, GDAL, GEOS, Python, etc.)&lt;br /&gt;
&lt;br /&gt;
==== Launch the OSGeo4W installer ====&lt;br /&gt;
&lt;br /&gt;
Save the downloaded installer (consider to keep it for future updates) and run it as an ''administrator''.&lt;br /&gt;
You can select either the grass (stable) or grass-daily (development) packages to install.,&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_1.png|center|thumb|500px|Install with &amp;quot;Administrator&amp;quot; rights]]&lt;br /&gt;
&lt;br /&gt;
==== Variant A) Express installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Express Desktop Install&amp;quot; mode to select stable version, currently GRASS GIS 7.8.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_express.png|center|thumb|500px|Use &amp;quot;Express installation&amp;quot; to select stable version, currently GRASS GIS 7.8.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_express.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
Common installed Python packages:&lt;br /&gt;
&lt;br /&gt;
* python3-gdal &lt;br /&gt;
* python3-matplotlib &lt;br /&gt;
* python3-wx &lt;br /&gt;
* python3-numpy &lt;br /&gt;
* python3-pillow &lt;br /&gt;
* python3-pip &lt;br /&gt;
* python3-ply &lt;br /&gt;
* python3-pyopengl  &lt;br /&gt;
* python3-psycopg2 &lt;br /&gt;
* python3-six &lt;br /&gt;
* python3-pywin32&lt;br /&gt;
&lt;br /&gt;
Additional useful packages (e.g. python3-pandas, msys) can be installed in &amp;quot;Advanced Install&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
==== Variant B) Advanced installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_advanced.png|center|thumb|500px|Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_advanced.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
=== winGRASS standalone installer ===&lt;br /&gt;
&lt;br /&gt;
* Native winGRASS package installer is available [http://grass.osgeo.org/grass-stable/binary/mswindows/native/ here]. See also [[WinGRASS Current Status]].&lt;br /&gt;
&lt;br /&gt;
=== QGIS with winGRASS installer ===&lt;br /&gt;
* QGIS including native winGRASS packages are provided [https://www.qgis.org/wiki/Download here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== winGRASS/Cygwin installer ===&lt;br /&gt;
* winGRASS/Cygwin packages are provided [http://grass.osgeo.org/grass64/binary/mswindows/cygwin/ here] (requires [[Cygwin]] UNIX emulator, see there).&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GNU/Linux ==&lt;br /&gt;
&lt;br /&gt;
:''The official page [https://grass.osgeo.org/download/linux/ GRASS GIS Download for GNU/Linux]''&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
A binary version of GRASS is available from the apt repository. As root type:&lt;br /&gt;
&lt;br /&gt;
  apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
This is the easiest way to install GRASS on Debian. If you choose to install a binary version manually from the main web site, be sure to follow the instructions for making symlinks found as a note to the [[http://grass.osgeo.org/grass-stable/binary/linux/snapshot/ 7.x stable weekly snapshot]] release.&lt;br /&gt;
&lt;br /&gt;
==== DebianGIS ====&lt;br /&gt;
&lt;br /&gt;
There is also the wonderful [https://wiki.debian.org/DebianGis DebianGIS] project which has a more recent GRASS version with its related packages. Read here for more [[GRASS in Debian |details]]&lt;br /&gt;
&lt;br /&gt;
==== Compiling GRASS from source ====&lt;br /&gt;
&lt;br /&gt;
* See [[Compile and Install]] of Source Code&lt;br /&gt;
&lt;br /&gt;
=== Installation on Fedora ===&lt;br /&gt;
&lt;br /&gt;
[https://admin.fedoraproject.org/pkgdb/acls/name/grass Fedoraproject] provides RPM-packages for stable releases prepared to install on Fedora systems:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 sudo dnf install grass grass-gui&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mageia ===&lt;br /&gt;
&lt;br /&gt;
* [https://madb.mageia.org/package/show/name/grass/ Mageia] provides PROJ/GDAL/GRASS RPMs:&lt;br /&gt;
&lt;br /&gt;
  urpmi grass&lt;br /&gt;
&lt;br /&gt;
=== openSUSE ===&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/package/show/Application:Geo/grass openSUSE] provides GRASS and related RPM-packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo zypper refresh&lt;br /&gt;
sudo zypper install grass7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, one can use the '''One-Click installer''':&lt;br /&gt;
https://software.opensuse.org/package/grass&lt;br /&gt;
&lt;br /&gt;
=== Red Hat Enterprise Linux (RHEL, CentOS and EPEL) ===&lt;br /&gt;
&lt;br /&gt;
* [https://src.fedoraproject.org/rpms/grass Fedora] offers GRASS and related binaries for CentOS and EPEL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 dnf install grass&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
GRASS Binaries are available from apt/synaptic. From a terminal type:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
or alternatively, search for and install these packages from Synaptic. This is the easy way to get GRASS on your system. Even if you choose to install binaries from another source, you may want to install this version just so that all (most) dependencies are installed as painlessly as possible.&lt;br /&gt;
&lt;br /&gt;
To get the latest version of GRASS on Ubuntu, compile the code from source. See the [[Compile and Install]] section for a shell script that makes this easy.&lt;br /&gt;
&lt;br /&gt;
== MacOS ==&lt;br /&gt;
&lt;br /&gt;
Precompiled GRASS GIS 7 packages for macOS can be found [https://grass.osgeo.org/download/mac here]. These are distributed as zipped *.dmg packages. Opening the dmg prompts the user to simply drag and drop the app into the Applications folder. In fact, they '''must''' be installed into the Applications folder and may not run properly in other locations. &lt;br /&gt;
&lt;br /&gt;
A brief introduction to how to install via [https://www.macports.org MacPorts]: [[Compiling on macOS using MacPorts]].&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi ==&lt;br /&gt;
&lt;br /&gt;
:''See the main page [[Raspberry Pi]].''&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26434</id>
		<title>Installation Guide</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26434"/>
		<updated>2020-12-15T21:05:25Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Variant A) Express installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
:''Note: For compilation of GRASS GIS source code, see [[Compile and Install]]''&lt;br /&gt;
This page explains the installation of GRASS binaries.&lt;br /&gt;
&lt;br /&gt;
GRASS GIS requires a workstation running either some flavor of UNIX conforming to POSIX standards like Linux, Mac OS X, Solaris, IRIX, or BSD or MS-Windows. It is also possible to run GRASS in MS Windows by using UNIX translation software such as [[Cygwin]] or natively with MingGW. Ideally, you should have at least 500 Mb for data and 512 Mb RAM. The source code package needs around 270 MB uncompressed. The resulting binaries may need between 20 MB and 180 MB depending on your platform. During a full compilation you may need temporarily up to 150MB including the source code.&lt;br /&gt;
&lt;br /&gt;
The [https://grass.osgeo.org/download/ Software Download Section] of the main GRASS web site contains the latest binaries and source code for all supported platforms. That site also has general directions for installing GRASS manually. However, installation is slightly different on each operating system. Here you can find user-contributed pointers for installing GRASS on specific platforms. In particular, many operating systems have package management utilities that can greatly simplify GRASS installation.&lt;br /&gt;
&lt;br /&gt;
== MS Windows ==&lt;br /&gt;
&lt;br /&gt;
:''The official download page [https://grass.osgeo.org/download/windows/ GRASS GIS for MS-Windows]''&lt;br /&gt;
&lt;br /&gt;
There are two main flavours:&lt;br /&gt;
* '''OSGeo4W installer''', for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
* '''Standalone winGRASS installer''': install GRASS GIS with the required support packages.&lt;br /&gt;
&lt;br /&gt;
=== OSGeo4W installer ===&lt;br /&gt;
&lt;br /&gt;
OSGeo4W is an installer for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
&lt;br /&gt;
* Install using [https://trac.osgeo.org/osgeo4w/ OSGeo4W installer] which installs all dependencies as well (PROJ, GDAL, GEOS, Python, etc.)&lt;br /&gt;
&lt;br /&gt;
==== Launch the OSGeo4W installer ====&lt;br /&gt;
&lt;br /&gt;
Save the downloaded installer (consider to keep it for future updates) and run it as an ''administrator''.&lt;br /&gt;
You can select either the grass (stable) or grass-daily (development) packages to install.,&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_1.png|center|thumb|500px|Install with &amp;quot;Administrator&amp;quot; rights]]&lt;br /&gt;
&lt;br /&gt;
==== Variant A) Express installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Express Desktop Install&amp;quot; mode to select stable version, currently GRASS GIS 7.8.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_express.png|center|thumb|500px|Use &amp;quot;Express installation&amp;quot; to select stable version, currently GRASS GIS 7.8.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_express.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
Common installed Python packages:&lt;br /&gt;
&lt;br /&gt;
* python3-gdal &lt;br /&gt;
* python3-matplotlib &lt;br /&gt;
* python3-wx &lt;br /&gt;
* python3-numpy &lt;br /&gt;
* python3-pillow &lt;br /&gt;
* python3-pip &lt;br /&gt;
* python3-ply &lt;br /&gt;
* python3-pyopengl  &lt;br /&gt;
* python3-psycopg2 &lt;br /&gt;
* python3-six &lt;br /&gt;
* python3-pywin32&lt;br /&gt;
&lt;br /&gt;
Additional useful packages (e.g. python3-pandas, msys) can be installed in &amp;quot;Advanced installation&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
==== Variant B) Advanced installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_advanced.png|center|thumb|500px|Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_advanced.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
=== winGRASS standalone installer ===&lt;br /&gt;
&lt;br /&gt;
* Native winGRASS package installer is available [http://grass.osgeo.org/grass-stable/binary/mswindows/native/ here]. See also [[WinGRASS Current Status]].&lt;br /&gt;
&lt;br /&gt;
=== QGIS with winGRASS installer ===&lt;br /&gt;
* QGIS including native winGRASS packages are provided [https://www.qgis.org/wiki/Download here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== winGRASS/Cygwin installer ===&lt;br /&gt;
* winGRASS/Cygwin packages are provided [http://grass.osgeo.org/grass64/binary/mswindows/cygwin/ here] (requires [[Cygwin]] UNIX emulator, see there).&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GNU/Linux ==&lt;br /&gt;
&lt;br /&gt;
:''The official page [https://grass.osgeo.org/download/linux/ GRASS GIS Download for GNU/Linux]''&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
A binary version of GRASS is available from the apt repository. As root type:&lt;br /&gt;
&lt;br /&gt;
  apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
This is the easiest way to install GRASS on Debian. If you choose to install a binary version manually from the main web site, be sure to follow the instructions for making symlinks found as a note to the [[http://grass.osgeo.org/grass-stable/binary/linux/snapshot/ 7.x stable weekly snapshot]] release.&lt;br /&gt;
&lt;br /&gt;
==== DebianGIS ====&lt;br /&gt;
&lt;br /&gt;
There is also the wonderful [https://wiki.debian.org/DebianGis DebianGIS] project which has a more recent GRASS version with its related packages. Read here for more [[GRASS in Debian |details]]&lt;br /&gt;
&lt;br /&gt;
==== Compiling GRASS from source ====&lt;br /&gt;
&lt;br /&gt;
* See [[Compile and Install]] of Source Code&lt;br /&gt;
&lt;br /&gt;
=== Installation on Fedora ===&lt;br /&gt;
&lt;br /&gt;
[https://admin.fedoraproject.org/pkgdb/acls/name/grass Fedoraproject] provides RPM-packages for stable releases prepared to install on Fedora systems:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 sudo dnf install grass grass-gui&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mageia ===&lt;br /&gt;
&lt;br /&gt;
* [https://madb.mageia.org/package/show/name/grass/ Mageia] provides PROJ/GDAL/GRASS RPMs:&lt;br /&gt;
&lt;br /&gt;
  urpmi grass&lt;br /&gt;
&lt;br /&gt;
=== openSUSE ===&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/package/show/Application:Geo/grass openSUSE] provides GRASS and related RPM-packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo zypper refresh&lt;br /&gt;
sudo zypper install grass7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, one can use the '''One-Click installer''':&lt;br /&gt;
https://software.opensuse.org/package/grass&lt;br /&gt;
&lt;br /&gt;
=== Red Hat Enterprise Linux (RHEL, CentOS and EPEL) ===&lt;br /&gt;
&lt;br /&gt;
* [https://src.fedoraproject.org/rpms/grass Fedora] offers GRASS and related binaries for CentOS and EPEL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 dnf install grass&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
GRASS Binaries are available from apt/synaptic. From a terminal type:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
or alternatively, search for and install these packages from Synaptic. This is the easy way to get GRASS on your system. Even if you choose to install binaries from another source, you may want to install this version just so that all (most) dependencies are installed as painlessly as possible.&lt;br /&gt;
&lt;br /&gt;
To get the latest version of GRASS on Ubuntu, compile the code from source. See the [[Compile and Install]] section for a shell script that makes this easy.&lt;br /&gt;
&lt;br /&gt;
== MacOS ==&lt;br /&gt;
&lt;br /&gt;
Precompiled GRASS GIS 7 packages for macOS can be found [https://grass.osgeo.org/download/mac here]. These are distributed as zipped *.dmg packages. Opening the dmg prompts the user to simply drag and drop the app into the Applications folder. In fact, they '''must''' be installed into the Applications folder and may not run properly in other locations. &lt;br /&gt;
&lt;br /&gt;
A brief introduction to how to install via [https://www.macports.org MacPorts]: [[Compiling on macOS using MacPorts]].&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi ==&lt;br /&gt;
&lt;br /&gt;
:''See the main page [[Raspberry Pi]].''&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26433</id>
		<title>Installation Guide</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26433"/>
		<updated>2020-12-15T21:04:59Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Variant A) Express installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
:''Note: For compilation of GRASS GIS source code, see [[Compile and Install]]''&lt;br /&gt;
This page explains the installation of GRASS binaries.&lt;br /&gt;
&lt;br /&gt;
GRASS GIS requires a workstation running either some flavor of UNIX conforming to POSIX standards like Linux, Mac OS X, Solaris, IRIX, or BSD or MS-Windows. It is also possible to run GRASS in MS Windows by using UNIX translation software such as [[Cygwin]] or natively with MingGW. Ideally, you should have at least 500 Mb for data and 512 Mb RAM. The source code package needs around 270 MB uncompressed. The resulting binaries may need between 20 MB and 180 MB depending on your platform. During a full compilation you may need temporarily up to 150MB including the source code.&lt;br /&gt;
&lt;br /&gt;
The [https://grass.osgeo.org/download/ Software Download Section] of the main GRASS web site contains the latest binaries and source code for all supported platforms. That site also has general directions for installing GRASS manually. However, installation is slightly different on each operating system. Here you can find user-contributed pointers for installing GRASS on specific platforms. In particular, many operating systems have package management utilities that can greatly simplify GRASS installation.&lt;br /&gt;
&lt;br /&gt;
== MS Windows ==&lt;br /&gt;
&lt;br /&gt;
:''The official download page [https://grass.osgeo.org/download/windows/ GRASS GIS for MS-Windows]''&lt;br /&gt;
&lt;br /&gt;
There are two main flavours:&lt;br /&gt;
* '''OSGeo4W installer''', for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
* '''Standalone winGRASS installer''': install GRASS GIS with the required support packages.&lt;br /&gt;
&lt;br /&gt;
=== OSGeo4W installer ===&lt;br /&gt;
&lt;br /&gt;
OSGeo4W is an installer for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
&lt;br /&gt;
* Install using [https://trac.osgeo.org/osgeo4w/ OSGeo4W installer] which installs all dependencies as well (PROJ, GDAL, GEOS, Python, etc.)&lt;br /&gt;
&lt;br /&gt;
==== Launch the OSGeo4W installer ====&lt;br /&gt;
&lt;br /&gt;
Save the downloaded installer (consider to keep it for future updates) and run it as an ''administrator''.&lt;br /&gt;
You can select either the grass (stable) or grass-daily (development) packages to install.,&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_1.png|center|thumb|500px|Install with &amp;quot;Administrator&amp;quot; rights]]&lt;br /&gt;
&lt;br /&gt;
==== Variant A) Express installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Express Desktop Installation&amp;quot; to select stable version, currently GRASS GIS 7.8.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_express.png|center|thumb|500px|Use &amp;quot;Express installation&amp;quot; to select stable version, currently GRASS GIS 7.8.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_express.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
Common installed Python packages:&lt;br /&gt;
&lt;br /&gt;
* python3-gdal &lt;br /&gt;
* python3-matplotlib &lt;br /&gt;
* python3-wx &lt;br /&gt;
* python3-numpy &lt;br /&gt;
* python3-pillow &lt;br /&gt;
* python3-pip &lt;br /&gt;
* python3-ply &lt;br /&gt;
* python3-pyopengl  &lt;br /&gt;
* python3-psycopg2 &lt;br /&gt;
* python3-six &lt;br /&gt;
* python3-pywin32&lt;br /&gt;
&lt;br /&gt;
Additional useful packages (e.g. python3-pandas, msys) can be installed in &amp;quot;Advanced installation&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
==== Variant B) Advanced installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_advanced.png|center|thumb|500px|Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_advanced.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
=== winGRASS standalone installer ===&lt;br /&gt;
&lt;br /&gt;
* Native winGRASS package installer is available [http://grass.osgeo.org/grass-stable/binary/mswindows/native/ here]. See also [[WinGRASS Current Status]].&lt;br /&gt;
&lt;br /&gt;
=== QGIS with winGRASS installer ===&lt;br /&gt;
* QGIS including native winGRASS packages are provided [https://www.qgis.org/wiki/Download here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== winGRASS/Cygwin installer ===&lt;br /&gt;
* winGRASS/Cygwin packages are provided [http://grass.osgeo.org/grass64/binary/mswindows/cygwin/ here] (requires [[Cygwin]] UNIX emulator, see there).&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GNU/Linux ==&lt;br /&gt;
&lt;br /&gt;
:''The official page [https://grass.osgeo.org/download/linux/ GRASS GIS Download for GNU/Linux]''&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
A binary version of GRASS is available from the apt repository. As root type:&lt;br /&gt;
&lt;br /&gt;
  apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
This is the easiest way to install GRASS on Debian. If you choose to install a binary version manually from the main web site, be sure to follow the instructions for making symlinks found as a note to the [[http://grass.osgeo.org/grass-stable/binary/linux/snapshot/ 7.x stable weekly snapshot]] release.&lt;br /&gt;
&lt;br /&gt;
==== DebianGIS ====&lt;br /&gt;
&lt;br /&gt;
There is also the wonderful [https://wiki.debian.org/DebianGis DebianGIS] project which has a more recent GRASS version with its related packages. Read here for more [[GRASS in Debian |details]]&lt;br /&gt;
&lt;br /&gt;
==== Compiling GRASS from source ====&lt;br /&gt;
&lt;br /&gt;
* See [[Compile and Install]] of Source Code&lt;br /&gt;
&lt;br /&gt;
=== Installation on Fedora ===&lt;br /&gt;
&lt;br /&gt;
[https://admin.fedoraproject.org/pkgdb/acls/name/grass Fedoraproject] provides RPM-packages for stable releases prepared to install on Fedora systems:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 sudo dnf install grass grass-gui&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mageia ===&lt;br /&gt;
&lt;br /&gt;
* [https://madb.mageia.org/package/show/name/grass/ Mageia] provides PROJ/GDAL/GRASS RPMs:&lt;br /&gt;
&lt;br /&gt;
  urpmi grass&lt;br /&gt;
&lt;br /&gt;
=== openSUSE ===&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/package/show/Application:Geo/grass openSUSE] provides GRASS and related RPM-packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo zypper refresh&lt;br /&gt;
sudo zypper install grass7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, one can use the '''One-Click installer''':&lt;br /&gt;
https://software.opensuse.org/package/grass&lt;br /&gt;
&lt;br /&gt;
=== Red Hat Enterprise Linux (RHEL, CentOS and EPEL) ===&lt;br /&gt;
&lt;br /&gt;
* [https://src.fedoraproject.org/rpms/grass Fedora] offers GRASS and related binaries for CentOS and EPEL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 dnf install grass&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
GRASS Binaries are available from apt/synaptic. From a terminal type:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
or alternatively, search for and install these packages from Synaptic. This is the easy way to get GRASS on your system. Even if you choose to install binaries from another source, you may want to install this version just so that all (most) dependencies are installed as painlessly as possible.&lt;br /&gt;
&lt;br /&gt;
To get the latest version of GRASS on Ubuntu, compile the code from source. See the [[Compile and Install]] section for a shell script that makes this easy.&lt;br /&gt;
&lt;br /&gt;
== MacOS ==&lt;br /&gt;
&lt;br /&gt;
Precompiled GRASS GIS 7 packages for macOS can be found [https://grass.osgeo.org/download/mac here]. These are distributed as zipped *.dmg packages. Opening the dmg prompts the user to simply drag and drop the app into the Applications folder. In fact, they '''must''' be installed into the Applications folder and may not run properly in other locations. &lt;br /&gt;
&lt;br /&gt;
A brief introduction to how to install via [https://www.macports.org MacPorts]: [[Compiling on macOS using MacPorts]].&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi ==&lt;br /&gt;
&lt;br /&gt;
:''See the main page [[Raspberry Pi]].''&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26432</id>
		<title>Installation Guide</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26432"/>
		<updated>2020-12-15T21:04:19Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Variant A) Express installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
:''Note: For compilation of GRASS GIS source code, see [[Compile and Install]]''&lt;br /&gt;
This page explains the installation of GRASS binaries.&lt;br /&gt;
&lt;br /&gt;
GRASS GIS requires a workstation running either some flavor of UNIX conforming to POSIX standards like Linux, Mac OS X, Solaris, IRIX, or BSD or MS-Windows. It is also possible to run GRASS in MS Windows by using UNIX translation software such as [[Cygwin]] or natively with MingGW. Ideally, you should have at least 500 Mb for data and 512 Mb RAM. The source code package needs around 270 MB uncompressed. The resulting binaries may need between 20 MB and 180 MB depending on your platform. During a full compilation you may need temporarily up to 150MB including the source code.&lt;br /&gt;
&lt;br /&gt;
The [https://grass.osgeo.org/download/ Software Download Section] of the main GRASS web site contains the latest binaries and source code for all supported platforms. That site also has general directions for installing GRASS manually. However, installation is slightly different on each operating system. Here you can find user-contributed pointers for installing GRASS on specific platforms. In particular, many operating systems have package management utilities that can greatly simplify GRASS installation.&lt;br /&gt;
&lt;br /&gt;
== MS Windows ==&lt;br /&gt;
&lt;br /&gt;
:''The official download page [https://grass.osgeo.org/download/windows/ GRASS GIS for MS-Windows]''&lt;br /&gt;
&lt;br /&gt;
There are two main flavours:&lt;br /&gt;
* '''OSGeo4W installer''', for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
* '''Standalone winGRASS installer''': install GRASS GIS with the required support packages.&lt;br /&gt;
&lt;br /&gt;
=== OSGeo4W installer ===&lt;br /&gt;
&lt;br /&gt;
OSGeo4W is an installer for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
&lt;br /&gt;
* Install using [https://trac.osgeo.org/osgeo4w/ OSGeo4W installer] which installs all dependencies as well (PROJ, GDAL, GEOS, Python, etc.)&lt;br /&gt;
&lt;br /&gt;
==== Launch the OSGeo4W installer ====&lt;br /&gt;
&lt;br /&gt;
Save the downloaded installer (consider to keep it for future updates) and run it as an ''administrator''.&lt;br /&gt;
You can select either the grass (stable) or grass-daily (development) packages to install.,&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_1.png|center|thumb|500px|Install with &amp;quot;Administrator&amp;quot; rights]]&lt;br /&gt;
&lt;br /&gt;
==== Variant A) Express installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Express installation&amp;quot; to select stable version, currently GRASS GIS 7.8.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_express.png|center|thumb|500px|Use &amp;quot;Express installation&amp;quot; to select stable version, currently GRASS GIS 7.8.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_express.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
Common installed Python packages:&lt;br /&gt;
&lt;br /&gt;
* python3-gdal &lt;br /&gt;
* python3-matplotlib &lt;br /&gt;
* python3-wx &lt;br /&gt;
* python3-numpy &lt;br /&gt;
* python3-pillow &lt;br /&gt;
* python3-pip &lt;br /&gt;
* python3-ply &lt;br /&gt;
* python3-pyopengl  &lt;br /&gt;
* python3-psycopg2 &lt;br /&gt;
* python3-six &lt;br /&gt;
* python3-pywin32&lt;br /&gt;
&lt;br /&gt;
Additional useful packages (e.g. python3-pandas, msys) can be installed in &amp;quot;Advanced installation&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
==== Variant B) Advanced installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_advanced.png|center|thumb|500px|Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_advanced.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
=== winGRASS standalone installer ===&lt;br /&gt;
&lt;br /&gt;
* Native winGRASS package installer is available [http://grass.osgeo.org/grass-stable/binary/mswindows/native/ here]. See also [[WinGRASS Current Status]].&lt;br /&gt;
&lt;br /&gt;
=== QGIS with winGRASS installer ===&lt;br /&gt;
* QGIS including native winGRASS packages are provided [https://www.qgis.org/wiki/Download here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== winGRASS/Cygwin installer ===&lt;br /&gt;
* winGRASS/Cygwin packages are provided [http://grass.osgeo.org/grass64/binary/mswindows/cygwin/ here] (requires [[Cygwin]] UNIX emulator, see there).&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GNU/Linux ==&lt;br /&gt;
&lt;br /&gt;
:''The official page [https://grass.osgeo.org/download/linux/ GRASS GIS Download for GNU/Linux]''&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
A binary version of GRASS is available from the apt repository. As root type:&lt;br /&gt;
&lt;br /&gt;
  apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
This is the easiest way to install GRASS on Debian. If you choose to install a binary version manually from the main web site, be sure to follow the instructions for making symlinks found as a note to the [[http://grass.osgeo.org/grass-stable/binary/linux/snapshot/ 7.x stable weekly snapshot]] release.&lt;br /&gt;
&lt;br /&gt;
==== DebianGIS ====&lt;br /&gt;
&lt;br /&gt;
There is also the wonderful [https://wiki.debian.org/DebianGis DebianGIS] project which has a more recent GRASS version with its related packages. Read here for more [[GRASS in Debian |details]]&lt;br /&gt;
&lt;br /&gt;
==== Compiling GRASS from source ====&lt;br /&gt;
&lt;br /&gt;
* See [[Compile and Install]] of Source Code&lt;br /&gt;
&lt;br /&gt;
=== Installation on Fedora ===&lt;br /&gt;
&lt;br /&gt;
[https://admin.fedoraproject.org/pkgdb/acls/name/grass Fedoraproject] provides RPM-packages for stable releases prepared to install on Fedora systems:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 sudo dnf install grass grass-gui&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mageia ===&lt;br /&gt;
&lt;br /&gt;
* [https://madb.mageia.org/package/show/name/grass/ Mageia] provides PROJ/GDAL/GRASS RPMs:&lt;br /&gt;
&lt;br /&gt;
  urpmi grass&lt;br /&gt;
&lt;br /&gt;
=== openSUSE ===&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/package/show/Application:Geo/grass openSUSE] provides GRASS and related RPM-packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo zypper refresh&lt;br /&gt;
sudo zypper install grass7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, one can use the '''One-Click installer''':&lt;br /&gt;
https://software.opensuse.org/package/grass&lt;br /&gt;
&lt;br /&gt;
=== Red Hat Enterprise Linux (RHEL, CentOS and EPEL) ===&lt;br /&gt;
&lt;br /&gt;
* [https://src.fedoraproject.org/rpms/grass Fedora] offers GRASS and related binaries for CentOS and EPEL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 dnf install grass&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
GRASS Binaries are available from apt/synaptic. From a terminal type:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
or alternatively, search for and install these packages from Synaptic. This is the easy way to get GRASS on your system. Even if you choose to install binaries from another source, you may want to install this version just so that all (most) dependencies are installed as painlessly as possible.&lt;br /&gt;
&lt;br /&gt;
To get the latest version of GRASS on Ubuntu, compile the code from source. See the [[Compile and Install]] section for a shell script that makes this easy.&lt;br /&gt;
&lt;br /&gt;
== MacOS ==&lt;br /&gt;
&lt;br /&gt;
Precompiled GRASS GIS 7 packages for macOS can be found [https://grass.osgeo.org/download/mac here]. These are distributed as zipped *.dmg packages. Opening the dmg prompts the user to simply drag and drop the app into the Applications folder. In fact, they '''must''' be installed into the Applications folder and may not run properly in other locations. &lt;br /&gt;
&lt;br /&gt;
A brief introduction to how to install via [https://www.macports.org MacPorts]: [[Compiling on macOS using MacPorts]].&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi ==&lt;br /&gt;
&lt;br /&gt;
:''See the main page [[Raspberry Pi]].''&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26431</id>
		<title>Installation Guide</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Installation_Guide&amp;diff=26431"/>
		<updated>2020-12-15T20:59:48Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: python added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
:''Note: For compilation of GRASS GIS source code, see [[Compile and Install]]''&lt;br /&gt;
This page explains the installation of GRASS binaries.&lt;br /&gt;
&lt;br /&gt;
GRASS GIS requires a workstation running either some flavor of UNIX conforming to POSIX standards like Linux, Mac OS X, Solaris, IRIX, or BSD or MS-Windows. It is also possible to run GRASS in MS Windows by using UNIX translation software such as [[Cygwin]] or natively with MingGW. Ideally, you should have at least 500 Mb for data and 512 Mb RAM. The source code package needs around 270 MB uncompressed. The resulting binaries may need between 20 MB and 180 MB depending on your platform. During a full compilation you may need temporarily up to 150MB including the source code.&lt;br /&gt;
&lt;br /&gt;
The [https://grass.osgeo.org/download/ Software Download Section] of the main GRASS web site contains the latest binaries and source code for all supported platforms. That site also has general directions for installing GRASS manually. However, installation is slightly different on each operating system. Here you can find user-contributed pointers for installing GRASS on specific platforms. In particular, many operating systems have package management utilities that can greatly simplify GRASS installation.&lt;br /&gt;
&lt;br /&gt;
== MS Windows ==&lt;br /&gt;
&lt;br /&gt;
:''The official download page [https://grass.osgeo.org/download/windows/ GRASS GIS for MS-Windows]''&lt;br /&gt;
&lt;br /&gt;
There are two main flavours:&lt;br /&gt;
* '''OSGeo4W installer''', for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
* '''Standalone winGRASS installer''': install GRASS GIS with the required support packages.&lt;br /&gt;
&lt;br /&gt;
=== OSGeo4W installer ===&lt;br /&gt;
&lt;br /&gt;
OSGeo4W is an installer for a broad set of open source geospatial software packages including GRASS GIS as well as many other packages (QGIS, GDAL/OGR, and more). Advantage: whenever you run again the OSGeo4W installer, it updates the existing installation. &lt;br /&gt;
&lt;br /&gt;
* Install using [https://trac.osgeo.org/osgeo4w/ OSGeo4W installer] which installs all dependencies as well (PROJ, GDAL, GEOS, Python, etc.)&lt;br /&gt;
&lt;br /&gt;
==== Launch the OSGeo4W installer ====&lt;br /&gt;
&lt;br /&gt;
Save the downloaded installer (consider to keep it for future updates) and run it as an ''administrator''.&lt;br /&gt;
You can select either the grass (stable) or grass-daily (development) packages to install.,&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_1.png|center|thumb|500px|Install with &amp;quot;Administrator&amp;quot; rights]]&lt;br /&gt;
&lt;br /&gt;
==== Variant A) Express installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Express installation&amp;quot; to select stable version, currently GRASS GIS 7.8.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_express.png|center|thumb|500px|Use &amp;quot;Express installation&amp;quot; to select stable version, currently GRASS GIS 7.8.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_express.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Variant B) Advanced installation ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_2_advanced.png|center|thumb|500px|Use &amp;quot;Advanced installation&amp;quot; to select development version, currently GRASS GIS 7.9.x]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Osgeo4w_3_advanced.png|center|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
=== winGRASS standalone installer ===&lt;br /&gt;
&lt;br /&gt;
* Native winGRASS package installer is available [http://grass.osgeo.org/grass-stable/binary/mswindows/native/ here]. See also [[WinGRASS Current Status]].&lt;br /&gt;
&lt;br /&gt;
=== QGIS with winGRASS installer ===&lt;br /&gt;
* QGIS including native winGRASS packages are provided [https://www.qgis.org/wiki/Download here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=== winGRASS/Cygwin installer ===&lt;br /&gt;
* winGRASS/Cygwin packages are provided [http://grass.osgeo.org/grass64/binary/mswindows/cygwin/ here] (requires [[Cygwin]] UNIX emulator, see there).&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GNU/Linux ==&lt;br /&gt;
&lt;br /&gt;
:''The official page [https://grass.osgeo.org/download/linux/ GRASS GIS Download for GNU/Linux]''&lt;br /&gt;
&lt;br /&gt;
=== Debian ===&lt;br /&gt;
&lt;br /&gt;
A binary version of GRASS is available from the apt repository. As root type:&lt;br /&gt;
&lt;br /&gt;
  apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
This is the easiest way to install GRASS on Debian. If you choose to install a binary version manually from the main web site, be sure to follow the instructions for making symlinks found as a note to the [[http://grass.osgeo.org/grass-stable/binary/linux/snapshot/ 7.x stable weekly snapshot]] release.&lt;br /&gt;
&lt;br /&gt;
==== DebianGIS ====&lt;br /&gt;
&lt;br /&gt;
There is also the wonderful [https://wiki.debian.org/DebianGis DebianGIS] project which has a more recent GRASS version with its related packages. Read here for more [[GRASS in Debian |details]]&lt;br /&gt;
&lt;br /&gt;
==== Compiling GRASS from source ====&lt;br /&gt;
&lt;br /&gt;
* See [[Compile and Install]] of Source Code&lt;br /&gt;
&lt;br /&gt;
=== Installation on Fedora ===&lt;br /&gt;
&lt;br /&gt;
[https://admin.fedoraproject.org/pkgdb/acls/name/grass Fedoraproject] provides RPM-packages for stable releases prepared to install on Fedora systems:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 sudo dnf install grass grass-gui&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mageia ===&lt;br /&gt;
&lt;br /&gt;
* [https://madb.mageia.org/package/show/name/grass/ Mageia] provides PROJ/GDAL/GRASS RPMs:&lt;br /&gt;
&lt;br /&gt;
  urpmi grass&lt;br /&gt;
&lt;br /&gt;
=== openSUSE ===&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/package/show/Application:Geo/grass openSUSE] provides GRASS and related RPM-packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo zypper refresh&lt;br /&gt;
sudo zypper install grass7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, one can use the '''One-Click installer''':&lt;br /&gt;
https://software.opensuse.org/package/grass&lt;br /&gt;
&lt;br /&gt;
=== Red Hat Enterprise Linux (RHEL, CentOS and EPEL) ===&lt;br /&gt;
&lt;br /&gt;
* [https://src.fedoraproject.org/rpms/grass Fedora] offers GRASS and related binaries for CentOS and EPEL&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 dnf install grass&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
GRASS Binaries are available from apt/synaptic. From a terminal type:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install grass grass-doc&lt;br /&gt;
&lt;br /&gt;
or alternatively, search for and install these packages from Synaptic. This is the easy way to get GRASS on your system. Even if you choose to install binaries from another source, you may want to install this version just so that all (most) dependencies are installed as painlessly as possible.&lt;br /&gt;
&lt;br /&gt;
To get the latest version of GRASS on Ubuntu, compile the code from source. See the [[Compile and Install]] section for a shell script that makes this easy.&lt;br /&gt;
&lt;br /&gt;
== MacOS ==&lt;br /&gt;
&lt;br /&gt;
Precompiled GRASS GIS 7 packages for macOS can be found [https://grass.osgeo.org/download/mac here]. These are distributed as zipped *.dmg packages. Opening the dmg prompts the user to simply drag and drop the app into the Applications folder. In fact, they '''must''' be installed into the Applications folder and may not run properly in other locations. &lt;br /&gt;
&lt;br /&gt;
A brief introduction to how to install via [https://www.macports.org MacPorts]: [[Compiling on macOS using MacPorts]].&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi ==&lt;br /&gt;
&lt;br /&gt;
:''See the main page [[Raspberry Pi]].''&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25968</id>
		<title>WinGRASS errors</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25968"/>
		<updated>2019-11-15T20:24:43Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* searching for dependency library issues with dependency walker */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS exits when started with g.list CalledModuleError and -1073741511 return code ==&lt;br /&gt;
&lt;br /&gt;
If GRASS GIS graphical user interface fails to start with error which ends like this:&lt;br /&gt;
&lt;br /&gt;
 grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error&lt;br /&gt;
 Process ended with non-zero return code -1073741511. See errors in the (error) output.&lt;br /&gt;
&lt;br /&gt;
you can try to run the following command manually from the command line (the &amp;quot;black&amp;quot; system command line which was started with GRASS GIS).&lt;br /&gt;
&lt;br /&gt;
 g.list -m type=raster&lt;br /&gt;
&lt;br /&gt;
If you run the command, you might get the following error:&lt;br /&gt;
&lt;br /&gt;
 The procedure entry point sqlite3_vfs_register could not be located in the dynamic link library sqlite3.dll.&lt;br /&gt;
&lt;br /&gt;
The issue is caused by different &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files accessible &amp;quot;on path&amp;quot; to all application. In case of GRASS GIS, some incompatible sqlite3 DLL is picked up by the system rather than using the correct one shipped with GRASS GIS.&lt;br /&gt;
&lt;br /&gt;
Solution: search for all &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files on your computer and &amp;lt;strike&amp;gt;remove&amp;lt;/strike&amp;gt; rename them one by one while trying at the same time to start GRASS GIS successfully. Note that removing some of the other &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files may break the applications which use them (say, while this is possible it has never actually been reported by any user). So, it is a good idea to just rename the DLL file in case you discover that another application needs that particular sqlite3 DLL and you have to reverse the process.&lt;br /&gt;
&lt;br /&gt;
== Legend and scale bar do not show any text ==&lt;br /&gt;
If you add legend (&amp;lt;tt&amp;gt;d.legend&amp;lt;/tt&amp;gt;) or scale bar (&amp;lt;tt&amp;gt;d.barscale&amp;lt;/tt&amp;gt;) to the Map Display and you see only the colors or the bar but no text:&lt;br /&gt;
&lt;br /&gt;
1. Try to run this command within a GRASS session:&lt;br /&gt;
    g.mkfontcap -o&lt;br /&gt;
&lt;br /&gt;
Redraw, the text should appear.&lt;br /&gt;
&lt;br /&gt;
2. Alternatively, in the menu go to ''Settings'' &amp;gt; ''Preferences'', then select ''Map Display'' tab. Use ''Set font'' button to set ''Default font for GRASS displays''. From the list choose &amp;lt;tt&amp;gt;arial&amp;lt;/tt&amp;gt; or another font you wish to use.&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS (winGRASS) exits immediately after I start it complaining about MSVCR DLL ==&lt;br /&gt;
&lt;br /&gt;
'''''Problem: WinGRASS complains about a missing MSVCR71.dll, MSCVP100.dll or similar on startup or exits immediately.'''''&lt;br /&gt;
&lt;br /&gt;
First note that GRASS GIS 6.4.3 and later '''suggest to install the needed &amp;quot;Important Microsoft runtime libraries&amp;quot; already during the installation process'' (on the same install wizard page offering to download sample datasets), so you should make sure that you check this option during installation. If you are sure about that or the step ended with error (e.g. when proxy settings were not recognized), follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
=== Solution A ===&lt;br /&gt;
&lt;br /&gt;
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].&lt;br /&gt;
&lt;br /&gt;
If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=5555 download it here].&lt;br /&gt;
&lt;br /&gt;
=== Solution B ===&lt;br /&gt;
&lt;br /&gt;
If the above ''Solution A'' does not help, or ends with an error, or if it says that you already have everything, you can reproduce steps which the installer is doing:&lt;br /&gt;
# You do not need to uninstall GRASS GIS to fix it. But be sure to close any GRASS windows you have still open.&lt;br /&gt;
# Download [http://download.osgeo.org/osgeo4w/x86/release/msvcrt/msvcrt-1.0.1-12.tar.bz2 msvcrt-1.0.1-12.tar.bz2 archive]&lt;br /&gt;
# Uncompress the archive. Note that it is &amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt;, so to uncompress it use [http://www.7-zip.org 7-Zip] or Winzip or something else that can handle it. It will unzip 3 folders. Keep those 3 folders together (it doesn't matter where).&lt;br /&gt;
# Open the &amp;quot;bin&amp;quot; folder (it is in one of the 3 folders from above) and run the following programs (just double click on them) in the indicated order, following the directions in each wizard:&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2005_x86.exe&amp;lt;/tt&amp;gt; (first screen might be in German, just click left button (&amp;quot;Ja&amp;quot;); then it switches to English)&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2008_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2010_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Once you installed each of these programs, copy the following files (they are in the same &amp;quot;bin&amp;quot; folder) to the &amp;lt;tt&amp;gt;&amp;quot;extrabin&amp;quot;&amp;lt;/tt&amp;gt; folder in the GRASS GIS installation directory (the one you chose during the installation):&lt;br /&gt;
#* &amp;lt;tt&amp;gt;msvcp60.dll, msvcp70.dll, msvcp71.dll, msvcr71.dll, msvcrt.dll&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; So: paste them into e.g. &amp;lt;tt&amp;gt;C:\Program Files (x86)\GRASS GIS 7.0.0beta3\extrabin\&amp;lt;/tt&amp;gt; (assuming you used the default install location).&lt;br /&gt;
# Try GRASS GIS again! It should be running now. If not make sure that you have tried all the steps and try again. If this still does not help, please write to the [http://lists.osgeo.org/pipermail/grass-user/ grass-user] mailing list.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;ImportError: cannot import name MAXREPEAT&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4 (or newer 2.7.x), instead of 2.7.2, solves the problem.&lt;br /&gt;
&lt;br /&gt;
A variant of the problem is also seen with &amp;quot;import re&amp;quot; appearing in the error message. The solution is the same: upgrade the system-wide installed version.&lt;br /&gt;
&lt;br /&gt;
Note that you can also try to remove the system-wide installation but this has a higher risk of breaking some (part) other applciation which depends on the system-wide Python.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 63 could not be located in the dynamic link libexpat.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;libexpat.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 32 could not be located in the dynamic link library proj.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;proj.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== The winGRASS user interface shows up in the wrong language for me! ==&lt;br /&gt;
&lt;br /&gt;
MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.&lt;br /&gt;
&lt;br /&gt;
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==&lt;br /&gt;
&lt;br /&gt;
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;This application has failed to start because libintl3.dll was not found&amp;quot;. (or libiconv2.dll and/or regex2.dll) ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling of the &amp;quot;msys&amp;quot; package in the OSGeo4W installer will bring it back.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;libfreetype-6.dll not installed&amp;quot; (similar wording) ==&lt;br /&gt;
&lt;br /&gt;
You may need to install &amp;quot;libfreetype-6.dll&amp;quot; on your system. For this, launch the OSGeo4W Network Installer &amp;gt; Advanced Install, type freetype in the search box and do the freetype packages installation.&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a GISDBASE not defined error ==&lt;br /&gt;
&lt;br /&gt;
Maybe there is junk in the GRASS session configuration file. To see if this is true and to remove the issue. Rename configuration and a new one will be created next time you run GRASS GIS. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Find where &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; directory is; usually it is &amp;lt;tt&amp;gt;C:\Users\&amp;lt;username&amp;gt;\AppData&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** Note that &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; is a hidden folder&lt;br /&gt;
* Find the GRASS session configuration file.&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS6\grassrc6&amp;lt;/tt&amp;gt; for GRASS GIS 6&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS7\rc&amp;lt;/tt&amp;gt; for GRASS GIS 7&lt;br /&gt;
* Rename session configuration file, e.g. to &amp;lt;tt&amp;gt;grassrc6.old&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rc.old&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Now restart GRASS GIS and the error should be gone (if it was caused by bad configuration file).&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a IOerror: [Errno 2] No such file or directory : 'nul' ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' At startup, I get&lt;br /&gt;
  nul=open &amp;lt;os.devnull, 'w'&amp;gt;&lt;br /&gt;
  IOerror: [Errno 2] No such file or directory : 'nul'&lt;br /&gt;
&lt;br /&gt;
'''A:''' Apparently, it's possible for the service implementing the null device ('nul' pseudo-file) to be stopped or to malfunction.&lt;br /&gt;
&lt;br /&gt;
The status can be checked via the control panel. Start the Device Manager (Control Panel &amp;gt; Hardware and Sound &amp;gt; Device Manager), select View &amp;gt; Show hidden devices, then under Non-Plug and Play Drivers, there should be an entry for &amp;quot;Null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The corresponding registry key is&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null&lt;br /&gt;
&lt;br /&gt;
The Start and Type values should both be 1.&lt;br /&gt;
&lt;br /&gt;
== ERROR: G_realloc: unable to allocate xxx bytes of memory at ... ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' When processing a large dataset, I get something like&lt;br /&gt;
&lt;br /&gt;
  Current region rows: rrrrr, cols: ccccc&lt;br /&gt;
  ERROR: G_realloc: unable to allocate XXX bytes of memory at ...&lt;br /&gt;
&lt;br /&gt;
'''A:''' In general GRASS GIS 7 is able to manage huge datasets in the multi-GB size. For hints, see [[Large raster data processing]]&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;Process ended with non-zero return code -1073741571&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This error message may indicate that the [[Computational region]] region is containing too many pixels.&lt;br /&gt;
&lt;br /&gt;
Background: according to [http://stackoverflow.com/a/26311584/452464 StackOverflow] this number &amp;quot;''is the signed integer representation of Microsoft's 'stack overflow/stack exhaustion' error code 0xC00000FD.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To verify:&lt;br /&gt;
  g.region -p&lt;br /&gt;
&lt;br /&gt;
The mount of &amp;quot;cells&amp;quot; main exceed that being manageable by your computer: in case if this error message the number of rows/columns is likely too high. Either reduce the extent or lower the resolution.&lt;br /&gt;
&lt;br /&gt;
== startup of winGRASS and wxGUI very slow/freezed ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' The startup, location wizzard and wxGUI of winGRASS is very slow, how come?&lt;br /&gt;
&lt;br /&gt;
'''A:''' Some firewall/anti-virus software may be very restrictive regarding new winGRASS version; just update the rules of the firewall/anti-virus software; as all winGRASS release packages are tested for malicious code/virus, they are considered to be secure when originating from the GRASS GIS Web site hosted at OSGeo.&lt;br /&gt;
&lt;br /&gt;
== GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails with an error that an entry point in the sqlite3 dll can't be found, then it is very likely that there is another SQLite library in %PATH% on that windows machine.&lt;br /&gt;
&lt;br /&gt;
First steps are:&lt;br /&gt;
&lt;br /&gt;
* typing in a windows console: where &amp;quot;$path:sqlite3*&amp;quot;&lt;br /&gt;
* search in C:\Windows in the explorer for sqlite3*&lt;br /&gt;
&lt;br /&gt;
Windows operating systems don't install natively a SQLite dll in any directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
If one of results of the steps above are positive, another software installed the dll in a directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
For a successful installation, following steps should be done:&lt;br /&gt;
&lt;br /&gt;
* rename the found dll (e.g. in C:\Windows\System32\sqlite3.dll) to something like xxxsqlite3.dll&lt;br /&gt;
* check if installation of winGRASS (OSGeo4W or standalone) works&lt;br /&gt;
* if it works, then the software which installed the dll in %PATH% will be broken&lt;br /&gt;
* start other installed software on that machine step by step and see which one is now broken&lt;br /&gt;
* if the broken software is found, move xxxsqlite3.dll to the installation directory of that software (e.g. e.g. c:\Programs\YourSoftwareBreakingGrass) and rename it back to sqlite3.dll&lt;br /&gt;
&lt;br /&gt;
== searching for dependency library issues with dependency walker ==&lt;br /&gt;
&lt;br /&gt;
* Download [http://www.dependencywalker.com/ dependency walker] for your system&lt;br /&gt;
* add following lines to the winGRASS startup script, e.g. C:\OSGeo4W64\bin\grass78.bat&lt;br /&gt;
&lt;br /&gt;
  rem&lt;br /&gt;
  rem Set environmental variables&lt;br /&gt;
  rem&lt;br /&gt;
  call &amp;quot;%~dp0\o4w_env.bat&amp;quot;&lt;br /&gt;
  call py3_env.bat&lt;br /&gt;
  call &amp;quot;%OSGEO4W_ROOT%\apps\grass\grass78\etc\env.bat&amp;quot;&lt;br /&gt;
  @echo off&lt;br /&gt;
  rem do a dependency walk&lt;br /&gt;
  rem add these lines&lt;br /&gt;
  for %%d in (%GISBASE%\lib\*) do depends /c /f:1 /ot:%APPDATA%\GRASS7\depwalk_lib.log %%d&lt;br /&gt;
  for %%e in (%GISBASE%\bin\*) do depends /c /f:1 /ot:%APPDATA%\GRASS7\depwalk_bin.log %%e&lt;br /&gt;
  &lt;br /&gt;
  rem&lt;br /&gt;
  rem Launch GRASS GIS&lt;br /&gt;
  rem&lt;br /&gt;
  &amp;quot;%GRASS_PYTHON%&amp;quot; &amp;quot;%GISBASE%\etc\grass78.py&amp;quot; %*&lt;br /&gt;
&lt;br /&gt;
* start OSGeo4W winGRASS session and wait some minutes while dependenxy walker is working&lt;br /&gt;
* go to the windows folder ''%APPDATA%\GRASS7\'', e.g. C:\Users\YourUsername\AppData\Roaming\GRASS7&lt;br /&gt;
* check the 2 log files with a text editor for the library name causing issues, e.g. for gdal300.dll&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[WinGRASS Current Status#Known_Issues|Known Issues in winGRASS]]&lt;br /&gt;
* [[MacOSX GRASS errors]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: winGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25967</id>
		<title>WinGRASS errors</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25967"/>
		<updated>2019-11-15T20:20:17Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* searching for dependency library issues with dependency walker */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS exits when started with g.list CalledModuleError and -1073741511 return code ==&lt;br /&gt;
&lt;br /&gt;
If GRASS GIS graphical user interface fails to start with error which ends like this:&lt;br /&gt;
&lt;br /&gt;
 grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error&lt;br /&gt;
 Process ended with non-zero return code -1073741511. See errors in the (error) output.&lt;br /&gt;
&lt;br /&gt;
you can try to run the following command manually from the command line (the &amp;quot;black&amp;quot; system command line which was started with GRASS GIS).&lt;br /&gt;
&lt;br /&gt;
 g.list -m type=raster&lt;br /&gt;
&lt;br /&gt;
If you run the command, you might get the following error:&lt;br /&gt;
&lt;br /&gt;
 The procedure entry point sqlite3_vfs_register could not be located in the dynamic link library sqlite3.dll.&lt;br /&gt;
&lt;br /&gt;
The issue is caused by different &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files accessible &amp;quot;on path&amp;quot; to all application. In case of GRASS GIS, some incompatible sqlite3 DLL is picked up by the system rather than using the correct one shipped with GRASS GIS.&lt;br /&gt;
&lt;br /&gt;
Solution: search for all &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files on your computer and &amp;lt;strike&amp;gt;remove&amp;lt;/strike&amp;gt; rename them one by one while trying at the same time to start GRASS GIS successfully. Note that removing some of the other &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files may break the applications which use them (say, while this is possible it has never actually been reported by any user). So, it is a good idea to just rename the DLL file in case you discover that another application needs that particular sqlite3 DLL and you have to reverse the process.&lt;br /&gt;
&lt;br /&gt;
== Legend and scale bar do not show any text ==&lt;br /&gt;
If you add legend (&amp;lt;tt&amp;gt;d.legend&amp;lt;/tt&amp;gt;) or scale bar (&amp;lt;tt&amp;gt;d.barscale&amp;lt;/tt&amp;gt;) to the Map Display and you see only the colors or the bar but no text:&lt;br /&gt;
&lt;br /&gt;
1. Try to run this command within a GRASS session:&lt;br /&gt;
    g.mkfontcap -o&lt;br /&gt;
&lt;br /&gt;
Redraw, the text should appear.&lt;br /&gt;
&lt;br /&gt;
2. Alternatively, in the menu go to ''Settings'' &amp;gt; ''Preferences'', then select ''Map Display'' tab. Use ''Set font'' button to set ''Default font for GRASS displays''. From the list choose &amp;lt;tt&amp;gt;arial&amp;lt;/tt&amp;gt; or another font you wish to use.&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS (winGRASS) exits immediately after I start it complaining about MSVCR DLL ==&lt;br /&gt;
&lt;br /&gt;
'''''Problem: WinGRASS complains about a missing MSVCR71.dll, MSCVP100.dll or similar on startup or exits immediately.'''''&lt;br /&gt;
&lt;br /&gt;
First note that GRASS GIS 6.4.3 and later '''suggest to install the needed &amp;quot;Important Microsoft runtime libraries&amp;quot; already during the installation process'' (on the same install wizard page offering to download sample datasets), so you should make sure that you check this option during installation. If you are sure about that or the step ended with error (e.g. when proxy settings were not recognized), follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
=== Solution A ===&lt;br /&gt;
&lt;br /&gt;
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].&lt;br /&gt;
&lt;br /&gt;
If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=5555 download it here].&lt;br /&gt;
&lt;br /&gt;
=== Solution B ===&lt;br /&gt;
&lt;br /&gt;
If the above ''Solution A'' does not help, or ends with an error, or if it says that you already have everything, you can reproduce steps which the installer is doing:&lt;br /&gt;
# You do not need to uninstall GRASS GIS to fix it. But be sure to close any GRASS windows you have still open.&lt;br /&gt;
# Download [http://download.osgeo.org/osgeo4w/x86/release/msvcrt/msvcrt-1.0.1-12.tar.bz2 msvcrt-1.0.1-12.tar.bz2 archive]&lt;br /&gt;
# Uncompress the archive. Note that it is &amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt;, so to uncompress it use [http://www.7-zip.org 7-Zip] or Winzip or something else that can handle it. It will unzip 3 folders. Keep those 3 folders together (it doesn't matter where).&lt;br /&gt;
# Open the &amp;quot;bin&amp;quot; folder (it is in one of the 3 folders from above) and run the following programs (just double click on them) in the indicated order, following the directions in each wizard:&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2005_x86.exe&amp;lt;/tt&amp;gt; (first screen might be in German, just click left button (&amp;quot;Ja&amp;quot;); then it switches to English)&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2008_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2010_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Once you installed each of these programs, copy the following files (they are in the same &amp;quot;bin&amp;quot; folder) to the &amp;lt;tt&amp;gt;&amp;quot;extrabin&amp;quot;&amp;lt;/tt&amp;gt; folder in the GRASS GIS installation directory (the one you chose during the installation):&lt;br /&gt;
#* &amp;lt;tt&amp;gt;msvcp60.dll, msvcp70.dll, msvcp71.dll, msvcr71.dll, msvcrt.dll&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; So: paste them into e.g. &amp;lt;tt&amp;gt;C:\Program Files (x86)\GRASS GIS 7.0.0beta3\extrabin\&amp;lt;/tt&amp;gt; (assuming you used the default install location).&lt;br /&gt;
# Try GRASS GIS again! It should be running now. If not make sure that you have tried all the steps and try again. If this still does not help, please write to the [http://lists.osgeo.org/pipermail/grass-user/ grass-user] mailing list.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;ImportError: cannot import name MAXREPEAT&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4 (or newer 2.7.x), instead of 2.7.2, solves the problem.&lt;br /&gt;
&lt;br /&gt;
A variant of the problem is also seen with &amp;quot;import re&amp;quot; appearing in the error message. The solution is the same: upgrade the system-wide installed version.&lt;br /&gt;
&lt;br /&gt;
Note that you can also try to remove the system-wide installation but this has a higher risk of breaking some (part) other applciation which depends on the system-wide Python.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 63 could not be located in the dynamic link libexpat.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;libexpat.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 32 could not be located in the dynamic link library proj.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;proj.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== The winGRASS user interface shows up in the wrong language for me! ==&lt;br /&gt;
&lt;br /&gt;
MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.&lt;br /&gt;
&lt;br /&gt;
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==&lt;br /&gt;
&lt;br /&gt;
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;This application has failed to start because libintl3.dll was not found&amp;quot;. (or libiconv2.dll and/or regex2.dll) ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling of the &amp;quot;msys&amp;quot; package in the OSGeo4W installer will bring it back.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;libfreetype-6.dll not installed&amp;quot; (similar wording) ==&lt;br /&gt;
&lt;br /&gt;
You may need to install &amp;quot;libfreetype-6.dll&amp;quot; on your system. For this, launch the OSGeo4W Network Installer &amp;gt; Advanced Install, type freetype in the search box and do the freetype packages installation.&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a GISDBASE not defined error ==&lt;br /&gt;
&lt;br /&gt;
Maybe there is junk in the GRASS session configuration file. To see if this is true and to remove the issue. Rename configuration and a new one will be created next time you run GRASS GIS. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Find where &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; directory is; usually it is &amp;lt;tt&amp;gt;C:\Users\&amp;lt;username&amp;gt;\AppData&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** Note that &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; is a hidden folder&lt;br /&gt;
* Find the GRASS session configuration file.&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS6\grassrc6&amp;lt;/tt&amp;gt; for GRASS GIS 6&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS7\rc&amp;lt;/tt&amp;gt; for GRASS GIS 7&lt;br /&gt;
* Rename session configuration file, e.g. to &amp;lt;tt&amp;gt;grassrc6.old&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rc.old&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Now restart GRASS GIS and the error should be gone (if it was caused by bad configuration file).&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a IOerror: [Errno 2] No such file or directory : 'nul' ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' At startup, I get&lt;br /&gt;
  nul=open &amp;lt;os.devnull, 'w'&amp;gt;&lt;br /&gt;
  IOerror: [Errno 2] No such file or directory : 'nul'&lt;br /&gt;
&lt;br /&gt;
'''A:''' Apparently, it's possible for the service implementing the null device ('nul' pseudo-file) to be stopped or to malfunction.&lt;br /&gt;
&lt;br /&gt;
The status can be checked via the control panel. Start the Device Manager (Control Panel &amp;gt; Hardware and Sound &amp;gt; Device Manager), select View &amp;gt; Show hidden devices, then under Non-Plug and Play Drivers, there should be an entry for &amp;quot;Null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The corresponding registry key is&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null&lt;br /&gt;
&lt;br /&gt;
The Start and Type values should both be 1.&lt;br /&gt;
&lt;br /&gt;
== ERROR: G_realloc: unable to allocate xxx bytes of memory at ... ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' When processing a large dataset, I get something like&lt;br /&gt;
&lt;br /&gt;
  Current region rows: rrrrr, cols: ccccc&lt;br /&gt;
  ERROR: G_realloc: unable to allocate XXX bytes of memory at ...&lt;br /&gt;
&lt;br /&gt;
'''A:''' In general GRASS GIS 7 is able to manage huge datasets in the multi-GB size. For hints, see [[Large raster data processing]]&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;Process ended with non-zero return code -1073741571&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This error message may indicate that the [[Computational region]] region is containing too many pixels.&lt;br /&gt;
&lt;br /&gt;
Background: according to [http://stackoverflow.com/a/26311584/452464 StackOverflow] this number &amp;quot;''is the signed integer representation of Microsoft's 'stack overflow/stack exhaustion' error code 0xC00000FD.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To verify:&lt;br /&gt;
  g.region -p&lt;br /&gt;
&lt;br /&gt;
The mount of &amp;quot;cells&amp;quot; main exceed that being manageable by your computer: in case if this error message the number of rows/columns is likely too high. Either reduce the extent or lower the resolution.&lt;br /&gt;
&lt;br /&gt;
== startup of winGRASS and wxGUI very slow/freezed ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' The startup, location wizzard and wxGUI of winGRASS is very slow, how come?&lt;br /&gt;
&lt;br /&gt;
'''A:''' Some firewall/anti-virus software may be very restrictive regarding new winGRASS version; just update the rules of the firewall/anti-virus software; as all winGRASS release packages are tested for malicious code/virus, they are considered to be secure when originating from the GRASS GIS Web site hosted at OSGeo.&lt;br /&gt;
&lt;br /&gt;
== GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails with an error that an entry point in the sqlite3 dll can't be found, then it is very likely that there is another SQLite library in %PATH% on that windows machine.&lt;br /&gt;
&lt;br /&gt;
First steps are:&lt;br /&gt;
&lt;br /&gt;
* typing in a windows console: where &amp;quot;$path:sqlite3*&amp;quot;&lt;br /&gt;
* search in C:\Windows in the explorer for sqlite3*&lt;br /&gt;
&lt;br /&gt;
Windows operating systems don't install natively a SQLite dll in any directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
If one of results of the steps above are positive, another software installed the dll in a directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
For a successful installation, following steps should be done:&lt;br /&gt;
&lt;br /&gt;
* rename the found dll (e.g. in C:\Windows\System32\sqlite3.dll) to something like xxxsqlite3.dll&lt;br /&gt;
* check if installation of winGRASS (OSGeo4W or standalone) works&lt;br /&gt;
* if it works, then the software which installed the dll in %PATH% will be broken&lt;br /&gt;
* start other installed software on that machine step by step and see which one is now broken&lt;br /&gt;
* if the broken software is found, move xxxsqlite3.dll to the installation directory of that software (e.g. e.g. c:\Programs\YourSoftwareBreakingGrass) and rename it back to sqlite3.dll&lt;br /&gt;
&lt;br /&gt;
== searching for dependency library issues with dependency walker ==&lt;br /&gt;
&lt;br /&gt;
* Download [http://www.dependencywalker.com/ dependency walker] for your system&lt;br /&gt;
* add following lines to the winGRASS startup script, e.g. C:\OSGeo4W64\bin\grass78.bat&lt;br /&gt;
&lt;br /&gt;
  rem&lt;br /&gt;
  rem Set environmental variables&lt;br /&gt;
  rem&lt;br /&gt;
  call &amp;quot;%~dp0\o4w_env.bat&amp;quot;&lt;br /&gt;
  call py3_env.bat&lt;br /&gt;
  call &amp;quot;%OSGEO4W_ROOT%\apps\grass\grass78\etc\env.bat&amp;quot;&lt;br /&gt;
  @echo off&lt;br /&gt;
  rem do a dependency walk&lt;br /&gt;
  rem add these lines&lt;br /&gt;
  for %%d in (%GISBASE%\lib\*) do depends /c /f:1 /ot:%APPDATA%\GRASS7\depwalk_lib.log %%d&lt;br /&gt;
  for %%e in (%GISBASE%\bin\*) do depends /c /f:1 /ot:%APPDATA%\GRASS7\depwalk_bin.log %%e&lt;br /&gt;
  &lt;br /&gt;
  rem&lt;br /&gt;
  rem Launch GRASS GIS&lt;br /&gt;
  rem&lt;br /&gt;
  &amp;quot;%GRASS_PYTHON%&amp;quot; &amp;quot;%GISBASE%\etc\grass78.py&amp;quot; %*&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[WinGRASS Current Status#Known_Issues|Known Issues in winGRASS]]&lt;br /&gt;
* [[MacOSX GRASS errors]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: winGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25966</id>
		<title>WinGRASS errors</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25966"/>
		<updated>2019-11-15T20:19:40Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS exits when started with g.list CalledModuleError and -1073741511 return code ==&lt;br /&gt;
&lt;br /&gt;
If GRASS GIS graphical user interface fails to start with error which ends like this:&lt;br /&gt;
&lt;br /&gt;
 grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error&lt;br /&gt;
 Process ended with non-zero return code -1073741511. See errors in the (error) output.&lt;br /&gt;
&lt;br /&gt;
you can try to run the following command manually from the command line (the &amp;quot;black&amp;quot; system command line which was started with GRASS GIS).&lt;br /&gt;
&lt;br /&gt;
 g.list -m type=raster&lt;br /&gt;
&lt;br /&gt;
If you run the command, you might get the following error:&lt;br /&gt;
&lt;br /&gt;
 The procedure entry point sqlite3_vfs_register could not be located in the dynamic link library sqlite3.dll.&lt;br /&gt;
&lt;br /&gt;
The issue is caused by different &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files accessible &amp;quot;on path&amp;quot; to all application. In case of GRASS GIS, some incompatible sqlite3 DLL is picked up by the system rather than using the correct one shipped with GRASS GIS.&lt;br /&gt;
&lt;br /&gt;
Solution: search for all &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files on your computer and &amp;lt;strike&amp;gt;remove&amp;lt;/strike&amp;gt; rename them one by one while trying at the same time to start GRASS GIS successfully. Note that removing some of the other &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files may break the applications which use them (say, while this is possible it has never actually been reported by any user). So, it is a good idea to just rename the DLL file in case you discover that another application needs that particular sqlite3 DLL and you have to reverse the process.&lt;br /&gt;
&lt;br /&gt;
== Legend and scale bar do not show any text ==&lt;br /&gt;
If you add legend (&amp;lt;tt&amp;gt;d.legend&amp;lt;/tt&amp;gt;) or scale bar (&amp;lt;tt&amp;gt;d.barscale&amp;lt;/tt&amp;gt;) to the Map Display and you see only the colors or the bar but no text:&lt;br /&gt;
&lt;br /&gt;
1. Try to run this command within a GRASS session:&lt;br /&gt;
    g.mkfontcap -o&lt;br /&gt;
&lt;br /&gt;
Redraw, the text should appear.&lt;br /&gt;
&lt;br /&gt;
2. Alternatively, in the menu go to ''Settings'' &amp;gt; ''Preferences'', then select ''Map Display'' tab. Use ''Set font'' button to set ''Default font for GRASS displays''. From the list choose &amp;lt;tt&amp;gt;arial&amp;lt;/tt&amp;gt; or another font you wish to use.&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS (winGRASS) exits immediately after I start it complaining about MSVCR DLL ==&lt;br /&gt;
&lt;br /&gt;
'''''Problem: WinGRASS complains about a missing MSVCR71.dll, MSCVP100.dll or similar on startup or exits immediately.'''''&lt;br /&gt;
&lt;br /&gt;
First note that GRASS GIS 6.4.3 and later '''suggest to install the needed &amp;quot;Important Microsoft runtime libraries&amp;quot; already during the installation process'' (on the same install wizard page offering to download sample datasets), so you should make sure that you check this option during installation. If you are sure about that or the step ended with error (e.g. when proxy settings were not recognized), follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
=== Solution A ===&lt;br /&gt;
&lt;br /&gt;
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].&lt;br /&gt;
&lt;br /&gt;
If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=5555 download it here].&lt;br /&gt;
&lt;br /&gt;
=== Solution B ===&lt;br /&gt;
&lt;br /&gt;
If the above ''Solution A'' does not help, or ends with an error, or if it says that you already have everything, you can reproduce steps which the installer is doing:&lt;br /&gt;
# You do not need to uninstall GRASS GIS to fix it. But be sure to close any GRASS windows you have still open.&lt;br /&gt;
# Download [http://download.osgeo.org/osgeo4w/x86/release/msvcrt/msvcrt-1.0.1-12.tar.bz2 msvcrt-1.0.1-12.tar.bz2 archive]&lt;br /&gt;
# Uncompress the archive. Note that it is &amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt;, so to uncompress it use [http://www.7-zip.org 7-Zip] or Winzip or something else that can handle it. It will unzip 3 folders. Keep those 3 folders together (it doesn't matter where).&lt;br /&gt;
# Open the &amp;quot;bin&amp;quot; folder (it is in one of the 3 folders from above) and run the following programs (just double click on them) in the indicated order, following the directions in each wizard:&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2005_x86.exe&amp;lt;/tt&amp;gt; (first screen might be in German, just click left button (&amp;quot;Ja&amp;quot;); then it switches to English)&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2008_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2010_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Once you installed each of these programs, copy the following files (they are in the same &amp;quot;bin&amp;quot; folder) to the &amp;lt;tt&amp;gt;&amp;quot;extrabin&amp;quot;&amp;lt;/tt&amp;gt; folder in the GRASS GIS installation directory (the one you chose during the installation):&lt;br /&gt;
#* &amp;lt;tt&amp;gt;msvcp60.dll, msvcp70.dll, msvcp71.dll, msvcr71.dll, msvcrt.dll&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; So: paste them into e.g. &amp;lt;tt&amp;gt;C:\Program Files (x86)\GRASS GIS 7.0.0beta3\extrabin\&amp;lt;/tt&amp;gt; (assuming you used the default install location).&lt;br /&gt;
# Try GRASS GIS again! It should be running now. If not make sure that you have tried all the steps and try again. If this still does not help, please write to the [http://lists.osgeo.org/pipermail/grass-user/ grass-user] mailing list.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;ImportError: cannot import name MAXREPEAT&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4 (or newer 2.7.x), instead of 2.7.2, solves the problem.&lt;br /&gt;
&lt;br /&gt;
A variant of the problem is also seen with &amp;quot;import re&amp;quot; appearing in the error message. The solution is the same: upgrade the system-wide installed version.&lt;br /&gt;
&lt;br /&gt;
Note that you can also try to remove the system-wide installation but this has a higher risk of breaking some (part) other applciation which depends on the system-wide Python.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 63 could not be located in the dynamic link libexpat.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;libexpat.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 32 could not be located in the dynamic link library proj.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;proj.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== The winGRASS user interface shows up in the wrong language for me! ==&lt;br /&gt;
&lt;br /&gt;
MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.&lt;br /&gt;
&lt;br /&gt;
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==&lt;br /&gt;
&lt;br /&gt;
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;This application has failed to start because libintl3.dll was not found&amp;quot;. (or libiconv2.dll and/or regex2.dll) ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling of the &amp;quot;msys&amp;quot; package in the OSGeo4W installer will bring it back.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;libfreetype-6.dll not installed&amp;quot; (similar wording) ==&lt;br /&gt;
&lt;br /&gt;
You may need to install &amp;quot;libfreetype-6.dll&amp;quot; on your system. For this, launch the OSGeo4W Network Installer &amp;gt; Advanced Install, type freetype in the search box and do the freetype packages installation.&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a GISDBASE not defined error ==&lt;br /&gt;
&lt;br /&gt;
Maybe there is junk in the GRASS session configuration file. To see if this is true and to remove the issue. Rename configuration and a new one will be created next time you run GRASS GIS. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Find where &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; directory is; usually it is &amp;lt;tt&amp;gt;C:\Users\&amp;lt;username&amp;gt;\AppData&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** Note that &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; is a hidden folder&lt;br /&gt;
* Find the GRASS session configuration file.&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS6\grassrc6&amp;lt;/tt&amp;gt; for GRASS GIS 6&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS7\rc&amp;lt;/tt&amp;gt; for GRASS GIS 7&lt;br /&gt;
* Rename session configuration file, e.g. to &amp;lt;tt&amp;gt;grassrc6.old&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rc.old&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Now restart GRASS GIS and the error should be gone (if it was caused by bad configuration file).&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a IOerror: [Errno 2] No such file or directory : 'nul' ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' At startup, I get&lt;br /&gt;
  nul=open &amp;lt;os.devnull, 'w'&amp;gt;&lt;br /&gt;
  IOerror: [Errno 2] No such file or directory : 'nul'&lt;br /&gt;
&lt;br /&gt;
'''A:''' Apparently, it's possible for the service implementing the null device ('nul' pseudo-file) to be stopped or to malfunction.&lt;br /&gt;
&lt;br /&gt;
The status can be checked via the control panel. Start the Device Manager (Control Panel &amp;gt; Hardware and Sound &amp;gt; Device Manager), select View &amp;gt; Show hidden devices, then under Non-Plug and Play Drivers, there should be an entry for &amp;quot;Null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The corresponding registry key is&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null&lt;br /&gt;
&lt;br /&gt;
The Start and Type values should both be 1.&lt;br /&gt;
&lt;br /&gt;
== ERROR: G_realloc: unable to allocate xxx bytes of memory at ... ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' When processing a large dataset, I get something like&lt;br /&gt;
&lt;br /&gt;
  Current region rows: rrrrr, cols: ccccc&lt;br /&gt;
  ERROR: G_realloc: unable to allocate XXX bytes of memory at ...&lt;br /&gt;
&lt;br /&gt;
'''A:''' In general GRASS GIS 7 is able to manage huge datasets in the multi-GB size. For hints, see [[Large raster data processing]]&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;Process ended with non-zero return code -1073741571&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This error message may indicate that the [[Computational region]] region is containing too many pixels.&lt;br /&gt;
&lt;br /&gt;
Background: according to [http://stackoverflow.com/a/26311584/452464 StackOverflow] this number &amp;quot;''is the signed integer representation of Microsoft's 'stack overflow/stack exhaustion' error code 0xC00000FD.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To verify:&lt;br /&gt;
  g.region -p&lt;br /&gt;
&lt;br /&gt;
The mount of &amp;quot;cells&amp;quot; main exceed that being manageable by your computer: in case if this error message the number of rows/columns is likely too high. Either reduce the extent or lower the resolution.&lt;br /&gt;
&lt;br /&gt;
== startup of winGRASS and wxGUI very slow/freezed ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' The startup, location wizzard and wxGUI of winGRASS is very slow, how come?&lt;br /&gt;
&lt;br /&gt;
'''A:''' Some firewall/anti-virus software may be very restrictive regarding new winGRASS version; just update the rules of the firewall/anti-virus software; as all winGRASS release packages are tested for malicious code/virus, they are considered to be secure when originating from the GRASS GIS Web site hosted at OSGeo.&lt;br /&gt;
&lt;br /&gt;
== GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails with an error that an entry point in the sqlite3 dll can't be found, then it is very likely that there is another SQLite library in %PATH% on that windows machine.&lt;br /&gt;
&lt;br /&gt;
First steps are:&lt;br /&gt;
&lt;br /&gt;
* typing in a windows console: where &amp;quot;$path:sqlite3*&amp;quot;&lt;br /&gt;
* search in C:\Windows in the explorer for sqlite3*&lt;br /&gt;
&lt;br /&gt;
Windows operating systems don't install natively a SQLite dll in any directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
If one of results of the steps above are positive, another software installed the dll in a directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
For a successful installation, following steps should be done:&lt;br /&gt;
&lt;br /&gt;
* rename the found dll (e.g. in C:\Windows\System32\sqlite3.dll) to something like xxxsqlite3.dll&lt;br /&gt;
* check if installation of winGRASS (OSGeo4W or standalone) works&lt;br /&gt;
* if it works, then the software which installed the dll in %PATH% will be broken&lt;br /&gt;
* start other installed software on that machine step by step and see which one is now broken&lt;br /&gt;
* if the broken software is found, move xxxsqlite3.dll to the installation directory of that software (e.g. e.g. c:\Programs\YourSoftwareBreakingGrass) and rename it back to sqlite3.dll&lt;br /&gt;
&lt;br /&gt;
== searching for dependency library issues with dependency walker ==&lt;br /&gt;
&lt;br /&gt;
* Download [http://www.dependencywalker.com/ dependency walker] for your system&lt;br /&gt;
* add following lines to the winGRASS startup script, e.g. C:\OSGeo4W64\bin\grass78.bat&lt;br /&gt;
&lt;br /&gt;
  rem&lt;br /&gt;
  rem Set environmental variables&lt;br /&gt;
  rem&lt;br /&gt;
  call &amp;quot;%~dp0\o4w_env.bat&amp;quot;&lt;br /&gt;
  call py3_env.bat&lt;br /&gt;
  call &amp;quot;%OSGEO4W_ROOT%\apps\grass\grass78\etc\env.bat&amp;quot;&lt;br /&gt;
  @echo off&lt;br /&gt;
&lt;br /&gt;
  rem do a dependency walk&lt;br /&gt;
  rem add these lines&lt;br /&gt;
  for %%d in (%GISBASE%\lib\*) do depends /c /f:1 /ot:%APPDATA%\GRASS7\depwalk_lib.log %%d&lt;br /&gt;
  for %%e in (%GISBASE%\bin\*) do depends /c /f:1 /ot:%APPDATA%\GRASS7\depwalk_bin.log %%e&lt;br /&gt;
  &lt;br /&gt;
  rem&lt;br /&gt;
  rem Launch GRASS GIS&lt;br /&gt;
  rem&lt;br /&gt;
  &amp;quot;%GRASS_PYTHON%&amp;quot; &amp;quot;%GISBASE%\etc\grass78.py&amp;quot; %*&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[WinGRASS Current Status#Known_Issues|Known Issues in winGRASS]]&lt;br /&gt;
* [[MacOSX GRASS errors]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: winGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25965</id>
		<title>WinGRASS errors</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25965"/>
		<updated>2019-11-15T20:18:35Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* searching for dependency library issues with dependency walker */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS exits when started with g.list CalledModuleError and -1073741511 return code ==&lt;br /&gt;
&lt;br /&gt;
If GRASS GIS graphical user interface fails to start with error which ends like this:&lt;br /&gt;
&lt;br /&gt;
 grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error&lt;br /&gt;
 Process ended with non-zero return code -1073741511. See errors in the (error) output.&lt;br /&gt;
&lt;br /&gt;
you can try to run the following command manually from the command line (the &amp;quot;black&amp;quot; system command line which was started with GRASS GIS).&lt;br /&gt;
&lt;br /&gt;
 g.list -m type=raster&lt;br /&gt;
&lt;br /&gt;
If you run the command, you might get the following error:&lt;br /&gt;
&lt;br /&gt;
 The procedure entry point sqlite3_vfs_register could not be located in the dynamic link library sqlite3.dll.&lt;br /&gt;
&lt;br /&gt;
The issue is caused by different &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files accessible &amp;quot;on path&amp;quot; to all application. In case of GRASS GIS, some incompatible sqlite3 DLL is picked up by the system rather than using the correct one shipped with GRASS GIS.&lt;br /&gt;
&lt;br /&gt;
Solution: search for all &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files on your computer and &amp;lt;strike&amp;gt;remove&amp;lt;/strike&amp;gt; rename them one by one while trying at the same time to start GRASS GIS successfully. Note that removing some of the other &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files may break the applications which use them (say, while this is possible it has never actually been reported by any user). So, it is a good idea to just rename the DLL file in case you discover that another application needs that particular sqlite3 DLL and you have to reverse the process.&lt;br /&gt;
&lt;br /&gt;
== Legend and scale bar do not show any text ==&lt;br /&gt;
If you add legend (&amp;lt;tt&amp;gt;d.legend&amp;lt;/tt&amp;gt;) or scale bar (&amp;lt;tt&amp;gt;d.barscale&amp;lt;/tt&amp;gt;) to the Map Display and you see only the colors or the bar but no text:&lt;br /&gt;
&lt;br /&gt;
1. Try to run this command within a GRASS session:&lt;br /&gt;
    g.mkfontcap -o&lt;br /&gt;
&lt;br /&gt;
Redraw, the text should appear.&lt;br /&gt;
&lt;br /&gt;
2. Alternatively, in the menu go to ''Settings'' &amp;gt; ''Preferences'', then select ''Map Display'' tab. Use ''Set font'' button to set ''Default font for GRASS displays''. From the list choose &amp;lt;tt&amp;gt;arial&amp;lt;/tt&amp;gt; or another font you wish to use.&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS (winGRASS) exits immediately after I start it complaining about MSVCR DLL ==&lt;br /&gt;
&lt;br /&gt;
'''''Problem: WinGRASS complains about a missing MSVCR71.dll, MSCVP100.dll or similar on startup or exits immediately.'''''&lt;br /&gt;
&lt;br /&gt;
First note that GRASS GIS 6.4.3 and later '''suggest to install the needed &amp;quot;Important Microsoft runtime libraries&amp;quot; already during the installation process'' (on the same install wizard page offering to download sample datasets), so you should make sure that you check this option during installation. If you are sure about that or the step ended with error (e.g. when proxy settings were not recognized), follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
=== Solution A ===&lt;br /&gt;
&lt;br /&gt;
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].&lt;br /&gt;
&lt;br /&gt;
If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=5555 download it here].&lt;br /&gt;
&lt;br /&gt;
=== Solution B ===&lt;br /&gt;
&lt;br /&gt;
If the above ''Solution A'' does not help, or ends with an error, or if it says that you already have everything, you can reproduce steps which the installer is doing:&lt;br /&gt;
# You do not need to uninstall GRASS GIS to fix it. But be sure to close any GRASS windows you have still open.&lt;br /&gt;
# Download [http://download.osgeo.org/osgeo4w/x86/release/msvcrt/msvcrt-1.0.1-12.tar.bz2 msvcrt-1.0.1-12.tar.bz2 archive]&lt;br /&gt;
# Uncompress the archive. Note that it is &amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt;, so to uncompress it use [http://www.7-zip.org 7-Zip] or Winzip or something else that can handle it. It will unzip 3 folders. Keep those 3 folders together (it doesn't matter where).&lt;br /&gt;
# Open the &amp;quot;bin&amp;quot; folder (it is in one of the 3 folders from above) and run the following programs (just double click on them) in the indicated order, following the directions in each wizard:&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2005_x86.exe&amp;lt;/tt&amp;gt; (first screen might be in German, just click left button (&amp;quot;Ja&amp;quot;); then it switches to English)&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2008_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2010_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Once you installed each of these programs, copy the following files (they are in the same &amp;quot;bin&amp;quot; folder) to the &amp;lt;tt&amp;gt;&amp;quot;extrabin&amp;quot;&amp;lt;/tt&amp;gt; folder in the GRASS GIS installation directory (the one you chose during the installation):&lt;br /&gt;
#* &amp;lt;tt&amp;gt;msvcp60.dll, msvcp70.dll, msvcp71.dll, msvcr71.dll, msvcrt.dll&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; So: paste them into e.g. &amp;lt;tt&amp;gt;C:\Program Files (x86)\GRASS GIS 7.0.0beta3\extrabin\&amp;lt;/tt&amp;gt; (assuming you used the default install location).&lt;br /&gt;
# Try GRASS GIS again! It should be running now. If not make sure that you have tried all the steps and try again. If this still does not help, please write to the [http://lists.osgeo.org/pipermail/grass-user/ grass-user] mailing list.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;ImportError: cannot import name MAXREPEAT&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4 (or newer 2.7.x), instead of 2.7.2, solves the problem.&lt;br /&gt;
&lt;br /&gt;
A variant of the problem is also seen with &amp;quot;import re&amp;quot; appearing in the error message. The solution is the same: upgrade the system-wide installed version.&lt;br /&gt;
&lt;br /&gt;
Note that you can also try to remove the system-wide installation but this has a higher risk of breaking some (part) other applciation which depends on the system-wide Python.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 63 could not be located in the dynamic link libexpat.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;libexpat.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 32 could not be located in the dynamic link library proj.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;proj.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== The winGRASS user interface shows up in the wrong language for me! ==&lt;br /&gt;
&lt;br /&gt;
MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.&lt;br /&gt;
&lt;br /&gt;
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==&lt;br /&gt;
&lt;br /&gt;
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;This application has failed to start because libintl3.dll was not found&amp;quot;. (or libiconv2.dll and/or regex2.dll) ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling of the &amp;quot;msys&amp;quot; package in the OSGeo4W installer will bring it back.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;libfreetype-6.dll not installed&amp;quot; (similar wording) ==&lt;br /&gt;
&lt;br /&gt;
You may need to install &amp;quot;libfreetype-6.dll&amp;quot; on your system. For this, launch the OSGeo4W Network Installer &amp;gt; Advanced Install, type freetype in the search box and do the freetype packages installation.&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a GISDBASE not defined error ==&lt;br /&gt;
&lt;br /&gt;
Maybe there is junk in the GRASS session configuration file. To see if this is true and to remove the issue. Rename configuration and a new one will be created next time you run GRASS GIS. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Find where &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; directory is; usually it is &amp;lt;tt&amp;gt;C:\Users\&amp;lt;username&amp;gt;\AppData&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** Note that &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; is a hidden folder&lt;br /&gt;
* Find the GRASS session configuration file.&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS6\grassrc6&amp;lt;/tt&amp;gt; for GRASS GIS 6&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS7\rc&amp;lt;/tt&amp;gt; for GRASS GIS 7&lt;br /&gt;
* Rename session configuration file, e.g. to &amp;lt;tt&amp;gt;grassrc6.old&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rc.old&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Now restart GRASS GIS and the error should be gone (if it was caused by bad configuration file).&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a IOerror: [Errno 2] No such file or directory : 'nul' ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' At startup, I get&lt;br /&gt;
  nul=open &amp;lt;os.devnull, 'w'&amp;gt;&lt;br /&gt;
  IOerror: [Errno 2] No such file or directory : 'nul'&lt;br /&gt;
&lt;br /&gt;
'''A:''' Apparently, it's possible for the service implementing the null device ('nul' pseudo-file) to be stopped or to malfunction.&lt;br /&gt;
&lt;br /&gt;
The status can be checked via the control panel. Start the Device Manager (Control Panel &amp;gt; Hardware and Sound &amp;gt; Device Manager), select View &amp;gt; Show hidden devices, then under Non-Plug and Play Drivers, there should be an entry for &amp;quot;Null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The corresponding registry key is&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null&lt;br /&gt;
&lt;br /&gt;
The Start and Type values should both be 1.&lt;br /&gt;
&lt;br /&gt;
== ERROR: G_realloc: unable to allocate xxx bytes of memory at ... ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' When processing a large dataset, I get something like&lt;br /&gt;
&lt;br /&gt;
  Current region rows: rrrrr, cols: ccccc&lt;br /&gt;
  ERROR: G_realloc: unable to allocate XXX bytes of memory at ...&lt;br /&gt;
&lt;br /&gt;
'''A:''' In general GRASS GIS 7 is able to manage huge datasets in the multi-GB size. For hints, see [[Large raster data processing]]&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;Process ended with non-zero return code -1073741571&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This error message may indicate that the [[Computational region]] region is containing too many pixels.&lt;br /&gt;
&lt;br /&gt;
Background: according to [http://stackoverflow.com/a/26311584/452464 StackOverflow] this number &amp;quot;''is the signed integer representation of Microsoft's 'stack overflow/stack exhaustion' error code 0xC00000FD.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To verify:&lt;br /&gt;
  g.region -p&lt;br /&gt;
&lt;br /&gt;
The mount of &amp;quot;cells&amp;quot; main exceed that being manageable by your computer: in case if this error message the number of rows/columns is likely too high. Either reduce the extent or lower the resolution.&lt;br /&gt;
&lt;br /&gt;
== startup of winGRASS and wxGUI very slow/freezed ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' The startup, location wizzard and wxGUI of winGRASS is very slow, how come?&lt;br /&gt;
&lt;br /&gt;
'''A:''' Some firewall/anti-virus software may be very restrictive regarding new winGRASS version; just update the rules of the firewall/anti-virus software; as all winGRASS release packages are tested for malicious code/virus, they are considered to be secure when originating from the GRASS GIS Web site hosted at OSGeo.&lt;br /&gt;
&lt;br /&gt;
== GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails with an error that an entry point in the sqlite3 dll can't be found, then it is very likely that there is another SQLite library in %PATH% on that windows machine.&lt;br /&gt;
&lt;br /&gt;
First steps are:&lt;br /&gt;
&lt;br /&gt;
* typing in a windows console: where &amp;quot;$path:sqlite3*&amp;quot;&lt;br /&gt;
* search in C:\Windows in the explorer for sqlite3*&lt;br /&gt;
&lt;br /&gt;
Windows operating systems don't install natively a SQLite dll in any directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
If one of results of the steps above are positive, another software installed the dll in a directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
For a successful installation, following steps should be done:&lt;br /&gt;
&lt;br /&gt;
* rename the found dll (e.g. in C:\Windows\System32\sqlite3.dll) to something like xxxsqlite3.dll&lt;br /&gt;
* check if installation of winGRASS (OSGeo4W or standalone) works&lt;br /&gt;
* if it works, then the software which installed the dll in %PATH% will be broken&lt;br /&gt;
* start other installed software on that machine step by step and see which one is now broken&lt;br /&gt;
* if the broken software is found, move xxxsqlite3.dll to the installation directory of that software (e.g. e.g. c:\Programs\YourSoftwareBreakingGrass) and rename it back to sqlite3.dll&lt;br /&gt;
&lt;br /&gt;
== searching for dependency library issues with dependency walker ==&lt;br /&gt;
&lt;br /&gt;
* Download [http://www.dependencywalker.com/ dependency walker] for your system&lt;br /&gt;
* add following lines to the winGRASS startup script, e.g. C:\OSGeo4W64\bin\grass78.bat&lt;br /&gt;
&lt;br /&gt;
rem&lt;br /&gt;
rem Set environmental variables&lt;br /&gt;
rem&lt;br /&gt;
call &amp;quot;%~dp0\o4w_env.bat&amp;quot;&lt;br /&gt;
call py3_env.bat&lt;br /&gt;
call &amp;quot;%OSGEO4W_ROOT%\apps\grass\grass78\etc\env.bat&amp;quot;&lt;br /&gt;
@echo off&lt;br /&gt;
&lt;br /&gt;
rem do a dependency walk&lt;br /&gt;
rem add these lines&lt;br /&gt;
for %%d in (%GISBASE%\lib\*) do depends /c /f:1 /ot:%APPDATA%\GRASS7\depwalk_lib.log %%d&lt;br /&gt;
for %%e in (%GISBASE%\bin\*) do depends /c /f:1 /ot:%APPDATA%\GRASS7\depwalk_bin.log %%e&lt;br /&gt;
&lt;br /&gt;
rem&lt;br /&gt;
rem Launch GRASS GIS&lt;br /&gt;
rem&lt;br /&gt;
&amp;quot;%GRASS_PYTHON%&amp;quot; &amp;quot;%GISBASE%\etc\grass78.py&amp;quot; %*&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[WinGRASS Current Status#Known_Issues|Known Issues in winGRASS]]&lt;br /&gt;
* [[MacOSX GRASS errors]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: winGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25964</id>
		<title>WinGRASS errors</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25964"/>
		<updated>2019-11-15T20:16:14Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* searching for dependency library issues with dependency walker */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS exits when started with g.list CalledModuleError and -1073741511 return code ==&lt;br /&gt;
&lt;br /&gt;
If GRASS GIS graphical user interface fails to start with error which ends like this:&lt;br /&gt;
&lt;br /&gt;
 grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error&lt;br /&gt;
 Process ended with non-zero return code -1073741511. See errors in the (error) output.&lt;br /&gt;
&lt;br /&gt;
you can try to run the following command manually from the command line (the &amp;quot;black&amp;quot; system command line which was started with GRASS GIS).&lt;br /&gt;
&lt;br /&gt;
 g.list -m type=raster&lt;br /&gt;
&lt;br /&gt;
If you run the command, you might get the following error:&lt;br /&gt;
&lt;br /&gt;
 The procedure entry point sqlite3_vfs_register could not be located in the dynamic link library sqlite3.dll.&lt;br /&gt;
&lt;br /&gt;
The issue is caused by different &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files accessible &amp;quot;on path&amp;quot; to all application. In case of GRASS GIS, some incompatible sqlite3 DLL is picked up by the system rather than using the correct one shipped with GRASS GIS.&lt;br /&gt;
&lt;br /&gt;
Solution: search for all &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files on your computer and &amp;lt;strike&amp;gt;remove&amp;lt;/strike&amp;gt; rename them one by one while trying at the same time to start GRASS GIS successfully. Note that removing some of the other &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files may break the applications which use them (say, while this is possible it has never actually been reported by any user). So, it is a good idea to just rename the DLL file in case you discover that another application needs that particular sqlite3 DLL and you have to reverse the process.&lt;br /&gt;
&lt;br /&gt;
== Legend and scale bar do not show any text ==&lt;br /&gt;
If you add legend (&amp;lt;tt&amp;gt;d.legend&amp;lt;/tt&amp;gt;) or scale bar (&amp;lt;tt&amp;gt;d.barscale&amp;lt;/tt&amp;gt;) to the Map Display and you see only the colors or the bar but no text:&lt;br /&gt;
&lt;br /&gt;
1. Try to run this command within a GRASS session:&lt;br /&gt;
    g.mkfontcap -o&lt;br /&gt;
&lt;br /&gt;
Redraw, the text should appear.&lt;br /&gt;
&lt;br /&gt;
2. Alternatively, in the menu go to ''Settings'' &amp;gt; ''Preferences'', then select ''Map Display'' tab. Use ''Set font'' button to set ''Default font for GRASS displays''. From the list choose &amp;lt;tt&amp;gt;arial&amp;lt;/tt&amp;gt; or another font you wish to use.&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS (winGRASS) exits immediately after I start it complaining about MSVCR DLL ==&lt;br /&gt;
&lt;br /&gt;
'''''Problem: WinGRASS complains about a missing MSVCR71.dll, MSCVP100.dll or similar on startup or exits immediately.'''''&lt;br /&gt;
&lt;br /&gt;
First note that GRASS GIS 6.4.3 and later '''suggest to install the needed &amp;quot;Important Microsoft runtime libraries&amp;quot; already during the installation process'' (on the same install wizard page offering to download sample datasets), so you should make sure that you check this option during installation. If you are sure about that or the step ended with error (e.g. when proxy settings were not recognized), follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
=== Solution A ===&lt;br /&gt;
&lt;br /&gt;
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].&lt;br /&gt;
&lt;br /&gt;
If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=5555 download it here].&lt;br /&gt;
&lt;br /&gt;
=== Solution B ===&lt;br /&gt;
&lt;br /&gt;
If the above ''Solution A'' does not help, or ends with an error, or if it says that you already have everything, you can reproduce steps which the installer is doing:&lt;br /&gt;
# You do not need to uninstall GRASS GIS to fix it. But be sure to close any GRASS windows you have still open.&lt;br /&gt;
# Download [http://download.osgeo.org/osgeo4w/x86/release/msvcrt/msvcrt-1.0.1-12.tar.bz2 msvcrt-1.0.1-12.tar.bz2 archive]&lt;br /&gt;
# Uncompress the archive. Note that it is &amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt;, so to uncompress it use [http://www.7-zip.org 7-Zip] or Winzip or something else that can handle it. It will unzip 3 folders. Keep those 3 folders together (it doesn't matter where).&lt;br /&gt;
# Open the &amp;quot;bin&amp;quot; folder (it is in one of the 3 folders from above) and run the following programs (just double click on them) in the indicated order, following the directions in each wizard:&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2005_x86.exe&amp;lt;/tt&amp;gt; (first screen might be in German, just click left button (&amp;quot;Ja&amp;quot;); then it switches to English)&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2008_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2010_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Once you installed each of these programs, copy the following files (they are in the same &amp;quot;bin&amp;quot; folder) to the &amp;lt;tt&amp;gt;&amp;quot;extrabin&amp;quot;&amp;lt;/tt&amp;gt; folder in the GRASS GIS installation directory (the one you chose during the installation):&lt;br /&gt;
#* &amp;lt;tt&amp;gt;msvcp60.dll, msvcp70.dll, msvcp71.dll, msvcr71.dll, msvcrt.dll&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; So: paste them into e.g. &amp;lt;tt&amp;gt;C:\Program Files (x86)\GRASS GIS 7.0.0beta3\extrabin\&amp;lt;/tt&amp;gt; (assuming you used the default install location).&lt;br /&gt;
# Try GRASS GIS again! It should be running now. If not make sure that you have tried all the steps and try again. If this still does not help, please write to the [http://lists.osgeo.org/pipermail/grass-user/ grass-user] mailing list.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;ImportError: cannot import name MAXREPEAT&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4 (or newer 2.7.x), instead of 2.7.2, solves the problem.&lt;br /&gt;
&lt;br /&gt;
A variant of the problem is also seen with &amp;quot;import re&amp;quot; appearing in the error message. The solution is the same: upgrade the system-wide installed version.&lt;br /&gt;
&lt;br /&gt;
Note that you can also try to remove the system-wide installation but this has a higher risk of breaking some (part) other applciation which depends on the system-wide Python.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 63 could not be located in the dynamic link libexpat.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;libexpat.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 32 could not be located in the dynamic link library proj.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;proj.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== The winGRASS user interface shows up in the wrong language for me! ==&lt;br /&gt;
&lt;br /&gt;
MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.&lt;br /&gt;
&lt;br /&gt;
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==&lt;br /&gt;
&lt;br /&gt;
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;This application has failed to start because libintl3.dll was not found&amp;quot;. (or libiconv2.dll and/or regex2.dll) ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling of the &amp;quot;msys&amp;quot; package in the OSGeo4W installer will bring it back.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;libfreetype-6.dll not installed&amp;quot; (similar wording) ==&lt;br /&gt;
&lt;br /&gt;
You may need to install &amp;quot;libfreetype-6.dll&amp;quot; on your system. For this, launch the OSGeo4W Network Installer &amp;gt; Advanced Install, type freetype in the search box and do the freetype packages installation.&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a GISDBASE not defined error ==&lt;br /&gt;
&lt;br /&gt;
Maybe there is junk in the GRASS session configuration file. To see if this is true and to remove the issue. Rename configuration and a new one will be created next time you run GRASS GIS. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Find where &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; directory is; usually it is &amp;lt;tt&amp;gt;C:\Users\&amp;lt;username&amp;gt;\AppData&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** Note that &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; is a hidden folder&lt;br /&gt;
* Find the GRASS session configuration file.&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS6\grassrc6&amp;lt;/tt&amp;gt; for GRASS GIS 6&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS7\rc&amp;lt;/tt&amp;gt; for GRASS GIS 7&lt;br /&gt;
* Rename session configuration file, e.g. to &amp;lt;tt&amp;gt;grassrc6.old&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rc.old&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Now restart GRASS GIS and the error should be gone (if it was caused by bad configuration file).&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a IOerror: [Errno 2] No such file or directory : 'nul' ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' At startup, I get&lt;br /&gt;
  nul=open &amp;lt;os.devnull, 'w'&amp;gt;&lt;br /&gt;
  IOerror: [Errno 2] No such file or directory : 'nul'&lt;br /&gt;
&lt;br /&gt;
'''A:''' Apparently, it's possible for the service implementing the null device ('nul' pseudo-file) to be stopped or to malfunction.&lt;br /&gt;
&lt;br /&gt;
The status can be checked via the control panel. Start the Device Manager (Control Panel &amp;gt; Hardware and Sound &amp;gt; Device Manager), select View &amp;gt; Show hidden devices, then under Non-Plug and Play Drivers, there should be an entry for &amp;quot;Null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The corresponding registry key is&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null&lt;br /&gt;
&lt;br /&gt;
The Start and Type values should both be 1.&lt;br /&gt;
&lt;br /&gt;
== ERROR: G_realloc: unable to allocate xxx bytes of memory at ... ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' When processing a large dataset, I get something like&lt;br /&gt;
&lt;br /&gt;
  Current region rows: rrrrr, cols: ccccc&lt;br /&gt;
  ERROR: G_realloc: unable to allocate XXX bytes of memory at ...&lt;br /&gt;
&lt;br /&gt;
'''A:''' In general GRASS GIS 7 is able to manage huge datasets in the multi-GB size. For hints, see [[Large raster data processing]]&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;Process ended with non-zero return code -1073741571&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This error message may indicate that the [[Computational region]] region is containing too many pixels.&lt;br /&gt;
&lt;br /&gt;
Background: according to [http://stackoverflow.com/a/26311584/452464 StackOverflow] this number &amp;quot;''is the signed integer representation of Microsoft's 'stack overflow/stack exhaustion' error code 0xC00000FD.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To verify:&lt;br /&gt;
  g.region -p&lt;br /&gt;
&lt;br /&gt;
The mount of &amp;quot;cells&amp;quot; main exceed that being manageable by your computer: in case if this error message the number of rows/columns is likely too high. Either reduce the extent or lower the resolution.&lt;br /&gt;
&lt;br /&gt;
== startup of winGRASS and wxGUI very slow/freezed ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' The startup, location wizzard and wxGUI of winGRASS is very slow, how come?&lt;br /&gt;
&lt;br /&gt;
'''A:''' Some firewall/anti-virus software may be very restrictive regarding new winGRASS version; just update the rules of the firewall/anti-virus software; as all winGRASS release packages are tested for malicious code/virus, they are considered to be secure when originating from the GRASS GIS Web site hosted at OSGeo.&lt;br /&gt;
&lt;br /&gt;
== GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails with an error that an entry point in the sqlite3 dll can't be found, then it is very likely that there is another SQLite library in %PATH% on that windows machine.&lt;br /&gt;
&lt;br /&gt;
First steps are:&lt;br /&gt;
&lt;br /&gt;
* typing in a windows console: where &amp;quot;$path:sqlite3*&amp;quot;&lt;br /&gt;
* search in C:\Windows in the explorer for sqlite3*&lt;br /&gt;
&lt;br /&gt;
Windows operating systems don't install natively a SQLite dll in any directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
If one of results of the steps above are positive, another software installed the dll in a directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
For a successful installation, following steps should be done:&lt;br /&gt;
&lt;br /&gt;
* rename the found dll (e.g. in C:\Windows\System32\sqlite3.dll) to something like xxxsqlite3.dll&lt;br /&gt;
* check if installation of winGRASS (OSGeo4W or standalone) works&lt;br /&gt;
* if it works, then the software which installed the dll in %PATH% will be broken&lt;br /&gt;
* start other installed software on that machine step by step and see which one is now broken&lt;br /&gt;
* if the broken software is found, move xxxsqlite3.dll to the installation directory of that software (e.g. e.g. c:\Programs\YourSoftwareBreakingGrass) and rename it back to sqlite3.dll&lt;br /&gt;
&lt;br /&gt;
== searching for dependency library issues with dependency walker ==&lt;br /&gt;
&lt;br /&gt;
* Download [http://www.dependencywalker.com/ dependency walker] for your system&lt;br /&gt;
* add following lines to the winGRASS startup script, e.g. C:\OSGeo4W64\bin\grass78.bat&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[WinGRASS Current Status#Known_Issues|Known Issues in winGRASS]]&lt;br /&gt;
* [[MacOSX GRASS errors]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: winGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25963</id>
		<title>WinGRASS errors</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25963"/>
		<updated>2019-11-15T20:14:19Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: dependency walker example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS exits when started with g.list CalledModuleError and -1073741511 return code ==&lt;br /&gt;
&lt;br /&gt;
If GRASS GIS graphical user interface fails to start with error which ends like this:&lt;br /&gt;
&lt;br /&gt;
 grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error&lt;br /&gt;
 Process ended with non-zero return code -1073741511. See errors in the (error) output.&lt;br /&gt;
&lt;br /&gt;
you can try to run the following command manually from the command line (the &amp;quot;black&amp;quot; system command line which was started with GRASS GIS).&lt;br /&gt;
&lt;br /&gt;
 g.list -m type=raster&lt;br /&gt;
&lt;br /&gt;
If you run the command, you might get the following error:&lt;br /&gt;
&lt;br /&gt;
 The procedure entry point sqlite3_vfs_register could not be located in the dynamic link library sqlite3.dll.&lt;br /&gt;
&lt;br /&gt;
The issue is caused by different &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files accessible &amp;quot;on path&amp;quot; to all application. In case of GRASS GIS, some incompatible sqlite3 DLL is picked up by the system rather than using the correct one shipped with GRASS GIS.&lt;br /&gt;
&lt;br /&gt;
Solution: search for all &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files on your computer and &amp;lt;strike&amp;gt;remove&amp;lt;/strike&amp;gt; rename them one by one while trying at the same time to start GRASS GIS successfully. Note that removing some of the other &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files may break the applications which use them (say, while this is possible it has never actually been reported by any user). So, it is a good idea to just rename the DLL file in case you discover that another application needs that particular sqlite3 DLL and you have to reverse the process.&lt;br /&gt;
&lt;br /&gt;
== Legend and scale bar do not show any text ==&lt;br /&gt;
If you add legend (&amp;lt;tt&amp;gt;d.legend&amp;lt;/tt&amp;gt;) or scale bar (&amp;lt;tt&amp;gt;d.barscale&amp;lt;/tt&amp;gt;) to the Map Display and you see only the colors or the bar but no text:&lt;br /&gt;
&lt;br /&gt;
1. Try to run this command within a GRASS session:&lt;br /&gt;
    g.mkfontcap -o&lt;br /&gt;
&lt;br /&gt;
Redraw, the text should appear.&lt;br /&gt;
&lt;br /&gt;
2. Alternatively, in the menu go to ''Settings'' &amp;gt; ''Preferences'', then select ''Map Display'' tab. Use ''Set font'' button to set ''Default font for GRASS displays''. From the list choose &amp;lt;tt&amp;gt;arial&amp;lt;/tt&amp;gt; or another font you wish to use.&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS (winGRASS) exits immediately after I start it complaining about MSVCR DLL ==&lt;br /&gt;
&lt;br /&gt;
'''''Problem: WinGRASS complains about a missing MSVCR71.dll, MSCVP100.dll or similar on startup or exits immediately.'''''&lt;br /&gt;
&lt;br /&gt;
First note that GRASS GIS 6.4.3 and later '''suggest to install the needed &amp;quot;Important Microsoft runtime libraries&amp;quot; already during the installation process'' (on the same install wizard page offering to download sample datasets), so you should make sure that you check this option during installation. If you are sure about that or the step ended with error (e.g. when proxy settings were not recognized), follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
=== Solution A ===&lt;br /&gt;
&lt;br /&gt;
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].&lt;br /&gt;
&lt;br /&gt;
If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=5555 download it here].&lt;br /&gt;
&lt;br /&gt;
=== Solution B ===&lt;br /&gt;
&lt;br /&gt;
If the above ''Solution A'' does not help, or ends with an error, or if it says that you already have everything, you can reproduce steps which the installer is doing:&lt;br /&gt;
# You do not need to uninstall GRASS GIS to fix it. But be sure to close any GRASS windows you have still open.&lt;br /&gt;
# Download [http://download.osgeo.org/osgeo4w/x86/release/msvcrt/msvcrt-1.0.1-12.tar.bz2 msvcrt-1.0.1-12.tar.bz2 archive]&lt;br /&gt;
# Uncompress the archive. Note that it is &amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt;, so to uncompress it use [http://www.7-zip.org 7-Zip] or Winzip or something else that can handle it. It will unzip 3 folders. Keep those 3 folders together (it doesn't matter where).&lt;br /&gt;
# Open the &amp;quot;bin&amp;quot; folder (it is in one of the 3 folders from above) and run the following programs (just double click on them) in the indicated order, following the directions in each wizard:&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2005_x86.exe&amp;lt;/tt&amp;gt; (first screen might be in German, just click left button (&amp;quot;Ja&amp;quot;); then it switches to English)&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2008_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2010_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Once you installed each of these programs, copy the following files (they are in the same &amp;quot;bin&amp;quot; folder) to the &amp;lt;tt&amp;gt;&amp;quot;extrabin&amp;quot;&amp;lt;/tt&amp;gt; folder in the GRASS GIS installation directory (the one you chose during the installation):&lt;br /&gt;
#* &amp;lt;tt&amp;gt;msvcp60.dll, msvcp70.dll, msvcp71.dll, msvcr71.dll, msvcrt.dll&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; So: paste them into e.g. &amp;lt;tt&amp;gt;C:\Program Files (x86)\GRASS GIS 7.0.0beta3\extrabin\&amp;lt;/tt&amp;gt; (assuming you used the default install location).&lt;br /&gt;
# Try GRASS GIS again! It should be running now. If not make sure that you have tried all the steps and try again. If this still does not help, please write to the [http://lists.osgeo.org/pipermail/grass-user/ grass-user] mailing list.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;ImportError: cannot import name MAXREPEAT&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4 (or newer 2.7.x), instead of 2.7.2, solves the problem.&lt;br /&gt;
&lt;br /&gt;
A variant of the problem is also seen with &amp;quot;import re&amp;quot; appearing in the error message. The solution is the same: upgrade the system-wide installed version.&lt;br /&gt;
&lt;br /&gt;
Note that you can also try to remove the system-wide installation but this has a higher risk of breaking some (part) other applciation which depends on the system-wide Python.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 63 could not be located in the dynamic link libexpat.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;libexpat.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 32 could not be located in the dynamic link library proj.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;proj.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== The winGRASS user interface shows up in the wrong language for me! ==&lt;br /&gt;
&lt;br /&gt;
MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.&lt;br /&gt;
&lt;br /&gt;
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==&lt;br /&gt;
&lt;br /&gt;
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;This application has failed to start because libintl3.dll was not found&amp;quot;. (or libiconv2.dll and/or regex2.dll) ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling of the &amp;quot;msys&amp;quot; package in the OSGeo4W installer will bring it back.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;libfreetype-6.dll not installed&amp;quot; (similar wording) ==&lt;br /&gt;
&lt;br /&gt;
You may need to install &amp;quot;libfreetype-6.dll&amp;quot; on your system. For this, launch the OSGeo4W Network Installer &amp;gt; Advanced Install, type freetype in the search box and do the freetype packages installation.&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a GISDBASE not defined error ==&lt;br /&gt;
&lt;br /&gt;
Maybe there is junk in the GRASS session configuration file. To see if this is true and to remove the issue. Rename configuration and a new one will be created next time you run GRASS GIS. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Find where &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; directory is; usually it is &amp;lt;tt&amp;gt;C:\Users\&amp;lt;username&amp;gt;\AppData&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** Note that &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; is a hidden folder&lt;br /&gt;
* Find the GRASS session configuration file.&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS6\grassrc6&amp;lt;/tt&amp;gt; for GRASS GIS 6&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS7\rc&amp;lt;/tt&amp;gt; for GRASS GIS 7&lt;br /&gt;
* Rename session configuration file, e.g. to &amp;lt;tt&amp;gt;grassrc6.old&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rc.old&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Now restart GRASS GIS and the error should be gone (if it was caused by bad configuration file).&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a IOerror: [Errno 2] No such file or directory : 'nul' ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' At startup, I get&lt;br /&gt;
  nul=open &amp;lt;os.devnull, 'w'&amp;gt;&lt;br /&gt;
  IOerror: [Errno 2] No such file or directory : 'nul'&lt;br /&gt;
&lt;br /&gt;
'''A:''' Apparently, it's possible for the service implementing the null device ('nul' pseudo-file) to be stopped or to malfunction.&lt;br /&gt;
&lt;br /&gt;
The status can be checked via the control panel. Start the Device Manager (Control Panel &amp;gt; Hardware and Sound &amp;gt; Device Manager), select View &amp;gt; Show hidden devices, then under Non-Plug and Play Drivers, there should be an entry for &amp;quot;Null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The corresponding registry key is&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null&lt;br /&gt;
&lt;br /&gt;
The Start and Type values should both be 1.&lt;br /&gt;
&lt;br /&gt;
== ERROR: G_realloc: unable to allocate xxx bytes of memory at ... ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' When processing a large dataset, I get something like&lt;br /&gt;
&lt;br /&gt;
  Current region rows: rrrrr, cols: ccccc&lt;br /&gt;
  ERROR: G_realloc: unable to allocate XXX bytes of memory at ...&lt;br /&gt;
&lt;br /&gt;
'''A:''' In general GRASS GIS 7 is able to manage huge datasets in the multi-GB size. For hints, see [[Large raster data processing]]&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;Process ended with non-zero return code -1073741571&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This error message may indicate that the [[Computational region]] region is containing too many pixels.&lt;br /&gt;
&lt;br /&gt;
Background: according to [http://stackoverflow.com/a/26311584/452464 StackOverflow] this number &amp;quot;''is the signed integer representation of Microsoft's 'stack overflow/stack exhaustion' error code 0xC00000FD.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To verify:&lt;br /&gt;
  g.region -p&lt;br /&gt;
&lt;br /&gt;
The mount of &amp;quot;cells&amp;quot; main exceed that being manageable by your computer: in case if this error message the number of rows/columns is likely too high. Either reduce the extent or lower the resolution.&lt;br /&gt;
&lt;br /&gt;
== startup of winGRASS and wxGUI very slow/freezed ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' The startup, location wizzard and wxGUI of winGRASS is very slow, how come?&lt;br /&gt;
&lt;br /&gt;
'''A:''' Some firewall/anti-virus software may be very restrictive regarding new winGRASS version; just update the rules of the firewall/anti-virus software; as all winGRASS release packages are tested for malicious code/virus, they are considered to be secure when originating from the GRASS GIS Web site hosted at OSGeo.&lt;br /&gt;
&lt;br /&gt;
== GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails with an error that an entry point in the sqlite3 dll can't be found, then it is very likely that there is another SQLite library in %PATH% on that windows machine.&lt;br /&gt;
&lt;br /&gt;
First steps are:&lt;br /&gt;
&lt;br /&gt;
* typing in a windows console: where &amp;quot;$path:sqlite3*&amp;quot;&lt;br /&gt;
* search in C:\Windows in the explorer for sqlite3*&lt;br /&gt;
&lt;br /&gt;
Windows operating systems don't install natively a SQLite dll in any directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
If one of results of the steps above are positive, another software installed the dll in a directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
For a successful installation, following steps should be done:&lt;br /&gt;
&lt;br /&gt;
* rename the found dll (e.g. in C:\Windows\System32\sqlite3.dll) to something like xxxsqlite3.dll&lt;br /&gt;
* check if installation of winGRASS (OSGeo4W or standalone) works&lt;br /&gt;
* if it works, then the software which installed the dll in %PATH% will be broken&lt;br /&gt;
* start other installed software on that machine step by step and see which one is now broken&lt;br /&gt;
* if the broken software is found, move xxxsqlite3.dll to the installation directory of that software (e.g. e.g. c:\Programs\YourSoftwareBreakingGrass) and rename it back to sqlite3.dll&lt;br /&gt;
&lt;br /&gt;
== searching for dependency library issues with dependency walker ==&lt;br /&gt;
&lt;br /&gt;
* Download [http://www.dependencywalker.com/ dependency walker] for your system&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[WinGRASS Current Status#Known_Issues|Known Issues in winGRASS]]&lt;br /&gt;
* [[MacOSX GRASS errors]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: winGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25962</id>
		<title>WinGRASS errors</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25962"/>
		<updated>2019-11-15T20:11:22Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS exits when started with g.list CalledModuleError and -1073741511 return code ==&lt;br /&gt;
&lt;br /&gt;
If GRASS GIS graphical user interface fails to start with error which ends like this:&lt;br /&gt;
&lt;br /&gt;
 grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error&lt;br /&gt;
 Process ended with non-zero return code -1073741511. See errors in the (error) output.&lt;br /&gt;
&lt;br /&gt;
you can try to run the following command manually from the command line (the &amp;quot;black&amp;quot; system command line which was started with GRASS GIS).&lt;br /&gt;
&lt;br /&gt;
 g.list -m type=raster&lt;br /&gt;
&lt;br /&gt;
If you run the command, you might get the following error:&lt;br /&gt;
&lt;br /&gt;
 The procedure entry point sqlite3_vfs_register could not be located in the dynamic link library sqlite3.dll.&lt;br /&gt;
&lt;br /&gt;
The issue is caused by different &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files accessible &amp;quot;on path&amp;quot; to all application. In case of GRASS GIS, some incompatible sqlite3 DLL is picked up by the system rather than using the correct one shipped with GRASS GIS.&lt;br /&gt;
&lt;br /&gt;
Solution: search for all &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files on your computer and &amp;lt;strike&amp;gt;remove&amp;lt;/strike&amp;gt; rename them one by one while trying at the same time to start GRASS GIS successfully. Note that removing some of the other &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files may break the applications which use them (say, while this is possible it has never actually been reported by any user). So, it is a good idea to just rename the DLL file in case you discover that another application needs that particular sqlite3 DLL and you have to reverse the process.&lt;br /&gt;
&lt;br /&gt;
== Legend and scale bar do not show any text ==&lt;br /&gt;
If you add legend (&amp;lt;tt&amp;gt;d.legend&amp;lt;/tt&amp;gt;) or scale bar (&amp;lt;tt&amp;gt;d.barscale&amp;lt;/tt&amp;gt;) to the Map Display and you see only the colors or the bar but no text:&lt;br /&gt;
&lt;br /&gt;
1. Try to run this command within a GRASS session:&lt;br /&gt;
    g.mkfontcap -o&lt;br /&gt;
&lt;br /&gt;
Redraw, the text should appear.&lt;br /&gt;
&lt;br /&gt;
2. Alternatively, in the menu go to ''Settings'' &amp;gt; ''Preferences'', then select ''Map Display'' tab. Use ''Set font'' button to set ''Default font for GRASS displays''. From the list choose &amp;lt;tt&amp;gt;arial&amp;lt;/tt&amp;gt; or another font you wish to use.&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS (winGRASS) exits immediately after I start it complaining about MSVCR DLL ==&lt;br /&gt;
&lt;br /&gt;
'''''Problem: WinGRASS complains about a missing MSVCR71.dll, MSCVP100.dll or similar on startup or exits immediately.'''''&lt;br /&gt;
&lt;br /&gt;
First note that GRASS GIS 6.4.3 and later '''suggest to install the needed &amp;quot;Important Microsoft runtime libraries&amp;quot; already during the installation process'' (on the same install wizard page offering to download sample datasets), so you should make sure that you check this option during installation. If you are sure about that or the step ended with error (e.g. when proxy settings were not recognized), follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
=== Solution A ===&lt;br /&gt;
&lt;br /&gt;
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].&lt;br /&gt;
&lt;br /&gt;
If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=5555 download it here].&lt;br /&gt;
&lt;br /&gt;
=== Solution B ===&lt;br /&gt;
&lt;br /&gt;
If the above ''Solution A'' does not help, or ends with an error, or if it says that you already have everything, you can reproduce steps which the installer is doing:&lt;br /&gt;
# You do not need to uninstall GRASS GIS to fix it. But be sure to close any GRASS windows you have still open.&lt;br /&gt;
# Download [http://download.osgeo.org/osgeo4w/x86/release/msvcrt/msvcrt-1.0.1-12.tar.bz2 msvcrt-1.0.1-12.tar.bz2 archive]&lt;br /&gt;
# Uncompress the archive. Note that it is &amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt;, so to uncompress it use [http://www.7-zip.org 7-Zip] or Winzip or something else that can handle it. It will unzip 3 folders. Keep those 3 folders together (it doesn't matter where).&lt;br /&gt;
# Open the &amp;quot;bin&amp;quot; folder (it is in one of the 3 folders from above) and run the following programs (just double click on them) in the indicated order, following the directions in each wizard:&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2005_x86.exe&amp;lt;/tt&amp;gt; (first screen might be in German, just click left button (&amp;quot;Ja&amp;quot;); then it switches to English)&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2008_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2010_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Once you installed each of these programs, copy the following files (they are in the same &amp;quot;bin&amp;quot; folder) to the &amp;lt;tt&amp;gt;&amp;quot;extrabin&amp;quot;&amp;lt;/tt&amp;gt; folder in the GRASS GIS installation directory (the one you chose during the installation):&lt;br /&gt;
#* &amp;lt;tt&amp;gt;msvcp60.dll, msvcp70.dll, msvcp71.dll, msvcr71.dll, msvcrt.dll&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; So: paste them into e.g. &amp;lt;tt&amp;gt;C:\Program Files (x86)\GRASS GIS 7.0.0beta3\extrabin\&amp;lt;/tt&amp;gt; (assuming you used the default install location).&lt;br /&gt;
# Try GRASS GIS again! It should be running now. If not make sure that you have tried all the steps and try again. If this still does not help, please write to the [http://lists.osgeo.org/pipermail/grass-user/ grass-user] mailing list.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;ImportError: cannot import name MAXREPEAT&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4 (or newer 2.7.x), instead of 2.7.2, solves the problem.&lt;br /&gt;
&lt;br /&gt;
A variant of the problem is also seen with &amp;quot;import re&amp;quot; appearing in the error message. The solution is the same: upgrade the system-wide installed version.&lt;br /&gt;
&lt;br /&gt;
Note that you can also try to remove the system-wide installation but this has a higher risk of breaking some (part) other applciation which depends on the system-wide Python.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 63 could not be located in the dynamic link libexpat.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;libexpat.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 32 could not be located in the dynamic link library proj.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;proj.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== The winGRASS user interface shows up in the wrong language for me! ==&lt;br /&gt;
&lt;br /&gt;
MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.&lt;br /&gt;
&lt;br /&gt;
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==&lt;br /&gt;
&lt;br /&gt;
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;This application has failed to start because libintl3.dll was not found&amp;quot;. (or libiconv2.dll and/or regex2.dll) ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling of the &amp;quot;msys&amp;quot; package in the OSGeo4W installer will bring it back.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;libfreetype-6.dll not installed&amp;quot; (similar wording) ==&lt;br /&gt;
&lt;br /&gt;
You may need to install &amp;quot;libfreetype-6.dll&amp;quot; on your system. For this, launch the OSGeo4W Network Installer &amp;gt; Advanced Install, type freetype in the search box and do the freetype packages installation.&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a GISDBASE not defined error ==&lt;br /&gt;
&lt;br /&gt;
Maybe there is junk in the GRASS session configuration file. To see if this is true and to remove the issue. Rename configuration and a new one will be created next time you run GRASS GIS. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Find where &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; directory is; usually it is &amp;lt;tt&amp;gt;C:\Users\&amp;lt;username&amp;gt;\AppData&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** Note that &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; is a hidden folder&lt;br /&gt;
* Find the GRASS session configuration file.&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS6\grassrc6&amp;lt;/tt&amp;gt; for GRASS GIS 6&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS7\rc&amp;lt;/tt&amp;gt; for GRASS GIS 7&lt;br /&gt;
* Rename session configuration file, e.g. to &amp;lt;tt&amp;gt;grassrc6.old&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rc.old&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Now restart GRASS GIS and the error should be gone (if it was caused by bad configuration file).&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a IOerror: [Errno 2] No such file or directory : 'nul' ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' At startup, I get&lt;br /&gt;
  nul=open &amp;lt;os.devnull, 'w'&amp;gt;&lt;br /&gt;
  IOerror: [Errno 2] No such file or directory : 'nul'&lt;br /&gt;
&lt;br /&gt;
'''A:''' Apparently, it's possible for the service implementing the null device ('nul' pseudo-file) to be stopped or to malfunction.&lt;br /&gt;
&lt;br /&gt;
The status can be checked via the control panel. Start the Device Manager (Control Panel &amp;gt; Hardware and Sound &amp;gt; Device Manager), select View &amp;gt; Show hidden devices, then under Non-Plug and Play Drivers, there should be an entry for &amp;quot;Null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The corresponding registry key is&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null&lt;br /&gt;
&lt;br /&gt;
The Start and Type values should both be 1.&lt;br /&gt;
&lt;br /&gt;
== ERROR: G_realloc: unable to allocate xxx bytes of memory at ... ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' When processing a large dataset, I get something like&lt;br /&gt;
&lt;br /&gt;
  Current region rows: rrrrr, cols: ccccc&lt;br /&gt;
  ERROR: G_realloc: unable to allocate XXX bytes of memory at ...&lt;br /&gt;
&lt;br /&gt;
'''A:''' In general GRASS GIS 7 is able to manage huge datasets in the multi-GB size. For hints, see [[Large raster data processing]]&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;Process ended with non-zero return code -1073741571&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This error message may indicate that the [[Computational region]] region is containing too many pixels.&lt;br /&gt;
&lt;br /&gt;
Background: according to [http://stackoverflow.com/a/26311584/452464 StackOverflow] this number &amp;quot;''is the signed integer representation of Microsoft's 'stack overflow/stack exhaustion' error code 0xC00000FD.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To verify:&lt;br /&gt;
  g.region -p&lt;br /&gt;
&lt;br /&gt;
The mount of &amp;quot;cells&amp;quot; main exceed that being manageable by your computer: in case if this error message the number of rows/columns is likely too high. Either reduce the extent or lower the resolution.&lt;br /&gt;
&lt;br /&gt;
== startup of winGRASS and wxGUI very slow/freezed ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' The startup, location wizzard and wxGUI of winGRASS is very slow, how come?&lt;br /&gt;
&lt;br /&gt;
'''A:''' Some firewall/anti-virus software may be very restrictive regarding new winGRASS version; just update the rules of the firewall/anti-virus software; as all winGRASS release packages are tested for malicious code/virus, they are considered to be secure when originating from the GRASS GIS Web site hosted at OSGeo.&lt;br /&gt;
&lt;br /&gt;
== GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails with an error that an entry point in the sqlite3 dll can't be found, then it is very likely that there is another SQLite library in %PATH% on that windows machine.&lt;br /&gt;
&lt;br /&gt;
First steps are:&lt;br /&gt;
&lt;br /&gt;
* typing in a windows console: where &amp;quot;$path:sqlite3*&amp;quot;&lt;br /&gt;
* search in C:\Windows in the explorer for sqlite3*&lt;br /&gt;
&lt;br /&gt;
Windows operating systems don't install natively a SQLite dll in any directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
If one of results of the steps above are positive, another software installed the dll in a directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
For a successful installation, following steps should be done:&lt;br /&gt;
&lt;br /&gt;
* rename the found dll (e.g. in C:\Windows\System32\sqlite3.dll) to something like xxxsqlite3.dll&lt;br /&gt;
* check if installation of winGRASS (OSGeo4W or standalone) works&lt;br /&gt;
* if it works, then the software which installed the dll in %PATH% will be broken&lt;br /&gt;
* start other installed software on that machine step by step and see which one is now broken&lt;br /&gt;
* if the broken software is found, move xxxsqlite3.dll to the installation directory of that software (e.g. e.g. c:\Programs\YourSoftwareBreakingGrass) and rename it back to sqlite3.dll&lt;br /&gt;
&lt;br /&gt;
== searching for dependency library issues with dependency walker ==&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[WinGRASS Current Status#Known_Issues|Known Issues in winGRASS]]&lt;br /&gt;
* [[MacOSX GRASS errors]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: winGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25433</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25433"/>
		<updated>2018-12-23T19:44:19Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* selecting a different shell */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to remove a list raster map.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c in ('g.list &amp;quot;type=raster&amp;quot; &amp;quot;pattern=*2&amp;quot; &amp;quot;mapset=user1&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET RASTER2REMOVE=%c&lt;br /&gt;
&lt;br /&gt;
echo %RASTER2REMOVE%&lt;br /&gt;
b172,d172,it172,r172&lt;br /&gt;
&lt;br /&gt;
g.remove type=raster name=%RASTER2REMOVE%&lt;br /&gt;
The following data base element files would be deleted:&lt;br /&gt;
raster/b172@user1&lt;br /&gt;
raster/d172@user1&lt;br /&gt;
raster/it172@user1&lt;br /&gt;
raster/r172@user1&lt;br /&gt;
WARNING: Nothing removed. You must use the force flag (-f) to actually&lt;br /&gt;
         remove them. Exiting. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to loop through a list of vector maps and buffer them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c IN ('g.list &amp;quot;type=vector&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET VECTLIST=%c&lt;br /&gt;
&lt;br /&gt;
FOR %g IN (%VECTLIST%) DO v.buffer input=%g output=%g_buffer_200 distance=200&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== selecting a different shell ==&lt;br /&gt;
On MS Windows, in the absence of the environmental variable GRASS_SH, the grass startup script selects the shell specified in environment variable ComSpec.  This is typically ''cmd.exe''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
REM check shell&lt;br /&gt;
echo %ComSpec%&lt;br /&gt;
C:\WINDOWS\system32\cmd.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default shell can be overridden by setting the environment variable GRASS_SH. &lt;br /&gt;
&lt;br /&gt;
To make [https://en.wikipedia.org/wiki/PowerShell MS powershell] the startup command shell set the environment variable with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
SET GRASS_SH=%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in ''C:\OSGeo4W64\apps\grass\grass-7.7.svn\etc\env.bat'' (e.g. for OSGeo4W 64bit).&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25432</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25432"/>
		<updated>2018-12-23T19:40:39Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* selecting a different shell */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to remove a list raster map.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c in ('g.list &amp;quot;type=raster&amp;quot; &amp;quot;pattern=*2&amp;quot; &amp;quot;mapset=user1&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET RASTER2REMOVE=%c&lt;br /&gt;
&lt;br /&gt;
echo %RASTER2REMOVE%&lt;br /&gt;
b172,d172,it172,r172&lt;br /&gt;
&lt;br /&gt;
g.remove type=raster name=%RASTER2REMOVE%&lt;br /&gt;
The following data base element files would be deleted:&lt;br /&gt;
raster/b172@user1&lt;br /&gt;
raster/d172@user1&lt;br /&gt;
raster/it172@user1&lt;br /&gt;
raster/r172@user1&lt;br /&gt;
WARNING: Nothing removed. You must use the force flag (-f) to actually&lt;br /&gt;
         remove them. Exiting. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to loop through a list of vector maps and buffer them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c IN ('g.list &amp;quot;type=vector&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET VECTLIST=%c&lt;br /&gt;
&lt;br /&gt;
FOR %g IN (%VECTLIST%) DO v.buffer input=%g output=%g_buffer_200 distance=200&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== selecting a different shell ==&lt;br /&gt;
On MS Windows, in the absence of the environmental variable GRASS_SH, the grass startup script selects the shell specified in environment variable ComSpec.  This is typically ''cmd.exe''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
REM check shell&lt;br /&gt;
echo %ComSpec%&lt;br /&gt;
C:\WINDOWS\system32\cmd.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default shell can be overridden by setting the environment variable GRASS_SH. &lt;br /&gt;
&lt;br /&gt;
To make MS powershell the startup command shell set the environment variable with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
SET GRASS_SH=%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in ''C:\OSGeo4W64\apps\grass\grass-7.7.svn\etc\env.bat'' (e.g. for OSGeo4W 64bit).&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25431</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25431"/>
		<updated>2018-12-23T19:40:19Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* selecting a different shell */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to remove a list raster map.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c in ('g.list &amp;quot;type=raster&amp;quot; &amp;quot;pattern=*2&amp;quot; &amp;quot;mapset=user1&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET RASTER2REMOVE=%c&lt;br /&gt;
&lt;br /&gt;
echo %RASTER2REMOVE%&lt;br /&gt;
b172,d172,it172,r172&lt;br /&gt;
&lt;br /&gt;
g.remove type=raster name=%RASTER2REMOVE%&lt;br /&gt;
The following data base element files would be deleted:&lt;br /&gt;
raster/b172@user1&lt;br /&gt;
raster/d172@user1&lt;br /&gt;
raster/it172@user1&lt;br /&gt;
raster/r172@user1&lt;br /&gt;
WARNING: Nothing removed. You must use the force flag (-f) to actually&lt;br /&gt;
         remove them. Exiting. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to loop through a list of vector maps and buffer them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c IN ('g.list &amp;quot;type=vector&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET VECTLIST=%c&lt;br /&gt;
&lt;br /&gt;
FOR %g IN (%VECTLIST%) DO v.buffer input=%g output=%g_buffer_200 distance=200&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== selecting a different shell ==&lt;br /&gt;
On MS Windows, in the absence of the environmental variable GRASS_SH, the grass startup script selects the shell specified in environment variable ComSpec.  This is typically ''cmd.exe''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
REM check shell&lt;br /&gt;
echo %ComSpec%&lt;br /&gt;
C:\WINDOWS\system32\cmd.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default shell can be overridden by setting the environment variable GRASS_SH. &lt;br /&gt;
&lt;br /&gt;
To make powershell the startup command shell set the environment variable with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
SET GRASS_SH=%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in ''C:\OSGeo4W64\apps\grass\grass-7.7.svn\etc\env.bat'' (e.g. for OSGeo4W 64bit).&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25430</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25430"/>
		<updated>2018-12-23T19:38:46Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* selecting a shell */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to remove a list raster map.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c in ('g.list &amp;quot;type=raster&amp;quot; &amp;quot;pattern=*2&amp;quot; &amp;quot;mapset=user1&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET RASTER2REMOVE=%c&lt;br /&gt;
&lt;br /&gt;
echo %RASTER2REMOVE%&lt;br /&gt;
b172,d172,it172,r172&lt;br /&gt;
&lt;br /&gt;
g.remove type=raster name=%RASTER2REMOVE%&lt;br /&gt;
The following data base element files would be deleted:&lt;br /&gt;
raster/b172@user1&lt;br /&gt;
raster/d172@user1&lt;br /&gt;
raster/it172@user1&lt;br /&gt;
raster/r172@user1&lt;br /&gt;
WARNING: Nothing removed. You must use the force flag (-f) to actually&lt;br /&gt;
         remove them. Exiting. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to loop through a list of vector maps and buffer them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c IN ('g.list &amp;quot;type=vector&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET VECTLIST=%c&lt;br /&gt;
&lt;br /&gt;
FOR %g IN (%VECTLIST%) DO v.buffer input=%g output=%g_buffer_200 distance=200&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== selecting a different shell ==&lt;br /&gt;
On MS Windows, in the absence of the environmental variable GRASS_SH, the grass startup script selects the shell specified in environment variable ComSpec.  This is typically cmd.exe.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
REM check shell&lt;br /&gt;
echo %ComSpec%&lt;br /&gt;
C:\WINDOWS\system32\cmd.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default shell can be overridden by setting the environment variable GRASS_SH. To make powershell the startup command shell set the environment variable with&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
SET GRASS_SH=%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25429</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25429"/>
		<updated>2018-12-23T19:37:53Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* selecting a shell */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to remove a list raster map.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c in ('g.list &amp;quot;type=raster&amp;quot; &amp;quot;pattern=*2&amp;quot; &amp;quot;mapset=user1&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET RASTER2REMOVE=%c&lt;br /&gt;
&lt;br /&gt;
echo %RASTER2REMOVE%&lt;br /&gt;
b172,d172,it172,r172&lt;br /&gt;
&lt;br /&gt;
g.remove type=raster name=%RASTER2REMOVE%&lt;br /&gt;
The following data base element files would be deleted:&lt;br /&gt;
raster/b172@user1&lt;br /&gt;
raster/d172@user1&lt;br /&gt;
raster/it172@user1&lt;br /&gt;
raster/r172@user1&lt;br /&gt;
WARNING: Nothing removed. You must use the force flag (-f) to actually&lt;br /&gt;
         remove them. Exiting. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to loop through a list of vector maps and buffer them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c IN ('g.list &amp;quot;type=vector&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET VECTLIST=%c&lt;br /&gt;
&lt;br /&gt;
FOR %g IN (%VECTLIST%) DO v.buffer input=%g output=%g_buffer_200 distance=200&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== selecting a shell ==&lt;br /&gt;
On MS Windows, in the absence of the environmental variable GRASS_SH, the grass startup script selects the shell specified in environment variable ComSpec.  This is typically cmd.exe.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
REM check shell&lt;br /&gt;
echo %ComSpec%&lt;br /&gt;
C:\WINDOWS\system32\cmd.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default shell can be overridden by setting the environment variable GRASS_SH. To make powershell the startup command shell set the environment variable with&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
SET GRASS_SH=%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25428</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25428"/>
		<updated>2018-12-23T19:35:18Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* selecting a shell */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to remove a list raster map.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c in ('g.list &amp;quot;type=raster&amp;quot; &amp;quot;pattern=*2&amp;quot; &amp;quot;mapset=user1&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET RASTER2REMOVE=%c&lt;br /&gt;
&lt;br /&gt;
echo %RASTER2REMOVE%&lt;br /&gt;
b172,d172,it172,r172&lt;br /&gt;
&lt;br /&gt;
g.remove type=raster name=%RASTER2REMOVE%&lt;br /&gt;
The following data base element files would be deleted:&lt;br /&gt;
raster/b172@user1&lt;br /&gt;
raster/d172@user1&lt;br /&gt;
raster/it172@user1&lt;br /&gt;
raster/r172@user1&lt;br /&gt;
WARNING: Nothing removed. You must use the force flag (-f) to actually&lt;br /&gt;
         remove them. Exiting. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to loop through a list of vector maps and buffer them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c IN ('g.list &amp;quot;type=vector&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET VECTLIST=%c&lt;br /&gt;
&lt;br /&gt;
FOR %g IN (%VECTLIST%) DO v.buffer input=%g output=%g_buffer_200 distance=200&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== selecting a shell ==&lt;br /&gt;
On windows, in the absence of the environmental variable GRASS_SH, the grass startup script selects the shell specified in environment variable ComSpec.  This is typically cmd.sh.&lt;br /&gt;
The default shell can be overridden by setting the environment variable GRASS_SH. To make powershell the startup command shell set the environment variable with&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
SET GRASS_SH=%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25365</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25365"/>
		<updated>2018-11-24T08:44:30Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* g.list output as input for another GRASS module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to remove a list raster map.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c in ('g.list &amp;quot;type=raster&amp;quot; &amp;quot;pattern=*2&amp;quot; &amp;quot;mapset=user1&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET RASTER2REMOVE=%c&lt;br /&gt;
&lt;br /&gt;
echo %RASTER2REMOVE%&lt;br /&gt;
b172,d172,it172,r172&lt;br /&gt;
&lt;br /&gt;
g.remove type=raster name=%RASTER2REMOVE%&lt;br /&gt;
The following data base element files would be deleted:&lt;br /&gt;
raster/b172@user1&lt;br /&gt;
raster/d172@user1&lt;br /&gt;
raster/it172@user1&lt;br /&gt;
raster/r172@user1&lt;br /&gt;
WARNING: Nothing removed. You must use the force flag (-f) to actually&lt;br /&gt;
         remove them. Exiting. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to loop through a list of vector maps and buffer them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c IN ('g.list &amp;quot;type=vector&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET VECTLIST=%c&lt;br /&gt;
&lt;br /&gt;
FOR %g IN (%VECTLIST%) DO v.buffer input=%g output=%g_buffer_200 distance=200&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25364</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25364"/>
		<updated>2018-11-24T08:40:32Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* g.list output as input for another GRASS module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to remove a list raster map.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
C:\&amp;gt;FOR /F %c in ('g.list &amp;quot;type=raster&amp;quot; &amp;quot;pattern=*2&amp;quot; &amp;quot;mapset=user1&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET RASTER2REMOVE=%c&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;echo %RASTER2REMOVE%&lt;br /&gt;
b172,d172,it172,r172&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;g.remove type=raster name=%RASTER2REMOVE%&lt;br /&gt;
The following data base element files would be deleted:&lt;br /&gt;
raster/b172@user1&lt;br /&gt;
raster/d172@user1&lt;br /&gt;
raster/it172@user1&lt;br /&gt;
raster/r172@user1&lt;br /&gt;
WARNING: Nothing removed. You must use the force flag (-f) to actually&lt;br /&gt;
         remove them. Exiting. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to loop through a list of vector maps and buffer them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
FOR /F %c IN ('g.list &amp;quot;type=vector&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET VECTLIST=%c&lt;br /&gt;
&lt;br /&gt;
FOR %g IN (%VECTLIST%) DO v.buffer input=%g output=%g_buffer_200 distance=200&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25363</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25363"/>
		<updated>2018-11-24T08:37:29Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* g.list output as input for another GRASS module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to remove a list raster map.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
C:\&amp;gt;FOR /F %c in ('g.list &amp;quot;type=raster&amp;quot; &amp;quot;pattern=*2&amp;quot; &amp;quot;mapset=user1&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET RASTER2REMOVE=%c&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;echo %RASTER2REMOVE%&lt;br /&gt;
b172,d172,it172,r172&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;g.remove type=raster name=%RASTER2REMOVE%&lt;br /&gt;
The following data base element files would be deleted:&lt;br /&gt;
raster/b172@user1&lt;br /&gt;
raster/d172@user1&lt;br /&gt;
raster/it172@user1&lt;br /&gt;
raster/r172@user1&lt;br /&gt;
WARNING: Nothing removed. You must use the force flag (-f) to actually&lt;br /&gt;
         remove them. Exiting. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module, e.g. to loop through a list of vector maps and buffer them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=R_statistics/rgrass&amp;diff=25337</id>
		<title>R statistics/rgrass</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=R_statistics/rgrass&amp;diff=25337"/>
		<updated>2018-09-23T20:43:03Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Startup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This page refers to the usage of R within a GRASS GIS 7 session and the use of GRASS GIS 7 within an R session.''' (see also [[R_statistics/spgrass6]])&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
Using R in conjunction with GRASS GIS can have two meanings:&lt;br /&gt;
&lt;br /&gt;
* Using '''R within GRASS GIS session''', i.e. you start R (or RStudio) from the GRASS GIS command line. You may like this variant if you are primarily a GIS user.&lt;br /&gt;
* Using '''GRASS GIS within a R session''', i.e. you connect to a GRASS GIS location/mapset from within R (or RStudio). You may like this variant if you are primarily a R user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- not quite clear to the casual user..:&lt;br /&gt;
Keep in mind:&lt;br /&gt;
* if you already have a GRASS location/mapset, use R inside GRASS and do not use initGRASS();&lt;br /&gt;
* if the GRASS location/mapset is only a throwaway one, use initGRASS() and run GRASS inside R.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''References''': see &amp;quot;Overview&amp;quot; in [[R_statistics]]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
See [[R_statistics/Installation]]&lt;br /&gt;
&lt;br /&gt;
== R within GRASS ==&lt;br /&gt;
&lt;br /&gt;
Using '''R within GRASS GIS session''', i.e. you start R (or RStudio) from the GRASS GIS command line.&lt;br /&gt;
&lt;br /&gt;
=== Startup ===&lt;br /&gt;
&lt;br /&gt;
* First start a GRASS GIS session. Then, at the GRASS command line start ''R'' (for a 'rstudio' session, see below)&lt;br /&gt;
: ''In this example we will use the [http://grass.osgeo.org/download/sample-data/ North Carolina sample dataset].''&lt;br /&gt;
&lt;br /&gt;
Reset the region settings to the defaults&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS 7.0.1svn (nc_spm_08_grass7):~ &amp;gt; g.region -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Launch R from the GRASS prompt&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS 7.0.1svn (nc_spm_08_grass7):~ &amp;gt; R&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Load the ''rgrass7'' library:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you plan to follow the example using the North Carolina sample dataset, load the ''rgdal'' library:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgdal)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get the GRASS environment (mapset, region, map projection, etc.); you can display the metadata for your location by printing G:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
G &amp;lt;- gmeta()&lt;br /&gt;
gisdbase    /home/neteler/grassdata &lt;br /&gt;
location    nc_spm_08_grass7 &lt;br /&gt;
mapset      user1 &lt;br /&gt;
rows        620 &lt;br /&gt;
columns     1630 &lt;br /&gt;
north       320000 &lt;br /&gt;
south       10000 &lt;br /&gt;
west        120000 &lt;br /&gt;
east        935000 &lt;br /&gt;
nsres       500 &lt;br /&gt;
ewres       500 &lt;br /&gt;
projection  +proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
+lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
+rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1 &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Listing of existing maps ===&lt;br /&gt;
&lt;br /&gt;
List available vector maps:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List selected vector maps (wildcard):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;, pattern = &amp;quot;precip*&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save selected vector maps into R vector:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
my_vmaps &amp;lt;- execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;, pattern = &amp;quot;precip*&amp;quot;))&lt;br /&gt;
attributes(my_vmaps)&lt;br /&gt;
attributes(my_vmaps)$resOut&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List available raster maps:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;raster&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List selected raster maps (wildcard):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;raster&amp;quot;, pattern = &amp;quot;lsat7_2002*&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Reading in data from GRASS ===&lt;br /&gt;
&lt;br /&gt;
==== Example 1 ====&lt;br /&gt;
&lt;br /&gt;
Read in two GRASS raster maps (the maps &amp;quot;geology_30m&amp;quot; and &amp;quot;elevation&amp;quot; from the North Carolina sample data location) into the R current session as a new object &amp;quot;ncdata&amp;quot; (containing then two SpatialGridDataFrames as well as metadata):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# the cat parameter indicates which raster values to be returned as factors&lt;br /&gt;
# - geology_30m is a categorical map (i.e., it comes with classes)&lt;br /&gt;
# - elevation is a continuous surface&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
(A warning may appear since in the &amp;quot;geology_30m&amp;quot; map two labels are not unique - as found in the original data.)&lt;br /&gt;
&lt;br /&gt;
We can verify the new R object:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(ncdata)&lt;br /&gt;
Formal class 'SpatialGridDataFrame' [package &amp;quot;sp&amp;quot;] with 4 slots&lt;br /&gt;
 ..@ data       :'data.frame':	16616 obs. of  2 variables:&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and also check the data structure in more detail:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(ncdata@data)&lt;br /&gt;
'data.frame':	16616 obs. of  2 variables:&lt;br /&gt;
 $ geology_30m: Factor w/ 12 levels &amp;quot;CZfg_217&amp;quot;,&amp;quot;CZlg_262&amp;quot;,..: NA NA NA NA NA NA NA NA NA NA ...&lt;br /&gt;
 $ elevation  : num  NA NA NA NA NA NA NA NA NA NA ...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The metadata are now accessed and available, but are not (yet) used to structure the ''sp'' class objects, in this case a SpatialGridDataFrame object filled with data from two North Carolina layers. Here is a plot of the elevation data:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
image(ncdata, &amp;quot;elevation&amp;quot;, col = terrain.colors(20))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a title to the plot:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
title(&amp;quot;North Carolina elevation&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ncdata.png|center]]&lt;br /&gt;
&lt;br /&gt;
In addition, we can show what is going on inside the objects read into R:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(G)&lt;br /&gt;
List of 26&lt;br /&gt;
 $ DEBUG        : chr &amp;quot;0&amp;quot;&lt;br /&gt;
 $ LOCATION_NAME: chr &amp;quot;nc_spm_08_grass7&amp;quot;&lt;br /&gt;
 $ GISDBASE     : chr &amp;quot;/home/veroandreo/grassdata&amp;quot;&lt;br /&gt;
 $ MAPSET       : chr &amp;quot;PERMANENT&amp;quot;&lt;br /&gt;
 $ GUI          : chr &amp;quot;wxpython&amp;quot;&lt;br /&gt;
 $ projection   : chr &amp;quot;99&amp;quot;&lt;br /&gt;
 $ zone         : chr &amp;quot;0&amp;quot;&lt;br /&gt;
 $ n            : num 228500&lt;br /&gt;
 $ s            : num 215000&lt;br /&gt;
 $ w            : num 630000&lt;br /&gt;
 $ e            : num 645000&lt;br /&gt;
 $ t            : num 1&lt;br /&gt;
 $ b            : num 0&lt;br /&gt;
 $ nsres        : num 27.5&lt;br /&gt;
 $ nsres3       : num 10&lt;br /&gt;
 $ ewres        : num 37.5&lt;br /&gt;
 $ ewres3       : num 10&lt;br /&gt;
 $ tbres        : num 1&lt;br /&gt;
 $ rows         : int 491&lt;br /&gt;
 $ rows3        : int 1350&lt;br /&gt;
 $ cols         : int 400&lt;br /&gt;
 $ cols3        : int 1500&lt;br /&gt;
 $ depths       : int 1&lt;br /&gt;
 $ cells        : chr &amp;quot;196400&amp;quot;&lt;br /&gt;
 $ cells3       : chr &amp;quot;2025000&amp;quot;&lt;br /&gt;
 $ proj4        : chr &amp;quot;+proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137 +&amp;quot;| __truncated__&lt;br /&gt;
 - attr(*, &amp;quot;class&amp;quot;)= chr &amp;quot;gmeta&amp;quot;&lt;br /&gt;
&lt;br /&gt;
summary(ncdata)&lt;br /&gt;
Object of class SpatialGridDataFrame&lt;br /&gt;
Coordinates:&lt;br /&gt;
        min    max&lt;br /&gt;
[1,] 630000 645000&lt;br /&gt;
[2,] 215000 228500&lt;br /&gt;
Is projected: TRUE &lt;br /&gt;
proj4string :&lt;br /&gt;
[+proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
+lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
+rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1]&lt;br /&gt;
Grid attributes:&lt;br /&gt;
  cellcentre.offset cellsize cells.dim&lt;br /&gt;
1          630018.8 37.50000       400&lt;br /&gt;
2          215013.7 27.49491       491&lt;br /&gt;
Data attributes:&lt;br /&gt;
   geology_30m      elevation     &lt;br /&gt;
 CZfg_217:70381   Min.   : 55.92  &lt;br /&gt;
 CZig_270:66861   1st Qu.: 94.78  &lt;br /&gt;
 CZbg_405:24561   Median :108.88  &lt;br /&gt;
 CZlg_262:19287   Mean   :110.38  &lt;br /&gt;
 CZam_862: 6017   3rd Qu.:126.78  &lt;br /&gt;
 CZbg_910: 4351   Max.   :156.25  &lt;br /&gt;
 (Other) : 4942                   &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 2 ====&lt;br /&gt;
&lt;br /&gt;
Here an example for a single map transfer from GRASS GIS to R:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
execGRASS(&amp;quot;g.region&amp;quot;, raster = &amp;quot;elevation&amp;quot;, flags = &amp;quot;p&amp;quot;)&lt;br /&gt;
ncdata &amp;lt;- readRAST(&amp;quot;elevation&amp;quot;, cat=FALSE)&lt;br /&gt;
summary(ncdata)&lt;br /&gt;
spplot(ncdata, col = terrain.colors(20))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Summarizing data ===&lt;br /&gt;
&lt;br /&gt;
We can create a table of cell counts:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
table(ncdata$geology_30m)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!CZfg_217 &lt;br /&gt;
!CZlg_262 &lt;br /&gt;
!CZig_270 &lt;br /&gt;
!CZbg_405 &lt;br /&gt;
!CZve_583 &lt;br /&gt;
!CZam_720  &lt;br /&gt;
!CZg_766 &lt;br /&gt;
!CZam_862 &lt;br /&gt;
!CZbg_910   &lt;br /&gt;
!Km_921 &lt;br /&gt;
!CZbg_945 &lt;br /&gt;
!CZam_946 &lt;br /&gt;
!CZam_948&lt;br /&gt;
|-&lt;br /&gt;
|70381&lt;br /&gt;
|19287&lt;br /&gt;
|66861    &lt;br /&gt;
|24561     &lt;br /&gt;
|2089      &lt;br /&gt;
|467      &lt;br /&gt;
|691     &lt;br /&gt;
|6017 &lt;br /&gt;
|4351&lt;br /&gt;
|1211        &lt;br /&gt;
|1      &lt;br /&gt;
|398       &lt;br /&gt;
|85&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
And compare with the equivalent GRASS module:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;r.stats&amp;quot;, flags=c(&amp;quot;c&amp;quot;, &amp;quot;l&amp;quot;), parameters=list(input=&amp;quot;geology_30m&amp;quot;), ignore.stderr=TRUE)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
217 CZfg 70381&lt;br /&gt;
262 CZlg 19287&lt;br /&gt;
270 CZig 66861&lt;br /&gt;
405 CZbg 24561&lt;br /&gt;
583 CZve 2089&lt;br /&gt;
720 CZam 467&lt;br /&gt;
766 CZg 691&lt;br /&gt;
862 CZam 6017&lt;br /&gt;
910 CZbg 4351&lt;br /&gt;
921 Km 1211&lt;br /&gt;
945 CZbg 1&lt;br /&gt;
946 CZam 398&lt;br /&gt;
948 CZam 85&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a box plot of geologic types at different elevations:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
boxplot(ncdata$elevation ~ ncdata$geology_30m, medlwd = 1)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:boxplot_geo.png|center]]&lt;br /&gt;
&lt;br /&gt;
=== Querying maps ===&lt;br /&gt;
&lt;br /&gt;
Sometimes you may want to query GRASS GIS maps from your R session.&lt;br /&gt;
&lt;br /&gt;
As an example, here the transfer of raster pixel values at the position of vector points:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# set the computational region first to the raster map:&lt;br /&gt;
execGRASS(&amp;quot;g.region&amp;quot;, raster = &amp;quot;elev_state_500m&amp;quot;, flags = &amp;quot;p&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# query raster map at vector points, transfer result into R&lt;br /&gt;
goutput &amp;lt;- execGRASS(&amp;quot;r.what&amp;quot;, map=&amp;quot;elev_state_500m&amp;quot;, points=&amp;quot;geodetic_pts&amp;quot;, separator=&amp;quot;,&amp;quot;, intern=TRUE)&lt;br /&gt;
str(goutput)&lt;br /&gt;
chr [1:29939] &amp;quot;571530.81289275,265739.968425953,,187.8082200648&amp;quot; ...&lt;br /&gt;
&lt;br /&gt;
# parse it&lt;br /&gt;
con &amp;lt;- textConnection(goutput)&lt;br /&gt;
go1 &amp;lt;- read.csv(con, header=FALSE)&lt;br /&gt;
str(go1)&lt;br /&gt;
'data.frame':	29939 obs. of  4 variables:&lt;br /&gt;
 $ V1: num  571531 571359 571976 572391 573011 ...&lt;br /&gt;
 $ V2: num  265740 265987 267049 267513 269615 ...&lt;br /&gt;
 $ V3: logi  NA NA NA NA NA NA ...&lt;br /&gt;
 $ V4: Factor w/ 22738 levels &amp;quot;-0.0048115728&amp;quot;,..: 6859 6642 6749 6411 6356 6904 7506 7224 6908 7167 ...&lt;br /&gt;
summary(go1)&lt;br /&gt;
       V1               V2            V3                V4       &lt;br /&gt;
 Min.   :121862   Min.   :  7991   Mode:logical   0      :  723  &lt;br /&gt;
 1st Qu.:462706   1st Qu.:162508   NA's:29939     *      :  293  &lt;br /&gt;
 Median :610328   Median :204502                  0.3048 :   47  &lt;br /&gt;
 Mean   :588514   Mean   :200038                  0.6096 :   44  &lt;br /&gt;
 3rd Qu.:717610   3rd Qu.:247633                  1.524  :   42  &lt;br /&gt;
 Max.   :946743   Max.   :327186                  0.9144 :   23  &lt;br /&gt;
                                                  (Other):28767  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exporting data back to GRASS ===&lt;br /&gt;
&lt;br /&gt;
Finally, a SpatialGridDataFrame object is written back to a GRASS raster map:&lt;br /&gt;
&lt;br /&gt;
First prepare some data:  (square root of elevation)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
ncdata$sqdem &amp;lt;- sqrt(ncdata$elevation)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Export data from ''R'' back into a GRASS raster map:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
writeRAST(ncdata, &amp;quot;sqdemNC&amp;quot;, zcol=&amp;quot;sqdem&amp;quot;, ignore.stderr=TRUE)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check that it imported into GRASS ok:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;r.info&amp;quot;, parameters=list(map=&amp;quot;sqdemNC&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 +----------------------------------------------------------------------------+&lt;br /&gt;
 | Map:      sqdemNC                        Date: Sun Jul 19 13:06:34 2015    |&lt;br /&gt;
 | Mapset:   PERMANENT                      Login of Creator: veroandreo      |&lt;br /&gt;
 | Location: nc_spm_08_grass7                                                 |&lt;br /&gt;
 | DataBase: /home/veroandreo/grassdata                                       |&lt;br /&gt;
 | Title:     ( sqdemNC )                                                     |&lt;br /&gt;
 | Timestamp: none                                                            |&lt;br /&gt;
 |----------------------------------------------------------------------------|&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Type of Map:  raster               Number of Categories: 0               |&lt;br /&gt;
 |   Data Type:    DCELL                                                      |&lt;br /&gt;
 |   Rows:         491                                                        |&lt;br /&gt;
 |   Columns:      400                                                        |&lt;br /&gt;
 |   Total Cells:  196400                                                     |&lt;br /&gt;
 |        Projection: Lambert Conformal Conic                                 |&lt;br /&gt;
 |            N:     228500    S: 215000.0002   Res: 27.49490794              |&lt;br /&gt;
 |            E:     645000    W:     630000   Res:  37.5                     |&lt;br /&gt;
 |   Range of data:    min = 7.47818253045085  max = 12.5000787351036         |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Data Description:                                                        |&lt;br /&gt;
 |    generated by r.in.bin                                                   |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Comments:                                                                |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 +----------------------------------------------------------------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using RStudio in a GRASS GIS session ===&lt;br /&gt;
&lt;br /&gt;
If you are most used to run R through RStudio, but still want to have all GRASS data available for performing&lt;br /&gt;
any analyses without loosing the possibility of still using GRASS command line, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS&amp;gt; rstudio &amp;amp;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or, if you already are working on a certain RStudio project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS&amp;gt; rstudio /path/to/project/folder/ &amp;amp;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, you load rgrass7 library in your RStudio project&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you are ready to go.&lt;br /&gt;
&lt;br /&gt;
[[File:Grass7_rstudio.png|thumb|500px|center|RStudio used in GRASS GIS 7 session]]&lt;br /&gt;
&lt;br /&gt;
== GRASS within R ==&lt;br /&gt;
&lt;br /&gt;
Using '''GRASS GIS within a R session''', i.e. you connect to a GRASS GIS location/mapset from within R (or RStudio).&lt;br /&gt;
&lt;br /&gt;
=== Startup ===&lt;br /&gt;
&lt;br /&gt;
In the first place, find out the path to the GRASS GIS library. This can be easily done with the following command (still outside of R; or through a system() call inside of R):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# OSGeo4W users:&lt;br /&gt;
grass74 --config path&lt;br /&gt;
 &lt;br /&gt;
# Linux, Mac OSX users:&lt;br /&gt;
grass70 --config path&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It may report something like:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# OSGeo4W users:&lt;br /&gt;
C:\OSGEO4~1\apps\grass\grass-7.4.1&lt;br /&gt;
&lt;br /&gt;
# Linux, Mac OSX users:&lt;br /&gt;
/usr/local/grass-7.0.1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To call GRASS GIS 7 functionality from R, start R and use the initGRASS() function to define the GRASS settings:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
## OSgeo4W windows console may start in a directory for&lt;br /&gt;
## which the user does not have write access. Change on the&lt;br /&gt;
## OSgeo4W windows console to a directory with user's write access&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;d:&lt;br /&gt;
D:\&amp;gt;cd temp&lt;br /&gt;
D:\temp&amp;gt;cd testR&lt;br /&gt;
&lt;br /&gt;
## Then start R within this directory:&lt;br /&gt;
&lt;br /&gt;
D:\temp\testR&amp;gt;R&lt;br /&gt;
 &lt;br /&gt;
## MS-Windows users (example for an OSGeo4W 64bit installation):&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of North Carolina sample dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;C:/OSGeo4W64/apps/grass/grass-7.4.1&amp;quot;,&lt;br /&gt;
         gisDbase = &amp;quot;C:/Users/marissa/GRASSdata/&amp;quot;,&lt;br /&gt;
         location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
## Linux, Mac OSX users:&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of North Carolina sample dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;/usr/local/grass-7.0.1&amp;quot;, home = tempdir(), &lt;br /&gt;
          gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
          location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the optional SG parameter is a 'SpatialGrid' object to define the ‘DEFAULT_WIND’ of the temporary location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# set computational region to default (optional)&lt;br /&gt;
system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
# verify metadata&lt;br /&gt;
gmeta()&lt;br /&gt;
&lt;br /&gt;
# get two raster maps into R space&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
&lt;br /&gt;
# calculate object summaries&lt;br /&gt;
summary(ncdata$geology_30m)&lt;br /&gt;
 CZfg_217 CZlg_262 CZig_270 CZbg_405 CZve_583 CZam_720  CZg_766 CZam_862 &lt;br /&gt;
     292       78      277      102        8        1        2       25 &lt;br /&gt;
 CZbg_910   Km_921 CZam_946     NA's &lt;br /&gt;
      18        5        2  1009790 &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== R in GRASS in batch mode ==&lt;br /&gt;
&lt;br /&gt;
Run the following script with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
R CMD BATCH batch.R&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of north carolina dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu&amp;quot;, &lt;br /&gt;
          home = tempdir(), &lt;br /&gt;
          gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
          location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;,&lt;br /&gt;
          override = TRUE)&lt;br /&gt;
# set region to default&lt;br /&gt;
system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
# verify&lt;br /&gt;
gmeta()&lt;br /&gt;
# read data into R&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
# summary of geology map&lt;br /&gt;
summary(ncdata$geology_30m)&lt;br /&gt;
proc.time()&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The result is (shorted here):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cat batch.Rout&lt;br /&gt;
&amp;lt;/source&amp;gt;    &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
    R version 3.2.1 (2015-06-18) -- &amp;quot;World-Famous Astronaut&amp;quot;&lt;br /&gt;
    Copyright (C) 2015 The R Foundation for Statistical Computing&lt;br /&gt;
    Platform: x86_64-redhat-linux-gnu (64-bit)&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; library(rgrass7)&lt;br /&gt;
    Loading required package: sp&lt;br /&gt;
    Loading required package: XML&lt;br /&gt;
    GRASS GIS interface loaded with GRASS version: (GRASS not running)&lt;br /&gt;
    &amp;gt; # initialisation and the use of north carolina dataset&lt;br /&gt;
    &amp;gt; initGRASS(gisBase = &amp;quot;/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu&amp;quot;, home = tempdir(), &lt;br /&gt;
    +           gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
    +           location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;,&lt;br /&gt;
    +           override = TRUE)&lt;br /&gt;
    gisdbase    /home/veroandreo/grassdata/ &lt;br /&gt;
    location    nc_spm_08_grass7 &lt;br /&gt;
    mapset      user1 &lt;br /&gt;
    rows        620 &lt;br /&gt;
    columns     1630 &lt;br /&gt;
    north       320000 &lt;br /&gt;
    south       10000 &lt;br /&gt;
    west        120000 &lt;br /&gt;
    east        935000 &lt;br /&gt;
    nsres       500 &lt;br /&gt;
    ewres       500 &lt;br /&gt;
    projection  +proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
    +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
    +rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1 &lt;br /&gt;
    &lt;br /&gt;
    &amp;gt; system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
    projection: 99 (Lambert Conformal Conic)&lt;br /&gt;
    zone:       0&lt;br /&gt;
    datum:      nad83&lt;br /&gt;
    ellipsoid:  a=6378137 es=0.006694380022900787&lt;br /&gt;
    north:      320000&lt;br /&gt;
    south:      10000&lt;br /&gt;
    west:       120000&lt;br /&gt;
    east:       935000&lt;br /&gt;
    nsres:      500&lt;br /&gt;
    ewres:      500&lt;br /&gt;
    rows:       620&lt;br /&gt;
    cols:       1630&lt;br /&gt;
    cells:      1010600&lt;br /&gt;
    &amp;gt; gmeta()&lt;br /&gt;
    gisdbase    /home/veroandreo/grassdata/ &lt;br /&gt;
    location    nc_spm_08_grass7 &lt;br /&gt;
    mapset      user1 &lt;br /&gt;
    rows        620 &lt;br /&gt;
    columns     1630 &lt;br /&gt;
    north       320000 &lt;br /&gt;
    south       10000 &lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; summary(ncdata$geology_30m)&lt;br /&gt;
    CZfg_217 CZlg_262 CZig_270 CZbg_405 CZve_583 CZam_720  CZg_766 CZam_862 &lt;br /&gt;
         292       78      277      102        8        1        2       25 &lt;br /&gt;
    CZbg_910   Km_921 CZam_946     NA's &lt;br /&gt;
          18        5        2  1009790 &lt;br /&gt;
    &amp;gt; proc.time()&lt;br /&gt;
       user  system elapsed &lt;br /&gt;
      8.061   2.016  10.048&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Running out of disk space ===&lt;br /&gt;
&lt;br /&gt;
Linux: A common issue is that /tmp/ is used for temporary files albeit being often a small partition. To change that to a larger directory, you may add to your &amp;lt;tt&amp;gt;$HOME/.bashrc&amp;lt;/tt&amp;gt; the entry:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# change TMP directory of R (note: of course also another directory than suggested here is fine)&lt;br /&gt;
mkdir -p $HOME/tmp&lt;br /&gt;
export TMP=$HOME/tmp&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The drawback is that on modern Linux systems the /tmp/ is a fast RAM disk (based on tempfs) while HOME directories are often on slower spinning disks (unless you have a SSD drive). At least you no longer run out of disk space easily.&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Linking to other languages]]&lt;br /&gt;
[[Category:R]]&lt;br /&gt;
[[Category:Statistics]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=R_statistics/rgrass&amp;diff=25336</id>
		<title>R statistics/rgrass</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=R_statistics/rgrass&amp;diff=25336"/>
		<updated>2018-09-23T20:35:40Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Startup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This page refers to the usage of R within a GRASS GIS 7 session and the use of GRASS GIS 7 within an R session.''' (see also [[R_statistics/spgrass6]])&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
Using R in conjunction with GRASS GIS can have two meanings:&lt;br /&gt;
&lt;br /&gt;
* Using '''R within GRASS GIS session''', i.e. you start R (or RStudio) from the GRASS GIS command line. You may like this variant if you are primarily a GIS user.&lt;br /&gt;
* Using '''GRASS GIS within a R session''', i.e. you connect to a GRASS GIS location/mapset from within R (or RStudio). You may like this variant if you are primarily a R user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- not quite clear to the casual user..:&lt;br /&gt;
Keep in mind:&lt;br /&gt;
* if you already have a GRASS location/mapset, use R inside GRASS and do not use initGRASS();&lt;br /&gt;
* if the GRASS location/mapset is only a throwaway one, use initGRASS() and run GRASS inside R.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''References''': see &amp;quot;Overview&amp;quot; in [[R_statistics]]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
See [[R_statistics/Installation]]&lt;br /&gt;
&lt;br /&gt;
== R within GRASS ==&lt;br /&gt;
&lt;br /&gt;
Using '''R within GRASS GIS session''', i.e. you start R (or RStudio) from the GRASS GIS command line.&lt;br /&gt;
&lt;br /&gt;
=== Startup ===&lt;br /&gt;
&lt;br /&gt;
* First start a GRASS GIS session. Then, at the GRASS command line start ''R'' (for a 'rstudio' session, see below)&lt;br /&gt;
: ''In this example we will use the [http://grass.osgeo.org/download/sample-data/ North Carolina sample dataset].''&lt;br /&gt;
&lt;br /&gt;
Reset the region settings to the defaults&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS 7.0.1svn (nc_spm_08_grass7):~ &amp;gt; g.region -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Launch R from the GRASS prompt&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS 7.0.1svn (nc_spm_08_grass7):~ &amp;gt; R&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Load the ''rgrass7'' library:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you plan to follow the example using the North Carolina sample dataset, load the ''rgdal'' library:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgdal)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get the GRASS environment (mapset, region, map projection, etc.); you can display the metadata for your location by printing G:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
G &amp;lt;- gmeta()&lt;br /&gt;
gisdbase    /home/neteler/grassdata &lt;br /&gt;
location    nc_spm_08_grass7 &lt;br /&gt;
mapset      user1 &lt;br /&gt;
rows        620 &lt;br /&gt;
columns     1630 &lt;br /&gt;
north       320000 &lt;br /&gt;
south       10000 &lt;br /&gt;
west        120000 &lt;br /&gt;
east        935000 &lt;br /&gt;
nsres       500 &lt;br /&gt;
ewres       500 &lt;br /&gt;
projection  +proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
+lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
+rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1 &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Listing of existing maps ===&lt;br /&gt;
&lt;br /&gt;
List available vector maps:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List selected vector maps (wildcard):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;, pattern = &amp;quot;precip*&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save selected vector maps into R vector:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
my_vmaps &amp;lt;- execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;, pattern = &amp;quot;precip*&amp;quot;))&lt;br /&gt;
attributes(my_vmaps)&lt;br /&gt;
attributes(my_vmaps)$resOut&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List available raster maps:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;raster&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List selected raster maps (wildcard):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;raster&amp;quot;, pattern = &amp;quot;lsat7_2002*&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Reading in data from GRASS ===&lt;br /&gt;
&lt;br /&gt;
==== Example 1 ====&lt;br /&gt;
&lt;br /&gt;
Read in two GRASS raster maps (the maps &amp;quot;geology_30m&amp;quot; and &amp;quot;elevation&amp;quot; from the North Carolina sample data location) into the R current session as a new object &amp;quot;ncdata&amp;quot; (containing then two SpatialGridDataFrames as well as metadata):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# the cat parameter indicates which raster values to be returned as factors&lt;br /&gt;
# - geology_30m is a categorical map (i.e., it comes with classes)&lt;br /&gt;
# - elevation is a continuous surface&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
(A warning may appear since in the &amp;quot;geology_30m&amp;quot; map two labels are not unique - as found in the original data.)&lt;br /&gt;
&lt;br /&gt;
We can verify the new R object:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(ncdata)&lt;br /&gt;
Formal class 'SpatialGridDataFrame' [package &amp;quot;sp&amp;quot;] with 4 slots&lt;br /&gt;
 ..@ data       :'data.frame':	16616 obs. of  2 variables:&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and also check the data structure in more detail:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(ncdata@data)&lt;br /&gt;
'data.frame':	16616 obs. of  2 variables:&lt;br /&gt;
 $ geology_30m: Factor w/ 12 levels &amp;quot;CZfg_217&amp;quot;,&amp;quot;CZlg_262&amp;quot;,..: NA NA NA NA NA NA NA NA NA NA ...&lt;br /&gt;
 $ elevation  : num  NA NA NA NA NA NA NA NA NA NA ...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The metadata are now accessed and available, but are not (yet) used to structure the ''sp'' class objects, in this case a SpatialGridDataFrame object filled with data from two North Carolina layers. Here is a plot of the elevation data:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
image(ncdata, &amp;quot;elevation&amp;quot;, col = terrain.colors(20))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a title to the plot:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
title(&amp;quot;North Carolina elevation&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ncdata.png|center]]&lt;br /&gt;
&lt;br /&gt;
In addition, we can show what is going on inside the objects read into R:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(G)&lt;br /&gt;
List of 26&lt;br /&gt;
 $ DEBUG        : chr &amp;quot;0&amp;quot;&lt;br /&gt;
 $ LOCATION_NAME: chr &amp;quot;nc_spm_08_grass7&amp;quot;&lt;br /&gt;
 $ GISDBASE     : chr &amp;quot;/home/veroandreo/grassdata&amp;quot;&lt;br /&gt;
 $ MAPSET       : chr &amp;quot;PERMANENT&amp;quot;&lt;br /&gt;
 $ GUI          : chr &amp;quot;wxpython&amp;quot;&lt;br /&gt;
 $ projection   : chr &amp;quot;99&amp;quot;&lt;br /&gt;
 $ zone         : chr &amp;quot;0&amp;quot;&lt;br /&gt;
 $ n            : num 228500&lt;br /&gt;
 $ s            : num 215000&lt;br /&gt;
 $ w            : num 630000&lt;br /&gt;
 $ e            : num 645000&lt;br /&gt;
 $ t            : num 1&lt;br /&gt;
 $ b            : num 0&lt;br /&gt;
 $ nsres        : num 27.5&lt;br /&gt;
 $ nsres3       : num 10&lt;br /&gt;
 $ ewres        : num 37.5&lt;br /&gt;
 $ ewres3       : num 10&lt;br /&gt;
 $ tbres        : num 1&lt;br /&gt;
 $ rows         : int 491&lt;br /&gt;
 $ rows3        : int 1350&lt;br /&gt;
 $ cols         : int 400&lt;br /&gt;
 $ cols3        : int 1500&lt;br /&gt;
 $ depths       : int 1&lt;br /&gt;
 $ cells        : chr &amp;quot;196400&amp;quot;&lt;br /&gt;
 $ cells3       : chr &amp;quot;2025000&amp;quot;&lt;br /&gt;
 $ proj4        : chr &amp;quot;+proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137 +&amp;quot;| __truncated__&lt;br /&gt;
 - attr(*, &amp;quot;class&amp;quot;)= chr &amp;quot;gmeta&amp;quot;&lt;br /&gt;
&lt;br /&gt;
summary(ncdata)&lt;br /&gt;
Object of class SpatialGridDataFrame&lt;br /&gt;
Coordinates:&lt;br /&gt;
        min    max&lt;br /&gt;
[1,] 630000 645000&lt;br /&gt;
[2,] 215000 228500&lt;br /&gt;
Is projected: TRUE &lt;br /&gt;
proj4string :&lt;br /&gt;
[+proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
+lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
+rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1]&lt;br /&gt;
Grid attributes:&lt;br /&gt;
  cellcentre.offset cellsize cells.dim&lt;br /&gt;
1          630018.8 37.50000       400&lt;br /&gt;
2          215013.7 27.49491       491&lt;br /&gt;
Data attributes:&lt;br /&gt;
   geology_30m      elevation     &lt;br /&gt;
 CZfg_217:70381   Min.   : 55.92  &lt;br /&gt;
 CZig_270:66861   1st Qu.: 94.78  &lt;br /&gt;
 CZbg_405:24561   Median :108.88  &lt;br /&gt;
 CZlg_262:19287   Mean   :110.38  &lt;br /&gt;
 CZam_862: 6017   3rd Qu.:126.78  &lt;br /&gt;
 CZbg_910: 4351   Max.   :156.25  &lt;br /&gt;
 (Other) : 4942                   &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 2 ====&lt;br /&gt;
&lt;br /&gt;
Here an example for a single map transfer from GRASS GIS to R:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
execGRASS(&amp;quot;g.region&amp;quot;, raster = &amp;quot;elevation&amp;quot;, flags = &amp;quot;p&amp;quot;)&lt;br /&gt;
ncdata &amp;lt;- readRAST(&amp;quot;elevation&amp;quot;, cat=FALSE)&lt;br /&gt;
summary(ncdata)&lt;br /&gt;
spplot(ncdata, col = terrain.colors(20))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Summarizing data ===&lt;br /&gt;
&lt;br /&gt;
We can create a table of cell counts:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
table(ncdata$geology_30m)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!CZfg_217 &lt;br /&gt;
!CZlg_262 &lt;br /&gt;
!CZig_270 &lt;br /&gt;
!CZbg_405 &lt;br /&gt;
!CZve_583 &lt;br /&gt;
!CZam_720  &lt;br /&gt;
!CZg_766 &lt;br /&gt;
!CZam_862 &lt;br /&gt;
!CZbg_910   &lt;br /&gt;
!Km_921 &lt;br /&gt;
!CZbg_945 &lt;br /&gt;
!CZam_946 &lt;br /&gt;
!CZam_948&lt;br /&gt;
|-&lt;br /&gt;
|70381&lt;br /&gt;
|19287&lt;br /&gt;
|66861    &lt;br /&gt;
|24561     &lt;br /&gt;
|2089      &lt;br /&gt;
|467      &lt;br /&gt;
|691     &lt;br /&gt;
|6017 &lt;br /&gt;
|4351&lt;br /&gt;
|1211        &lt;br /&gt;
|1      &lt;br /&gt;
|398       &lt;br /&gt;
|85&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
And compare with the equivalent GRASS module:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;r.stats&amp;quot;, flags=c(&amp;quot;c&amp;quot;, &amp;quot;l&amp;quot;), parameters=list(input=&amp;quot;geology_30m&amp;quot;), ignore.stderr=TRUE)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
217 CZfg 70381&lt;br /&gt;
262 CZlg 19287&lt;br /&gt;
270 CZig 66861&lt;br /&gt;
405 CZbg 24561&lt;br /&gt;
583 CZve 2089&lt;br /&gt;
720 CZam 467&lt;br /&gt;
766 CZg 691&lt;br /&gt;
862 CZam 6017&lt;br /&gt;
910 CZbg 4351&lt;br /&gt;
921 Km 1211&lt;br /&gt;
945 CZbg 1&lt;br /&gt;
946 CZam 398&lt;br /&gt;
948 CZam 85&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a box plot of geologic types at different elevations:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
boxplot(ncdata$elevation ~ ncdata$geology_30m, medlwd = 1)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:boxplot_geo.png|center]]&lt;br /&gt;
&lt;br /&gt;
=== Querying maps ===&lt;br /&gt;
&lt;br /&gt;
Sometimes you may want to query GRASS GIS maps from your R session.&lt;br /&gt;
&lt;br /&gt;
As an example, here the transfer of raster pixel values at the position of vector points:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# set the computational region first to the raster map:&lt;br /&gt;
execGRASS(&amp;quot;g.region&amp;quot;, raster = &amp;quot;elev_state_500m&amp;quot;, flags = &amp;quot;p&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# query raster map at vector points, transfer result into R&lt;br /&gt;
goutput &amp;lt;- execGRASS(&amp;quot;r.what&amp;quot;, map=&amp;quot;elev_state_500m&amp;quot;, points=&amp;quot;geodetic_pts&amp;quot;, separator=&amp;quot;,&amp;quot;, intern=TRUE)&lt;br /&gt;
str(goutput)&lt;br /&gt;
chr [1:29939] &amp;quot;571530.81289275,265739.968425953,,187.8082200648&amp;quot; ...&lt;br /&gt;
&lt;br /&gt;
# parse it&lt;br /&gt;
con &amp;lt;- textConnection(goutput)&lt;br /&gt;
go1 &amp;lt;- read.csv(con, header=FALSE)&lt;br /&gt;
str(go1)&lt;br /&gt;
'data.frame':	29939 obs. of  4 variables:&lt;br /&gt;
 $ V1: num  571531 571359 571976 572391 573011 ...&lt;br /&gt;
 $ V2: num  265740 265987 267049 267513 269615 ...&lt;br /&gt;
 $ V3: logi  NA NA NA NA NA NA ...&lt;br /&gt;
 $ V4: Factor w/ 22738 levels &amp;quot;-0.0048115728&amp;quot;,..: 6859 6642 6749 6411 6356 6904 7506 7224 6908 7167 ...&lt;br /&gt;
summary(go1)&lt;br /&gt;
       V1               V2            V3                V4       &lt;br /&gt;
 Min.   :121862   Min.   :  7991   Mode:logical   0      :  723  &lt;br /&gt;
 1st Qu.:462706   1st Qu.:162508   NA's:29939     *      :  293  &lt;br /&gt;
 Median :610328   Median :204502                  0.3048 :   47  &lt;br /&gt;
 Mean   :588514   Mean   :200038                  0.6096 :   44  &lt;br /&gt;
 3rd Qu.:717610   3rd Qu.:247633                  1.524  :   42  &lt;br /&gt;
 Max.   :946743   Max.   :327186                  0.9144 :   23  &lt;br /&gt;
                                                  (Other):28767  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exporting data back to GRASS ===&lt;br /&gt;
&lt;br /&gt;
Finally, a SpatialGridDataFrame object is written back to a GRASS raster map:&lt;br /&gt;
&lt;br /&gt;
First prepare some data:  (square root of elevation)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
ncdata$sqdem &amp;lt;- sqrt(ncdata$elevation)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Export data from ''R'' back into a GRASS raster map:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
writeRAST(ncdata, &amp;quot;sqdemNC&amp;quot;, zcol=&amp;quot;sqdem&amp;quot;, ignore.stderr=TRUE)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check that it imported into GRASS ok:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;r.info&amp;quot;, parameters=list(map=&amp;quot;sqdemNC&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 +----------------------------------------------------------------------------+&lt;br /&gt;
 | Map:      sqdemNC                        Date: Sun Jul 19 13:06:34 2015    |&lt;br /&gt;
 | Mapset:   PERMANENT                      Login of Creator: veroandreo      |&lt;br /&gt;
 | Location: nc_spm_08_grass7                                                 |&lt;br /&gt;
 | DataBase: /home/veroandreo/grassdata                                       |&lt;br /&gt;
 | Title:     ( sqdemNC )                                                     |&lt;br /&gt;
 | Timestamp: none                                                            |&lt;br /&gt;
 |----------------------------------------------------------------------------|&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Type of Map:  raster               Number of Categories: 0               |&lt;br /&gt;
 |   Data Type:    DCELL                                                      |&lt;br /&gt;
 |   Rows:         491                                                        |&lt;br /&gt;
 |   Columns:      400                                                        |&lt;br /&gt;
 |   Total Cells:  196400                                                     |&lt;br /&gt;
 |        Projection: Lambert Conformal Conic                                 |&lt;br /&gt;
 |            N:     228500    S: 215000.0002   Res: 27.49490794              |&lt;br /&gt;
 |            E:     645000    W:     630000   Res:  37.5                     |&lt;br /&gt;
 |   Range of data:    min = 7.47818253045085  max = 12.5000787351036         |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Data Description:                                                        |&lt;br /&gt;
 |    generated by r.in.bin                                                   |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Comments:                                                                |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 +----------------------------------------------------------------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using RStudio in a GRASS GIS session ===&lt;br /&gt;
&lt;br /&gt;
If you are most used to run R through RStudio, but still want to have all GRASS data available for performing&lt;br /&gt;
any analyses without loosing the possibility of still using GRASS command line, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS&amp;gt; rstudio &amp;amp;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or, if you already are working on a certain RStudio project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS&amp;gt; rstudio /path/to/project/folder/ &amp;amp;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, you load rgrass7 library in your RStudio project&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you are ready to go.&lt;br /&gt;
&lt;br /&gt;
[[File:Grass7_rstudio.png|thumb|500px|center|RStudio used in GRASS GIS 7 session]]&lt;br /&gt;
&lt;br /&gt;
== GRASS within R ==&lt;br /&gt;
&lt;br /&gt;
Using '''GRASS GIS within a R session''', i.e. you connect to a GRASS GIS location/mapset from within R (or RStudio).&lt;br /&gt;
&lt;br /&gt;
=== Startup ===&lt;br /&gt;
&lt;br /&gt;
In the first place, find out the path to the GRASS GIS library. This can be easily done with the following command (still outside of R; or through a system() call inside of R):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# OSGeo4W users:&lt;br /&gt;
grass74 --config path&lt;br /&gt;
 &lt;br /&gt;
# Linux, Mac OSX users:&lt;br /&gt;
grass70 --config path&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It may report something like:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# OSGeo4W users:&lt;br /&gt;
C:\OSGEO4~1\apps\grass\grass-7.4.1&lt;br /&gt;
&lt;br /&gt;
# Linux, Mac OSX users:&lt;br /&gt;
/usr/local/grass-7.0.1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To call GRASS GIS 7 functionality from R, start R and use the initGRASS() function to define the GRASS settings:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
## MS-Windows users (example for a OSGeo4W 64bit installation):&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of North Carolina sample dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;C:/OSGeo4W64/apps/grass/grass-7.4.1&amp;quot;,&lt;br /&gt;
         gisDbase = &amp;quot;C:/Users/marissa/GRASSdata/&amp;quot;,&lt;br /&gt;
         location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
## Linux, Mac OSX users:&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of North Carolina sample dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;/usr/local/grass-7.0.1&amp;quot;, home = tempdir(), &lt;br /&gt;
          gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
          location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the optional SG parameter is a 'SpatialGrid' object to define the ‘DEFAULT_WIND’ of the temporary location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# set computational region to default (optional)&lt;br /&gt;
system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
# verify metadata&lt;br /&gt;
gmeta()&lt;br /&gt;
&lt;br /&gt;
# get two raster maps into R space&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
&lt;br /&gt;
# calculate object summaries&lt;br /&gt;
summary(ncdata$geology_30m)&lt;br /&gt;
 CZfg_217 CZlg_262 CZig_270 CZbg_405 CZve_583 CZam_720  CZg_766 CZam_862 &lt;br /&gt;
     292       78      277      102        8        1        2       25 &lt;br /&gt;
 CZbg_910   Km_921 CZam_946     NA's &lt;br /&gt;
      18        5        2  1009790 &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== R in GRASS in batch mode ==&lt;br /&gt;
&lt;br /&gt;
Run the following script with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
R CMD BATCH batch.R&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of north carolina dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu&amp;quot;, &lt;br /&gt;
          home = tempdir(), &lt;br /&gt;
          gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
          location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;,&lt;br /&gt;
          override = TRUE)&lt;br /&gt;
# set region to default&lt;br /&gt;
system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
# verify&lt;br /&gt;
gmeta()&lt;br /&gt;
# read data into R&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
# summary of geology map&lt;br /&gt;
summary(ncdata$geology_30m)&lt;br /&gt;
proc.time()&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The result is (shorted here):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cat batch.Rout&lt;br /&gt;
&amp;lt;/source&amp;gt;    &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
    R version 3.2.1 (2015-06-18) -- &amp;quot;World-Famous Astronaut&amp;quot;&lt;br /&gt;
    Copyright (C) 2015 The R Foundation for Statistical Computing&lt;br /&gt;
    Platform: x86_64-redhat-linux-gnu (64-bit)&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; library(rgrass7)&lt;br /&gt;
    Loading required package: sp&lt;br /&gt;
    Loading required package: XML&lt;br /&gt;
    GRASS GIS interface loaded with GRASS version: (GRASS not running)&lt;br /&gt;
    &amp;gt; # initialisation and the use of north carolina dataset&lt;br /&gt;
    &amp;gt; initGRASS(gisBase = &amp;quot;/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu&amp;quot;, home = tempdir(), &lt;br /&gt;
    +           gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
    +           location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;,&lt;br /&gt;
    +           override = TRUE)&lt;br /&gt;
    gisdbase    /home/veroandreo/grassdata/ &lt;br /&gt;
    location    nc_spm_08_grass7 &lt;br /&gt;
    mapset      user1 &lt;br /&gt;
    rows        620 &lt;br /&gt;
    columns     1630 &lt;br /&gt;
    north       320000 &lt;br /&gt;
    south       10000 &lt;br /&gt;
    west        120000 &lt;br /&gt;
    east        935000 &lt;br /&gt;
    nsres       500 &lt;br /&gt;
    ewres       500 &lt;br /&gt;
    projection  +proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
    +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
    +rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1 &lt;br /&gt;
    &lt;br /&gt;
    &amp;gt; system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
    projection: 99 (Lambert Conformal Conic)&lt;br /&gt;
    zone:       0&lt;br /&gt;
    datum:      nad83&lt;br /&gt;
    ellipsoid:  a=6378137 es=0.006694380022900787&lt;br /&gt;
    north:      320000&lt;br /&gt;
    south:      10000&lt;br /&gt;
    west:       120000&lt;br /&gt;
    east:       935000&lt;br /&gt;
    nsres:      500&lt;br /&gt;
    ewres:      500&lt;br /&gt;
    rows:       620&lt;br /&gt;
    cols:       1630&lt;br /&gt;
    cells:      1010600&lt;br /&gt;
    &amp;gt; gmeta()&lt;br /&gt;
    gisdbase    /home/veroandreo/grassdata/ &lt;br /&gt;
    location    nc_spm_08_grass7 &lt;br /&gt;
    mapset      user1 &lt;br /&gt;
    rows        620 &lt;br /&gt;
    columns     1630 &lt;br /&gt;
    north       320000 &lt;br /&gt;
    south       10000 &lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; summary(ncdata$geology_30m)&lt;br /&gt;
    CZfg_217 CZlg_262 CZig_270 CZbg_405 CZve_583 CZam_720  CZg_766 CZam_862 &lt;br /&gt;
         292       78      277      102        8        1        2       25 &lt;br /&gt;
    CZbg_910   Km_921 CZam_946     NA's &lt;br /&gt;
          18        5        2  1009790 &lt;br /&gt;
    &amp;gt; proc.time()&lt;br /&gt;
       user  system elapsed &lt;br /&gt;
      8.061   2.016  10.048&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Running out of disk space ===&lt;br /&gt;
&lt;br /&gt;
Linux: A common issue is that /tmp/ is used for temporary files albeit being often a small partition. To change that to a larger directory, you may add to your &amp;lt;tt&amp;gt;$HOME/.bashrc&amp;lt;/tt&amp;gt; the entry:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# change TMP directory of R (note: of course also another directory than suggested here is fine)&lt;br /&gt;
mkdir -p $HOME/tmp&lt;br /&gt;
export TMP=$HOME/tmp&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The drawback is that on modern Linux systems the /tmp/ is a fast RAM disk (based on tempfs) while HOME directories are often on slower spinning disks (unless you have a SSD drive). At least you no longer run out of disk space easily.&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Linking to other languages]]&lt;br /&gt;
[[Category:R]]&lt;br /&gt;
[[Category:Statistics]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=R_statistics/rgrass&amp;diff=25335</id>
		<title>R statistics/rgrass</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=R_statistics/rgrass&amp;diff=25335"/>
		<updated>2018-09-23T20:34:09Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Startup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This page refers to the usage of R within a GRASS GIS 7 session and the use of GRASS GIS 7 within an R session.''' (see also [[R_statistics/spgrass6]])&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
Using R in conjunction with GRASS GIS can have two meanings:&lt;br /&gt;
&lt;br /&gt;
* Using '''R within GRASS GIS session''', i.e. you start R (or RStudio) from the GRASS GIS command line. You may like this variant if you are primarily a GIS user.&lt;br /&gt;
* Using '''GRASS GIS within a R session''', i.e. you connect to a GRASS GIS location/mapset from within R (or RStudio). You may like this variant if you are primarily a R user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- not quite clear to the casual user..:&lt;br /&gt;
Keep in mind:&lt;br /&gt;
* if you already have a GRASS location/mapset, use R inside GRASS and do not use initGRASS();&lt;br /&gt;
* if the GRASS location/mapset is only a throwaway one, use initGRASS() and run GRASS inside R.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''References''': see &amp;quot;Overview&amp;quot; in [[R_statistics]]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
See [[R_statistics/Installation]]&lt;br /&gt;
&lt;br /&gt;
== R within GRASS ==&lt;br /&gt;
&lt;br /&gt;
Using '''R within GRASS GIS session''', i.e. you start R (or RStudio) from the GRASS GIS command line.&lt;br /&gt;
&lt;br /&gt;
=== Startup ===&lt;br /&gt;
&lt;br /&gt;
* First start a GRASS GIS session. Then, at the GRASS command line start ''R'' (for a 'rstudio' session, see below)&lt;br /&gt;
: ''In this example we will use the [http://grass.osgeo.org/download/sample-data/ North Carolina sample dataset].''&lt;br /&gt;
&lt;br /&gt;
Reset the region settings to the defaults&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS 7.0.1svn (nc_spm_08_grass7):~ &amp;gt; g.region -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Launch R from the GRASS prompt&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS 7.0.1svn (nc_spm_08_grass7):~ &amp;gt; R&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Load the ''rgrass7'' library:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you plan to follow the example using the North Carolina sample dataset, load the ''rgdal'' library:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgdal)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get the GRASS environment (mapset, region, map projection, etc.); you can display the metadata for your location by printing G:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
G &amp;lt;- gmeta()&lt;br /&gt;
gisdbase    /home/neteler/grassdata &lt;br /&gt;
location    nc_spm_08_grass7 &lt;br /&gt;
mapset      user1 &lt;br /&gt;
rows        620 &lt;br /&gt;
columns     1630 &lt;br /&gt;
north       320000 &lt;br /&gt;
south       10000 &lt;br /&gt;
west        120000 &lt;br /&gt;
east        935000 &lt;br /&gt;
nsres       500 &lt;br /&gt;
ewres       500 &lt;br /&gt;
projection  +proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
+lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
+rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1 &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Listing of existing maps ===&lt;br /&gt;
&lt;br /&gt;
List available vector maps:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List selected vector maps (wildcard):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;, pattern = &amp;quot;precip*&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save selected vector maps into R vector:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
my_vmaps &amp;lt;- execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;, pattern = &amp;quot;precip*&amp;quot;))&lt;br /&gt;
attributes(my_vmaps)&lt;br /&gt;
attributes(my_vmaps)$resOut&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List available raster maps:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;raster&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List selected raster maps (wildcard):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;raster&amp;quot;, pattern = &amp;quot;lsat7_2002*&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Reading in data from GRASS ===&lt;br /&gt;
&lt;br /&gt;
==== Example 1 ====&lt;br /&gt;
&lt;br /&gt;
Read in two GRASS raster maps (the maps &amp;quot;geology_30m&amp;quot; and &amp;quot;elevation&amp;quot; from the North Carolina sample data location) into the R current session as a new object &amp;quot;ncdata&amp;quot; (containing then two SpatialGridDataFrames as well as metadata):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# the cat parameter indicates which raster values to be returned as factors&lt;br /&gt;
# - geology_30m is a categorical map (i.e., it comes with classes)&lt;br /&gt;
# - elevation is a continuous surface&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
(A warning may appear since in the &amp;quot;geology_30m&amp;quot; map two labels are not unique - as found in the original data.)&lt;br /&gt;
&lt;br /&gt;
We can verify the new R object:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(ncdata)&lt;br /&gt;
Formal class 'SpatialGridDataFrame' [package &amp;quot;sp&amp;quot;] with 4 slots&lt;br /&gt;
 ..@ data       :'data.frame':	16616 obs. of  2 variables:&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and also check the data structure in more detail:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(ncdata@data)&lt;br /&gt;
'data.frame':	16616 obs. of  2 variables:&lt;br /&gt;
 $ geology_30m: Factor w/ 12 levels &amp;quot;CZfg_217&amp;quot;,&amp;quot;CZlg_262&amp;quot;,..: NA NA NA NA NA NA NA NA NA NA ...&lt;br /&gt;
 $ elevation  : num  NA NA NA NA NA NA NA NA NA NA ...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The metadata are now accessed and available, but are not (yet) used to structure the ''sp'' class objects, in this case a SpatialGridDataFrame object filled with data from two North Carolina layers. Here is a plot of the elevation data:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
image(ncdata, &amp;quot;elevation&amp;quot;, col = terrain.colors(20))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a title to the plot:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
title(&amp;quot;North Carolina elevation&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ncdata.png|center]]&lt;br /&gt;
&lt;br /&gt;
In addition, we can show what is going on inside the objects read into R:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(G)&lt;br /&gt;
List of 26&lt;br /&gt;
 $ DEBUG        : chr &amp;quot;0&amp;quot;&lt;br /&gt;
 $ LOCATION_NAME: chr &amp;quot;nc_spm_08_grass7&amp;quot;&lt;br /&gt;
 $ GISDBASE     : chr &amp;quot;/home/veroandreo/grassdata&amp;quot;&lt;br /&gt;
 $ MAPSET       : chr &amp;quot;PERMANENT&amp;quot;&lt;br /&gt;
 $ GUI          : chr &amp;quot;wxpython&amp;quot;&lt;br /&gt;
 $ projection   : chr &amp;quot;99&amp;quot;&lt;br /&gt;
 $ zone         : chr &amp;quot;0&amp;quot;&lt;br /&gt;
 $ n            : num 228500&lt;br /&gt;
 $ s            : num 215000&lt;br /&gt;
 $ w            : num 630000&lt;br /&gt;
 $ e            : num 645000&lt;br /&gt;
 $ t            : num 1&lt;br /&gt;
 $ b            : num 0&lt;br /&gt;
 $ nsres        : num 27.5&lt;br /&gt;
 $ nsres3       : num 10&lt;br /&gt;
 $ ewres        : num 37.5&lt;br /&gt;
 $ ewres3       : num 10&lt;br /&gt;
 $ tbres        : num 1&lt;br /&gt;
 $ rows         : int 491&lt;br /&gt;
 $ rows3        : int 1350&lt;br /&gt;
 $ cols         : int 400&lt;br /&gt;
 $ cols3        : int 1500&lt;br /&gt;
 $ depths       : int 1&lt;br /&gt;
 $ cells        : chr &amp;quot;196400&amp;quot;&lt;br /&gt;
 $ cells3       : chr &amp;quot;2025000&amp;quot;&lt;br /&gt;
 $ proj4        : chr &amp;quot;+proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137 +&amp;quot;| __truncated__&lt;br /&gt;
 - attr(*, &amp;quot;class&amp;quot;)= chr &amp;quot;gmeta&amp;quot;&lt;br /&gt;
&lt;br /&gt;
summary(ncdata)&lt;br /&gt;
Object of class SpatialGridDataFrame&lt;br /&gt;
Coordinates:&lt;br /&gt;
        min    max&lt;br /&gt;
[1,] 630000 645000&lt;br /&gt;
[2,] 215000 228500&lt;br /&gt;
Is projected: TRUE &lt;br /&gt;
proj4string :&lt;br /&gt;
[+proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
+lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
+rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1]&lt;br /&gt;
Grid attributes:&lt;br /&gt;
  cellcentre.offset cellsize cells.dim&lt;br /&gt;
1          630018.8 37.50000       400&lt;br /&gt;
2          215013.7 27.49491       491&lt;br /&gt;
Data attributes:&lt;br /&gt;
   geology_30m      elevation     &lt;br /&gt;
 CZfg_217:70381   Min.   : 55.92  &lt;br /&gt;
 CZig_270:66861   1st Qu.: 94.78  &lt;br /&gt;
 CZbg_405:24561   Median :108.88  &lt;br /&gt;
 CZlg_262:19287   Mean   :110.38  &lt;br /&gt;
 CZam_862: 6017   3rd Qu.:126.78  &lt;br /&gt;
 CZbg_910: 4351   Max.   :156.25  &lt;br /&gt;
 (Other) : 4942                   &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 2 ====&lt;br /&gt;
&lt;br /&gt;
Here an example for a single map transfer from GRASS GIS to R:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
execGRASS(&amp;quot;g.region&amp;quot;, raster = &amp;quot;elevation&amp;quot;, flags = &amp;quot;p&amp;quot;)&lt;br /&gt;
ncdata &amp;lt;- readRAST(&amp;quot;elevation&amp;quot;, cat=FALSE)&lt;br /&gt;
summary(ncdata)&lt;br /&gt;
spplot(ncdata, col = terrain.colors(20))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Summarizing data ===&lt;br /&gt;
&lt;br /&gt;
We can create a table of cell counts:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
table(ncdata$geology_30m)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!CZfg_217 &lt;br /&gt;
!CZlg_262 &lt;br /&gt;
!CZig_270 &lt;br /&gt;
!CZbg_405 &lt;br /&gt;
!CZve_583 &lt;br /&gt;
!CZam_720  &lt;br /&gt;
!CZg_766 &lt;br /&gt;
!CZam_862 &lt;br /&gt;
!CZbg_910   &lt;br /&gt;
!Km_921 &lt;br /&gt;
!CZbg_945 &lt;br /&gt;
!CZam_946 &lt;br /&gt;
!CZam_948&lt;br /&gt;
|-&lt;br /&gt;
|70381&lt;br /&gt;
|19287&lt;br /&gt;
|66861    &lt;br /&gt;
|24561     &lt;br /&gt;
|2089      &lt;br /&gt;
|467      &lt;br /&gt;
|691     &lt;br /&gt;
|6017 &lt;br /&gt;
|4351&lt;br /&gt;
|1211        &lt;br /&gt;
|1      &lt;br /&gt;
|398       &lt;br /&gt;
|85&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
And compare with the equivalent GRASS module:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;r.stats&amp;quot;, flags=c(&amp;quot;c&amp;quot;, &amp;quot;l&amp;quot;), parameters=list(input=&amp;quot;geology_30m&amp;quot;), ignore.stderr=TRUE)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
217 CZfg 70381&lt;br /&gt;
262 CZlg 19287&lt;br /&gt;
270 CZig 66861&lt;br /&gt;
405 CZbg 24561&lt;br /&gt;
583 CZve 2089&lt;br /&gt;
720 CZam 467&lt;br /&gt;
766 CZg 691&lt;br /&gt;
862 CZam 6017&lt;br /&gt;
910 CZbg 4351&lt;br /&gt;
921 Km 1211&lt;br /&gt;
945 CZbg 1&lt;br /&gt;
946 CZam 398&lt;br /&gt;
948 CZam 85&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a box plot of geologic types at different elevations:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
boxplot(ncdata$elevation ~ ncdata$geology_30m, medlwd = 1)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:boxplot_geo.png|center]]&lt;br /&gt;
&lt;br /&gt;
=== Querying maps ===&lt;br /&gt;
&lt;br /&gt;
Sometimes you may want to query GRASS GIS maps from your R session.&lt;br /&gt;
&lt;br /&gt;
As an example, here the transfer of raster pixel values at the position of vector points:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# set the computational region first to the raster map:&lt;br /&gt;
execGRASS(&amp;quot;g.region&amp;quot;, raster = &amp;quot;elev_state_500m&amp;quot;, flags = &amp;quot;p&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# query raster map at vector points, transfer result into R&lt;br /&gt;
goutput &amp;lt;- execGRASS(&amp;quot;r.what&amp;quot;, map=&amp;quot;elev_state_500m&amp;quot;, points=&amp;quot;geodetic_pts&amp;quot;, separator=&amp;quot;,&amp;quot;, intern=TRUE)&lt;br /&gt;
str(goutput)&lt;br /&gt;
chr [1:29939] &amp;quot;571530.81289275,265739.968425953,,187.8082200648&amp;quot; ...&lt;br /&gt;
&lt;br /&gt;
# parse it&lt;br /&gt;
con &amp;lt;- textConnection(goutput)&lt;br /&gt;
go1 &amp;lt;- read.csv(con, header=FALSE)&lt;br /&gt;
str(go1)&lt;br /&gt;
'data.frame':	29939 obs. of  4 variables:&lt;br /&gt;
 $ V1: num  571531 571359 571976 572391 573011 ...&lt;br /&gt;
 $ V2: num  265740 265987 267049 267513 269615 ...&lt;br /&gt;
 $ V3: logi  NA NA NA NA NA NA ...&lt;br /&gt;
 $ V4: Factor w/ 22738 levels &amp;quot;-0.0048115728&amp;quot;,..: 6859 6642 6749 6411 6356 6904 7506 7224 6908 7167 ...&lt;br /&gt;
summary(go1)&lt;br /&gt;
       V1               V2            V3                V4       &lt;br /&gt;
 Min.   :121862   Min.   :  7991   Mode:logical   0      :  723  &lt;br /&gt;
 1st Qu.:462706   1st Qu.:162508   NA's:29939     *      :  293  &lt;br /&gt;
 Median :610328   Median :204502                  0.3048 :   47  &lt;br /&gt;
 Mean   :588514   Mean   :200038                  0.6096 :   44  &lt;br /&gt;
 3rd Qu.:717610   3rd Qu.:247633                  1.524  :   42  &lt;br /&gt;
 Max.   :946743   Max.   :327186                  0.9144 :   23  &lt;br /&gt;
                                                  (Other):28767  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exporting data back to GRASS ===&lt;br /&gt;
&lt;br /&gt;
Finally, a SpatialGridDataFrame object is written back to a GRASS raster map:&lt;br /&gt;
&lt;br /&gt;
First prepare some data:  (square root of elevation)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
ncdata$sqdem &amp;lt;- sqrt(ncdata$elevation)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Export data from ''R'' back into a GRASS raster map:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
writeRAST(ncdata, &amp;quot;sqdemNC&amp;quot;, zcol=&amp;quot;sqdem&amp;quot;, ignore.stderr=TRUE)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check that it imported into GRASS ok:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;r.info&amp;quot;, parameters=list(map=&amp;quot;sqdemNC&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 +----------------------------------------------------------------------------+&lt;br /&gt;
 | Map:      sqdemNC                        Date: Sun Jul 19 13:06:34 2015    |&lt;br /&gt;
 | Mapset:   PERMANENT                      Login of Creator: veroandreo      |&lt;br /&gt;
 | Location: nc_spm_08_grass7                                                 |&lt;br /&gt;
 | DataBase: /home/veroandreo/grassdata                                       |&lt;br /&gt;
 | Title:     ( sqdemNC )                                                     |&lt;br /&gt;
 | Timestamp: none                                                            |&lt;br /&gt;
 |----------------------------------------------------------------------------|&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Type of Map:  raster               Number of Categories: 0               |&lt;br /&gt;
 |   Data Type:    DCELL                                                      |&lt;br /&gt;
 |   Rows:         491                                                        |&lt;br /&gt;
 |   Columns:      400                                                        |&lt;br /&gt;
 |   Total Cells:  196400                                                     |&lt;br /&gt;
 |        Projection: Lambert Conformal Conic                                 |&lt;br /&gt;
 |            N:     228500    S: 215000.0002   Res: 27.49490794              |&lt;br /&gt;
 |            E:     645000    W:     630000   Res:  37.5                     |&lt;br /&gt;
 |   Range of data:    min = 7.47818253045085  max = 12.5000787351036         |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Data Description:                                                        |&lt;br /&gt;
 |    generated by r.in.bin                                                   |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Comments:                                                                |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 +----------------------------------------------------------------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using RStudio in a GRASS GIS session ===&lt;br /&gt;
&lt;br /&gt;
If you are most used to run R through RStudio, but still want to have all GRASS data available for performing&lt;br /&gt;
any analyses without loosing the possibility of still using GRASS command line, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS&amp;gt; rstudio &amp;amp;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or, if you already are working on a certain RStudio project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS&amp;gt; rstudio /path/to/project/folder/ &amp;amp;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, you load rgrass7 library in your RStudio project&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you are ready to go.&lt;br /&gt;
&lt;br /&gt;
[[File:Grass7_rstudio.png|thumb|500px|center|RStudio used in GRASS GIS 7 session]]&lt;br /&gt;
&lt;br /&gt;
== GRASS within R ==&lt;br /&gt;
&lt;br /&gt;
Using '''GRASS GIS within a R session''', i.e. you connect to a GRASS GIS location/mapset from within R (or RStudio).&lt;br /&gt;
&lt;br /&gt;
=== Startup ===&lt;br /&gt;
&lt;br /&gt;
In the first place, find out the path to the GRASS GIS library. This can be easily done with the following command (still outside of R; or through a system() call inside of R):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# OSGeo4W users:&lt;br /&gt;
grass74 --config path&lt;br /&gt;
 &lt;br /&gt;
# Linux, Mac OSX users:&lt;br /&gt;
grass70 --config path&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It may report something like:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/usr/local/grass-7.0.1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To call GRASS GIS 7 functionality from R, start R and use the initGRASS() function to define the GRASS settings:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
## MS-Windows users (example for a OSGeo4W 64bit installation):&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of North Carolina sample dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;C:/OSGeo4W64/apps/grass/grass-7.4.1&amp;quot;,&lt;br /&gt;
         gisDbase = &amp;quot;C:/Users/marissa/GRASSdata/&amp;quot;,&lt;br /&gt;
         location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
## Linux, Mac OSX users:&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of North Carolina sample dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;/usr/local/grass-7.0.1&amp;quot;, home = tempdir(), &lt;br /&gt;
          gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
          location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the optional SG parameter is a 'SpatialGrid' object to define the ‘DEFAULT_WIND’ of the temporary location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# set computational region to default (optional)&lt;br /&gt;
system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
# verify metadata&lt;br /&gt;
gmeta()&lt;br /&gt;
&lt;br /&gt;
# get two raster maps into R space&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
&lt;br /&gt;
# calculate object summaries&lt;br /&gt;
summary(ncdata$geology_30m)&lt;br /&gt;
 CZfg_217 CZlg_262 CZig_270 CZbg_405 CZve_583 CZam_720  CZg_766 CZam_862 &lt;br /&gt;
     292       78      277      102        8        1        2       25 &lt;br /&gt;
 CZbg_910   Km_921 CZam_946     NA's &lt;br /&gt;
      18        5        2  1009790 &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== R in GRASS in batch mode ==&lt;br /&gt;
&lt;br /&gt;
Run the following script with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
R CMD BATCH batch.R&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of north carolina dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu&amp;quot;, &lt;br /&gt;
          home = tempdir(), &lt;br /&gt;
          gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
          location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;,&lt;br /&gt;
          override = TRUE)&lt;br /&gt;
# set region to default&lt;br /&gt;
system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
# verify&lt;br /&gt;
gmeta()&lt;br /&gt;
# read data into R&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
# summary of geology map&lt;br /&gt;
summary(ncdata$geology_30m)&lt;br /&gt;
proc.time()&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The result is (shorted here):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cat batch.Rout&lt;br /&gt;
&amp;lt;/source&amp;gt;    &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
    R version 3.2.1 (2015-06-18) -- &amp;quot;World-Famous Astronaut&amp;quot;&lt;br /&gt;
    Copyright (C) 2015 The R Foundation for Statistical Computing&lt;br /&gt;
    Platform: x86_64-redhat-linux-gnu (64-bit)&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; library(rgrass7)&lt;br /&gt;
    Loading required package: sp&lt;br /&gt;
    Loading required package: XML&lt;br /&gt;
    GRASS GIS interface loaded with GRASS version: (GRASS not running)&lt;br /&gt;
    &amp;gt; # initialisation and the use of north carolina dataset&lt;br /&gt;
    &amp;gt; initGRASS(gisBase = &amp;quot;/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu&amp;quot;, home = tempdir(), &lt;br /&gt;
    +           gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
    +           location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;,&lt;br /&gt;
    +           override = TRUE)&lt;br /&gt;
    gisdbase    /home/veroandreo/grassdata/ &lt;br /&gt;
    location    nc_spm_08_grass7 &lt;br /&gt;
    mapset      user1 &lt;br /&gt;
    rows        620 &lt;br /&gt;
    columns     1630 &lt;br /&gt;
    north       320000 &lt;br /&gt;
    south       10000 &lt;br /&gt;
    west        120000 &lt;br /&gt;
    east        935000 &lt;br /&gt;
    nsres       500 &lt;br /&gt;
    ewres       500 &lt;br /&gt;
    projection  +proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
    +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
    +rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1 &lt;br /&gt;
    &lt;br /&gt;
    &amp;gt; system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
    projection: 99 (Lambert Conformal Conic)&lt;br /&gt;
    zone:       0&lt;br /&gt;
    datum:      nad83&lt;br /&gt;
    ellipsoid:  a=6378137 es=0.006694380022900787&lt;br /&gt;
    north:      320000&lt;br /&gt;
    south:      10000&lt;br /&gt;
    west:       120000&lt;br /&gt;
    east:       935000&lt;br /&gt;
    nsres:      500&lt;br /&gt;
    ewres:      500&lt;br /&gt;
    rows:       620&lt;br /&gt;
    cols:       1630&lt;br /&gt;
    cells:      1010600&lt;br /&gt;
    &amp;gt; gmeta()&lt;br /&gt;
    gisdbase    /home/veroandreo/grassdata/ &lt;br /&gt;
    location    nc_spm_08_grass7 &lt;br /&gt;
    mapset      user1 &lt;br /&gt;
    rows        620 &lt;br /&gt;
    columns     1630 &lt;br /&gt;
    north       320000 &lt;br /&gt;
    south       10000 &lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; summary(ncdata$geology_30m)&lt;br /&gt;
    CZfg_217 CZlg_262 CZig_270 CZbg_405 CZve_583 CZam_720  CZg_766 CZam_862 &lt;br /&gt;
         292       78      277      102        8        1        2       25 &lt;br /&gt;
    CZbg_910   Km_921 CZam_946     NA's &lt;br /&gt;
          18        5        2  1009790 &lt;br /&gt;
    &amp;gt; proc.time()&lt;br /&gt;
       user  system elapsed &lt;br /&gt;
      8.061   2.016  10.048&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Running out of disk space ===&lt;br /&gt;
&lt;br /&gt;
Linux: A common issue is that /tmp/ is used for temporary files albeit being often a small partition. To change that to a larger directory, you may add to your &amp;lt;tt&amp;gt;$HOME/.bashrc&amp;lt;/tt&amp;gt; the entry:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# change TMP directory of R (note: of course also another directory than suggested here is fine)&lt;br /&gt;
mkdir -p $HOME/tmp&lt;br /&gt;
export TMP=$HOME/tmp&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The drawback is that on modern Linux systems the /tmp/ is a fast RAM disk (based on tempfs) while HOME directories are often on slower spinning disks (unless you have a SSD drive). At least you no longer run out of disk space easily.&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Linking to other languages]]&lt;br /&gt;
[[Category:R]]&lt;br /&gt;
[[Category:Statistics]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=R_statistics/rgrass&amp;diff=25334</id>
		<title>R statistics/rgrass</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=R_statistics/rgrass&amp;diff=25334"/>
		<updated>2018-09-23T20:32:05Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Startup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''This page refers to the usage of R within a GRASS GIS 7 session and the use of GRASS GIS 7 within an R session.''' (see also [[R_statistics/spgrass6]])&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
Using R in conjunction with GRASS GIS can have two meanings:&lt;br /&gt;
&lt;br /&gt;
* Using '''R within GRASS GIS session''', i.e. you start R (or RStudio) from the GRASS GIS command line. You may like this variant if you are primarily a GIS user.&lt;br /&gt;
* Using '''GRASS GIS within a R session''', i.e. you connect to a GRASS GIS location/mapset from within R (or RStudio). You may like this variant if you are primarily a R user.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- not quite clear to the casual user..:&lt;br /&gt;
Keep in mind:&lt;br /&gt;
* if you already have a GRASS location/mapset, use R inside GRASS and do not use initGRASS();&lt;br /&gt;
* if the GRASS location/mapset is only a throwaway one, use initGRASS() and run GRASS inside R.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''References''': see &amp;quot;Overview&amp;quot; in [[R_statistics]]&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
See [[R_statistics/Installation]]&lt;br /&gt;
&lt;br /&gt;
== R within GRASS ==&lt;br /&gt;
&lt;br /&gt;
Using '''R within GRASS GIS session''', i.e. you start R (or RStudio) from the GRASS GIS command line.&lt;br /&gt;
&lt;br /&gt;
=== Startup ===&lt;br /&gt;
&lt;br /&gt;
* First start a GRASS GIS session. Then, at the GRASS command line start ''R'' (for a 'rstudio' session, see below)&lt;br /&gt;
: ''In this example we will use the [http://grass.osgeo.org/download/sample-data/ North Carolina sample dataset].''&lt;br /&gt;
&lt;br /&gt;
Reset the region settings to the defaults&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS 7.0.1svn (nc_spm_08_grass7):~ &amp;gt; g.region -d&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Launch R from the GRASS prompt&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS 7.0.1svn (nc_spm_08_grass7):~ &amp;gt; R&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Load the ''rgrass7'' library:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you plan to follow the example using the North Carolina sample dataset, load the ''rgdal'' library:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgdal)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get the GRASS environment (mapset, region, map projection, etc.); you can display the metadata for your location by printing G:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
G &amp;lt;- gmeta()&lt;br /&gt;
gisdbase    /home/neteler/grassdata &lt;br /&gt;
location    nc_spm_08_grass7 &lt;br /&gt;
mapset      user1 &lt;br /&gt;
rows        620 &lt;br /&gt;
columns     1630 &lt;br /&gt;
north       320000 &lt;br /&gt;
south       10000 &lt;br /&gt;
west        120000 &lt;br /&gt;
east        935000 &lt;br /&gt;
nsres       500 &lt;br /&gt;
ewres       500 &lt;br /&gt;
projection  +proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
+lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
+rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1 &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Listing of existing maps ===&lt;br /&gt;
&lt;br /&gt;
List available vector maps:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List selected vector maps (wildcard):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;, pattern = &amp;quot;precip*&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save selected vector maps into R vector:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
my_vmaps &amp;lt;- execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;vector&amp;quot;, pattern = &amp;quot;precip*&amp;quot;))&lt;br /&gt;
attributes(my_vmaps)&lt;br /&gt;
attributes(my_vmaps)$resOut&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List available raster maps:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;raster&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List selected raster maps (wildcard):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;g.list&amp;quot;, parameters = list(type = &amp;quot;raster&amp;quot;, pattern = &amp;quot;lsat7_2002*&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Reading in data from GRASS ===&lt;br /&gt;
&lt;br /&gt;
==== Example 1 ====&lt;br /&gt;
&lt;br /&gt;
Read in two GRASS raster maps (the maps &amp;quot;geology_30m&amp;quot; and &amp;quot;elevation&amp;quot; from the North Carolina sample data location) into the R current session as a new object &amp;quot;ncdata&amp;quot; (containing then two SpatialGridDataFrames as well as metadata):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# the cat parameter indicates which raster values to be returned as factors&lt;br /&gt;
# - geology_30m is a categorical map (i.e., it comes with classes)&lt;br /&gt;
# - elevation is a continuous surface&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
(A warning may appear since in the &amp;quot;geology_30m&amp;quot; map two labels are not unique - as found in the original data.)&lt;br /&gt;
&lt;br /&gt;
We can verify the new R object:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(ncdata)&lt;br /&gt;
Formal class 'SpatialGridDataFrame' [package &amp;quot;sp&amp;quot;] with 4 slots&lt;br /&gt;
 ..@ data       :'data.frame':	16616 obs. of  2 variables:&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and also check the data structure in more detail:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(ncdata@data)&lt;br /&gt;
'data.frame':	16616 obs. of  2 variables:&lt;br /&gt;
 $ geology_30m: Factor w/ 12 levels &amp;quot;CZfg_217&amp;quot;,&amp;quot;CZlg_262&amp;quot;,..: NA NA NA NA NA NA NA NA NA NA ...&lt;br /&gt;
 $ elevation  : num  NA NA NA NA NA NA NA NA NA NA ...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The metadata are now accessed and available, but are not (yet) used to structure the ''sp'' class objects, in this case a SpatialGridDataFrame object filled with data from two North Carolina layers. Here is a plot of the elevation data:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
image(ncdata, &amp;quot;elevation&amp;quot;, col = terrain.colors(20))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a title to the plot:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
title(&amp;quot;North Carolina elevation&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ncdata.png|center]]&lt;br /&gt;
&lt;br /&gt;
In addition, we can show what is going on inside the objects read into R:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
str(G)&lt;br /&gt;
List of 26&lt;br /&gt;
 $ DEBUG        : chr &amp;quot;0&amp;quot;&lt;br /&gt;
 $ LOCATION_NAME: chr &amp;quot;nc_spm_08_grass7&amp;quot;&lt;br /&gt;
 $ GISDBASE     : chr &amp;quot;/home/veroandreo/grassdata&amp;quot;&lt;br /&gt;
 $ MAPSET       : chr &amp;quot;PERMANENT&amp;quot;&lt;br /&gt;
 $ GUI          : chr &amp;quot;wxpython&amp;quot;&lt;br /&gt;
 $ projection   : chr &amp;quot;99&amp;quot;&lt;br /&gt;
 $ zone         : chr &amp;quot;0&amp;quot;&lt;br /&gt;
 $ n            : num 228500&lt;br /&gt;
 $ s            : num 215000&lt;br /&gt;
 $ w            : num 630000&lt;br /&gt;
 $ e            : num 645000&lt;br /&gt;
 $ t            : num 1&lt;br /&gt;
 $ b            : num 0&lt;br /&gt;
 $ nsres        : num 27.5&lt;br /&gt;
 $ nsres3       : num 10&lt;br /&gt;
 $ ewres        : num 37.5&lt;br /&gt;
 $ ewres3       : num 10&lt;br /&gt;
 $ tbres        : num 1&lt;br /&gt;
 $ rows         : int 491&lt;br /&gt;
 $ rows3        : int 1350&lt;br /&gt;
 $ cols         : int 400&lt;br /&gt;
 $ cols3        : int 1500&lt;br /&gt;
 $ depths       : int 1&lt;br /&gt;
 $ cells        : chr &amp;quot;196400&amp;quot;&lt;br /&gt;
 $ cells3       : chr &amp;quot;2025000&amp;quot;&lt;br /&gt;
 $ proj4        : chr &amp;quot;+proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137 +&amp;quot;| __truncated__&lt;br /&gt;
 - attr(*, &amp;quot;class&amp;quot;)= chr &amp;quot;gmeta&amp;quot;&lt;br /&gt;
&lt;br /&gt;
summary(ncdata)&lt;br /&gt;
Object of class SpatialGridDataFrame&lt;br /&gt;
Coordinates:&lt;br /&gt;
        min    max&lt;br /&gt;
[1,] 630000 645000&lt;br /&gt;
[2,] 215000 228500&lt;br /&gt;
Is projected: TRUE &lt;br /&gt;
proj4string :&lt;br /&gt;
[+proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
+lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
+rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1]&lt;br /&gt;
Grid attributes:&lt;br /&gt;
  cellcentre.offset cellsize cells.dim&lt;br /&gt;
1          630018.8 37.50000       400&lt;br /&gt;
2          215013.7 27.49491       491&lt;br /&gt;
Data attributes:&lt;br /&gt;
   geology_30m      elevation     &lt;br /&gt;
 CZfg_217:70381   Min.   : 55.92  &lt;br /&gt;
 CZig_270:66861   1st Qu.: 94.78  &lt;br /&gt;
 CZbg_405:24561   Median :108.88  &lt;br /&gt;
 CZlg_262:19287   Mean   :110.38  &lt;br /&gt;
 CZam_862: 6017   3rd Qu.:126.78  &lt;br /&gt;
 CZbg_910: 4351   Max.   :156.25  &lt;br /&gt;
 (Other) : 4942                   &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 2 ====&lt;br /&gt;
&lt;br /&gt;
Here an example for a single map transfer from GRASS GIS to R:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
execGRASS(&amp;quot;g.region&amp;quot;, raster = &amp;quot;elevation&amp;quot;, flags = &amp;quot;p&amp;quot;)&lt;br /&gt;
ncdata &amp;lt;- readRAST(&amp;quot;elevation&amp;quot;, cat=FALSE)&lt;br /&gt;
summary(ncdata)&lt;br /&gt;
spplot(ncdata, col = terrain.colors(20))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Summarizing data ===&lt;br /&gt;
&lt;br /&gt;
We can create a table of cell counts:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
table(ncdata$geology_30m)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
!CZfg_217 &lt;br /&gt;
!CZlg_262 &lt;br /&gt;
!CZig_270 &lt;br /&gt;
!CZbg_405 &lt;br /&gt;
!CZve_583 &lt;br /&gt;
!CZam_720  &lt;br /&gt;
!CZg_766 &lt;br /&gt;
!CZam_862 &lt;br /&gt;
!CZbg_910   &lt;br /&gt;
!Km_921 &lt;br /&gt;
!CZbg_945 &lt;br /&gt;
!CZam_946 &lt;br /&gt;
!CZam_948&lt;br /&gt;
|-&lt;br /&gt;
|70381&lt;br /&gt;
|19287&lt;br /&gt;
|66861    &lt;br /&gt;
|24561     &lt;br /&gt;
|2089      &lt;br /&gt;
|467      &lt;br /&gt;
|691     &lt;br /&gt;
|6017 &lt;br /&gt;
|4351&lt;br /&gt;
|1211        &lt;br /&gt;
|1      &lt;br /&gt;
|398       &lt;br /&gt;
|85&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
And compare with the equivalent GRASS module:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;r.stats&amp;quot;, flags=c(&amp;quot;c&amp;quot;, &amp;quot;l&amp;quot;), parameters=list(input=&amp;quot;geology_30m&amp;quot;), ignore.stderr=TRUE)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
217 CZfg 70381&lt;br /&gt;
262 CZlg 19287&lt;br /&gt;
270 CZig 66861&lt;br /&gt;
405 CZbg 24561&lt;br /&gt;
583 CZve 2089&lt;br /&gt;
720 CZam 467&lt;br /&gt;
766 CZg 691&lt;br /&gt;
862 CZam 6017&lt;br /&gt;
910 CZbg 4351&lt;br /&gt;
921 Km 1211&lt;br /&gt;
945 CZbg 1&lt;br /&gt;
946 CZam 398&lt;br /&gt;
948 CZam 85&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a box plot of geologic types at different elevations:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
boxplot(ncdata$elevation ~ ncdata$geology_30m, medlwd = 1)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:boxplot_geo.png|center]]&lt;br /&gt;
&lt;br /&gt;
=== Querying maps ===&lt;br /&gt;
&lt;br /&gt;
Sometimes you may want to query GRASS GIS maps from your R session.&lt;br /&gt;
&lt;br /&gt;
As an example, here the transfer of raster pixel values at the position of vector points:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# set the computational region first to the raster map:&lt;br /&gt;
execGRASS(&amp;quot;g.region&amp;quot;, raster = &amp;quot;elev_state_500m&amp;quot;, flags = &amp;quot;p&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# query raster map at vector points, transfer result into R&lt;br /&gt;
goutput &amp;lt;- execGRASS(&amp;quot;r.what&amp;quot;, map=&amp;quot;elev_state_500m&amp;quot;, points=&amp;quot;geodetic_pts&amp;quot;, separator=&amp;quot;,&amp;quot;, intern=TRUE)&lt;br /&gt;
str(goutput)&lt;br /&gt;
chr [1:29939] &amp;quot;571530.81289275,265739.968425953,,187.8082200648&amp;quot; ...&lt;br /&gt;
&lt;br /&gt;
# parse it&lt;br /&gt;
con &amp;lt;- textConnection(goutput)&lt;br /&gt;
go1 &amp;lt;- read.csv(con, header=FALSE)&lt;br /&gt;
str(go1)&lt;br /&gt;
'data.frame':	29939 obs. of  4 variables:&lt;br /&gt;
 $ V1: num  571531 571359 571976 572391 573011 ...&lt;br /&gt;
 $ V2: num  265740 265987 267049 267513 269615 ...&lt;br /&gt;
 $ V3: logi  NA NA NA NA NA NA ...&lt;br /&gt;
 $ V4: Factor w/ 22738 levels &amp;quot;-0.0048115728&amp;quot;,..: 6859 6642 6749 6411 6356 6904 7506 7224 6908 7167 ...&lt;br /&gt;
summary(go1)&lt;br /&gt;
       V1               V2            V3                V4       &lt;br /&gt;
 Min.   :121862   Min.   :  7991   Mode:logical   0      :  723  &lt;br /&gt;
 1st Qu.:462706   1st Qu.:162508   NA's:29939     *      :  293  &lt;br /&gt;
 Median :610328   Median :204502                  0.3048 :   47  &lt;br /&gt;
 Mean   :588514   Mean   :200038                  0.6096 :   44  &lt;br /&gt;
 3rd Qu.:717610   3rd Qu.:247633                  1.524  :   42  &lt;br /&gt;
 Max.   :946743   Max.   :327186                  0.9144 :   23  &lt;br /&gt;
                                                  (Other):28767  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exporting data back to GRASS ===&lt;br /&gt;
&lt;br /&gt;
Finally, a SpatialGridDataFrame object is written back to a GRASS raster map:&lt;br /&gt;
&lt;br /&gt;
First prepare some data:  (square root of elevation)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
ncdata$sqdem &amp;lt;- sqrt(ncdata$elevation)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Export data from ''R'' back into a GRASS raster map:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
writeRAST(ncdata, &amp;quot;sqdemNC&amp;quot;, zcol=&amp;quot;sqdem&amp;quot;, ignore.stderr=TRUE)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check that it imported into GRASS ok:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
execGRASS(&amp;quot;r.info&amp;quot;, parameters=list(map=&amp;quot;sqdemNC&amp;quot;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 +----------------------------------------------------------------------------+&lt;br /&gt;
 | Map:      sqdemNC                        Date: Sun Jul 19 13:06:34 2015    |&lt;br /&gt;
 | Mapset:   PERMANENT                      Login of Creator: veroandreo      |&lt;br /&gt;
 | Location: nc_spm_08_grass7                                                 |&lt;br /&gt;
 | DataBase: /home/veroandreo/grassdata                                       |&lt;br /&gt;
 | Title:     ( sqdemNC )                                                     |&lt;br /&gt;
 | Timestamp: none                                                            |&lt;br /&gt;
 |----------------------------------------------------------------------------|&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Type of Map:  raster               Number of Categories: 0               |&lt;br /&gt;
 |   Data Type:    DCELL                                                      |&lt;br /&gt;
 |   Rows:         491                                                        |&lt;br /&gt;
 |   Columns:      400                                                        |&lt;br /&gt;
 |   Total Cells:  196400                                                     |&lt;br /&gt;
 |        Projection: Lambert Conformal Conic                                 |&lt;br /&gt;
 |            N:     228500    S: 215000.0002   Res: 27.49490794              |&lt;br /&gt;
 |            E:     645000    W:     630000   Res:  37.5                     |&lt;br /&gt;
 |   Range of data:    min = 7.47818253045085  max = 12.5000787351036         |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Data Description:                                                        |&lt;br /&gt;
 |    generated by r.in.bin                                                   |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 |   Comments:                                                                |&lt;br /&gt;
 |                                                                            |&lt;br /&gt;
 +----------------------------------------------------------------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using RStudio in a GRASS GIS session ===&lt;br /&gt;
&lt;br /&gt;
If you are most used to run R through RStudio, but still want to have all GRASS data available for performing&lt;br /&gt;
any analyses without loosing the possibility of still using GRASS command line, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS&amp;gt; rstudio &amp;amp;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or, if you already are working on a certain RStudio project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
GRASS&amp;gt; rstudio /path/to/project/folder/ &amp;amp;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, you load rgrass7 library in your RStudio project&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you are ready to go.&lt;br /&gt;
&lt;br /&gt;
[[File:Grass7_rstudio.png|thumb|500px|center|RStudio used in GRASS GIS 7 session]]&lt;br /&gt;
&lt;br /&gt;
== GRASS within R ==&lt;br /&gt;
&lt;br /&gt;
Using '''GRASS GIS within a R session''', i.e. you connect to a GRASS GIS location/mapset from within R (or RStudio).&lt;br /&gt;
&lt;br /&gt;
=== Startup ===&lt;br /&gt;
&lt;br /&gt;
In the first place, find out the path to the GRASS GIS library. This can be easily done with the following command (still outside of R; or through a system() call inside of R):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# OSGeo4W users: nothing to do&lt;br /&gt;
 &lt;br /&gt;
# Linux, Mac OSX users:&lt;br /&gt;
grass70 --config path&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It may report something like:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/usr/local/grass-7.0.1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To call GRASS GIS 7 functionality from R, start R and use the initGRASS() function to define the GRASS settings:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
## MS-Windows users (example for a OSGeo4W 64bit installation):&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of North Carolina sample dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;C:/OSGeo4W64/apps/grass/grass-7.4.1&amp;quot;,&lt;br /&gt;
         gisDbase = &amp;quot;C:/Users/marissa/GRASSdata/&amp;quot;,&lt;br /&gt;
         location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
## Linux, Mac OSX users:&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of North Carolina sample dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;/usr/local/grass-7.0.1&amp;quot;, home = tempdir(), &lt;br /&gt;
          gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
          location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the optional SG parameter is a 'SpatialGrid' object to define the ‘DEFAULT_WIND’ of the temporary location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
# set computational region to default (optional)&lt;br /&gt;
system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
# verify metadata&lt;br /&gt;
gmeta()&lt;br /&gt;
&lt;br /&gt;
# get two raster maps into R space&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
&lt;br /&gt;
# calculate object summaries&lt;br /&gt;
summary(ncdata$geology_30m)&lt;br /&gt;
 CZfg_217 CZlg_262 CZig_270 CZbg_405 CZve_583 CZam_720  CZg_766 CZam_862 &lt;br /&gt;
     292       78      277      102        8        1        2       25 &lt;br /&gt;
 CZbg_910   Km_921 CZam_946     NA's &lt;br /&gt;
      18        5        2  1009790 &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== R in GRASS in batch mode ==&lt;br /&gt;
&lt;br /&gt;
Run the following script with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
R CMD BATCH batch.R&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
library(rgrass7)&lt;br /&gt;
# initialisation and the use of north carolina dataset&lt;br /&gt;
initGRASS(gisBase = &amp;quot;/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu&amp;quot;, &lt;br /&gt;
          home = tempdir(), &lt;br /&gt;
          gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
          location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;,&lt;br /&gt;
          override = TRUE)&lt;br /&gt;
# set region to default&lt;br /&gt;
system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
# verify&lt;br /&gt;
gmeta()&lt;br /&gt;
# read data into R&lt;br /&gt;
ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
# summary of geology map&lt;br /&gt;
summary(ncdata$geology_30m)&lt;br /&gt;
proc.time()&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The result is (shorted here):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cat batch.Rout&lt;br /&gt;
&amp;lt;/source&amp;gt;    &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;rsplus&amp;quot;&amp;gt;&lt;br /&gt;
    R version 3.2.1 (2015-06-18) -- &amp;quot;World-Famous Astronaut&amp;quot;&lt;br /&gt;
    Copyright (C) 2015 The R Foundation for Statistical Computing&lt;br /&gt;
    Platform: x86_64-redhat-linux-gnu (64-bit)&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; library(rgrass7)&lt;br /&gt;
    Loading required package: sp&lt;br /&gt;
    Loading required package: XML&lt;br /&gt;
    GRASS GIS interface loaded with GRASS version: (GRASS not running)&lt;br /&gt;
    &amp;gt; # initialisation and the use of north carolina dataset&lt;br /&gt;
    &amp;gt; initGRASS(gisBase = &amp;quot;/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu&amp;quot;, home = tempdir(), &lt;br /&gt;
    +           gisDbase = &amp;quot;/home/veroandreo/grassdata/&amp;quot;,&lt;br /&gt;
    +           location = &amp;quot;nc_spm_08_grass7&amp;quot;, mapset = &amp;quot;user1&amp;quot;, SG=&amp;quot;elevation&amp;quot;,&lt;br /&gt;
    +           override = TRUE)&lt;br /&gt;
    gisdbase    /home/veroandreo/grassdata/ &lt;br /&gt;
    location    nc_spm_08_grass7 &lt;br /&gt;
    mapset      user1 &lt;br /&gt;
    rows        620 &lt;br /&gt;
    columns     1630 &lt;br /&gt;
    north       320000 &lt;br /&gt;
    south       10000 &lt;br /&gt;
    west        120000 &lt;br /&gt;
    east        935000 &lt;br /&gt;
    nsres       500 &lt;br /&gt;
    ewres       500 &lt;br /&gt;
    projection  +proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334&lt;br /&gt;
    +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +no_defs +a=6378137&lt;br /&gt;
    +rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1 &lt;br /&gt;
    &lt;br /&gt;
    &amp;gt; system(&amp;quot;g.region -dp&amp;quot;)&lt;br /&gt;
    projection: 99 (Lambert Conformal Conic)&lt;br /&gt;
    zone:       0&lt;br /&gt;
    datum:      nad83&lt;br /&gt;
    ellipsoid:  a=6378137 es=0.006694380022900787&lt;br /&gt;
    north:      320000&lt;br /&gt;
    south:      10000&lt;br /&gt;
    west:       120000&lt;br /&gt;
    east:       935000&lt;br /&gt;
    nsres:      500&lt;br /&gt;
    ewres:      500&lt;br /&gt;
    rows:       620&lt;br /&gt;
    cols:       1630&lt;br /&gt;
    cells:      1010600&lt;br /&gt;
    &amp;gt; gmeta()&lt;br /&gt;
    gisdbase    /home/veroandreo/grassdata/ &lt;br /&gt;
    location    nc_spm_08_grass7 &lt;br /&gt;
    mapset      user1 &lt;br /&gt;
    rows        620 &lt;br /&gt;
    columns     1630 &lt;br /&gt;
    north       320000 &lt;br /&gt;
    south       10000 &lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; ncdata &amp;lt;- readRAST(c(&amp;quot;geology_30m&amp;quot;, &amp;quot;elevation&amp;quot;), cat=c(TRUE, FALSE))&lt;br /&gt;
    ...&lt;br /&gt;
    &amp;gt; summary(ncdata$geology_30m)&lt;br /&gt;
    CZfg_217 CZlg_262 CZig_270 CZbg_405 CZve_583 CZam_720  CZg_766 CZam_862 &lt;br /&gt;
         292       78      277      102        8        1        2       25 &lt;br /&gt;
    CZbg_910   Km_921 CZam_946     NA's &lt;br /&gt;
          18        5        2  1009790 &lt;br /&gt;
    &amp;gt; proc.time()&lt;br /&gt;
       user  system elapsed &lt;br /&gt;
      8.061   2.016  10.048&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Running out of disk space ===&lt;br /&gt;
&lt;br /&gt;
Linux: A common issue is that /tmp/ is used for temporary files albeit being often a small partition. To change that to a larger directory, you may add to your &amp;lt;tt&amp;gt;$HOME/.bashrc&amp;lt;/tt&amp;gt; the entry:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# change TMP directory of R (note: of course also another directory than suggested here is fine)&lt;br /&gt;
mkdir -p $HOME/tmp&lt;br /&gt;
export TMP=$HOME/tmp&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The drawback is that on modern Linux systems the /tmp/ is a fast RAM disk (based on tempfs) while HOME directories are often on slower spinning disks (unless you have a SSD drive). At least you no longer run out of disk space easily.&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Linking to other languages]]&lt;br /&gt;
[[Category:R]]&lt;br /&gt;
[[Category:Statistics]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25296</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25296"/>
		<updated>2018-08-24T18:19:51Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using g.list output as input variable for another module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
C:\&amp;gt;FOR /F %c in ('g.list &amp;quot;type=raster&amp;quot; &amp;quot;pattern=*2&amp;quot; &amp;quot;mapset=user1&amp;quot; &amp;quot;separator=comma&amp;quot;') DO SET RASTER2REMOVE=%c&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;echo %RASTER2REMOVE%&lt;br /&gt;
b172,d172,it172,r172&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;g.remove type=raster name=%RASTER2REMOVE%&lt;br /&gt;
The following data base element files would be deleted:&lt;br /&gt;
raster/b172@user1&lt;br /&gt;
raster/d172@user1&lt;br /&gt;
raster/it172@user1&lt;br /&gt;
raster/r172@user1&lt;br /&gt;
WARNING: Nothing removed. You must use the force flag (-f) to actually&lt;br /&gt;
         remove them. Exiting. &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25295</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25295"/>
		<updated>2018-08-24T18:16:39Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
Using the g.list output as input variable for another module&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25294</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25294"/>
		<updated>2018-08-24T18:15:19Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==g.list output as input for another GRASS module==&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25293</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25293"/>
		<updated>2018-08-24T18:13:43Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: extend examples&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows extended examples how to run GRASS modules in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_bat-files_in_windows_console&amp;diff=25292</id>
		<title>GRASS and bat-files in windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_bat-files_in_windows_console&amp;diff=25292"/>
		<updated>2018-08-24T18:12:25Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: Hellik moved page GRASS and bat-files in windows console to GRASS and windows console: extend MS windows related examples&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[GRASS and windows console]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25291</id>
		<title>GRASS and windows console</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_and_windows_console&amp;diff=25291"/>
		<updated>2018-08-24T18:12:24Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: Hellik moved page GRASS and bat-files in windows console to GRASS and windows console: extend MS windows related examples&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''This page shows an example how to run several GRASS modules in a windows batch-file in the winGRASS windows console''&lt;br /&gt;
&lt;br /&gt;
==Windows batch files in GRASS==&lt;br /&gt;
&lt;br /&gt;
In order to ease the workflow of analysis, several GRASS modules can be invoked at once by an batch file (*.bat) in the winGRASS windows console.&lt;br /&gt;
&lt;br /&gt;
[https://trac.osgeo.org/grass/browser/grass/trunk/scripts Python grass modules] (e.g. v.db.addcolumn) have to be invoked by ''call'' in the batch-file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
@ECHO ON&lt;br /&gt;
g.region -p&lt;br /&gt;
v.in.region output=myreg&lt;br /&gt;
call v.db.addtable map=myreg&lt;br /&gt;
call v.db.addcolumn map=myreg columns=&amp;quot;col1 double&amp;quot;&lt;br /&gt;
v.to.db map=myreg option=area columns=col1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running batch files without starting up GRASS:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bat&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;%ProgramFiles?%\QGIS 2.18\bin\Grass72.bat&amp;quot; --exec MyScript.bat D:/myGrassData/MyLoc/MyMapset &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;br /&gt;
[[Category: WinGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Global_datasets&amp;diff=25213</id>
		<title>Global datasets</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Global_datasets&amp;diff=25213"/>
		<updated>2018-04-14T11:14:47Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* SoilGrids.org 250m soil taxonomy map */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Raster data =&lt;br /&gt;
&lt;br /&gt;
== Elevation data ==&lt;br /&gt;
&lt;br /&gt;
=== ASTER topography (GDEM V1) ===&lt;br /&gt;
&lt;br /&gt;
Improved ASTER GDEM 1 from 2009:&lt;br /&gt;
&lt;br /&gt;
GDEM global 30m elevation calculated from stereo-pair images collected by the Terra satellite.&lt;br /&gt;
''&amp;quot;This is the most complete, consistent global digital elevation data yet made available to the world.&amp;quot;''&lt;br /&gt;
This is a very new dataset, at version 1  (treat as ''experimental''). Accuracy will be improved in forthcoming versions (validation with SRTM, etc.; [http://blog.neteler.org/aster-gdem-30m-quality-assessment/ see assessment here] and [http://www.viewfinderpanoramas.org/reviews.html#aster here]).&lt;br /&gt;
&lt;br /&gt;
* ''[https://lpdaac.usgs.gov/lpdaac/about/news_archive/monday_june_22_20092 pre-release announcement]''&lt;br /&gt;
* [http://www.nasa.gov/home/hqnews/2009/jun/HQ_09-150_ASTER_Topographic_Map.html NASA press release]&lt;br /&gt;
* [https://wist.echo.nasa.gov/~wist/api/imswelcome/ Warehouse Inventory Search Tool] or [http://www.gdem.aster.ersdac.or.jp/search.jsp Easy search tool] (Data download)&lt;br /&gt;
&lt;br /&gt;
'''Tutorial:''' [[ASTER topography]]&lt;br /&gt;
&lt;br /&gt;
''See also: [http://blog.neteler.org/aster-gdem-30m-quality-assessment/ ASTER GDEM 30m quality assessment]''&lt;br /&gt;
&lt;br /&gt;
=== ASTER topography (GDEM V2) ===&lt;br /&gt;
&lt;br /&gt;
Improved ASTER GDEM 2 from 2011:&lt;br /&gt;
* https://lpdaac.usgs.gov/products/aster_products_table/astgtm&lt;br /&gt;
&lt;br /&gt;
The ASTER GDEM covers land surfaces between 83°N and 83°S and is comprised of 22,702 tiles.  Tiles that contain at least 0.01% land area are included.  The ASTER GDEM is distributed as Geographic Tagged Image File Format (GeoTIFF) files with geographic coordinates (latitude, longitude).  The data are posted on a '''1 arc-second''' (approximately '''30–m at the equator''') grid and referenced to the 1984 World Geodetic System (WGS84)/ 1996 Earth Gravitational Model (EGM96) geoid. &lt;br /&gt;
&lt;br /&gt;
'''Notes:''' this DEM can be rather well filtered and smoothed with the [http://personalpages.manchester.ac.uk/staff/neil.mitchell/mdenoise/ Sun's denoising algorithm] (using GDAL and free / open source program &amp;lt;mdenoise&amp;gt; or simply GRASS add-on {{AddonCmd|r.denoise}}.&lt;br /&gt;
&lt;br /&gt;
Experiments showed that the best smoothing of ASTER GDEM 2 is reached with such parameters of &amp;lt;mdenoise&amp;gt;:&lt;br /&gt;
* threshold = 0.8&lt;br /&gt;
* iterations = 10-20&lt;br /&gt;
&lt;br /&gt;
Also filtering with {{cmd|r.neighbors}} by &amp;quot;average&amp;quot; method and window size &amp;gt;=5 is quite useful to remove some noise from DEM.&lt;br /&gt;
&lt;br /&gt;
''See also: [http://www.isprs2012.org/abstract/299.asp Validation of the ASTER Global Digital Elevation Model Version 2 over the Conterminous United States]''&lt;br /&gt;
&lt;br /&gt;
=== ACE2 ===&lt;br /&gt;
&lt;br /&gt;
The ACE2 Global Digital Elevation Model is available at 3&amp;quot;, 30&amp;quot; and 5' spatial resolutions.&lt;br /&gt;
&lt;br /&gt;
* http://tethys.eaprs.cse.dmu.ac.uk/ACE2/&lt;br /&gt;
&lt;br /&gt;
Import example:&lt;br /&gt;
  r.in.bin -f input=&amp;quot;00N105E_3S.ACE2&amp;quot; output=&amp;quot;ACE2_00N105E&amp;quot; bytes=4 \&lt;br /&gt;
           order=&amp;quot;native&amp;quot; north=15 south=0 east=120 west=105 \&lt;br /&gt;
           rows=18000 cols=18000&lt;br /&gt;
&lt;br /&gt;
=== CleanTOPO2 (DEM) ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.shadedrelief.com/cleantopo2/ CleanTOPO2 download]: Edited SRTM30 Plus World Elevation Data&lt;br /&gt;
&lt;br /&gt;
Import in GRASS:&lt;br /&gt;
  r.in.gdal CleanTOPO2.tif out=cleanTOPO2.tmp -l -o&lt;br /&gt;
  g.region rast=cleanTOPO2  -p -g&lt;br /&gt;
  # rescale from odd integer values to true world values&lt;br /&gt;
  r.rescale cleanTOPO2.tmp out=cleanTOPO2 to=-10701,8248&lt;br /&gt;
  r.colors cleanTOPO2_final col=terrain&lt;br /&gt;
&lt;br /&gt;
[[Image:CleanTOPO2_map.png|thumb|center|300px|Rescaled ClearTOPO2 map]]&lt;br /&gt;
&lt;br /&gt;
=== EGM2008 Geoid Data (Earth Gravitational Model) ===&lt;br /&gt;
&lt;br /&gt;
Global 2.5 Minute Geoid Undulations:&lt;br /&gt;
* download GIS Format at http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008/egm08_gis.html&lt;br /&gt;
&lt;br /&gt;
[[Image:Trentino_egm2008_map_5m_resampled.jpg|thumb|center|300px|Geoid undulations in Trentino, Italy]]&lt;br /&gt;
&lt;br /&gt;
Verifications of points can be done with the http://geographiclib.sourceforge.net/cgi-bin/GeoidEval&lt;br /&gt;
&lt;br /&gt;
=== ETOPO (DEM) ===&lt;br /&gt;
&lt;br /&gt;
The ETOPO datasets provide global topography and bathymetry at 1', 2', and 5' per-cell resolutions.&lt;br /&gt;
&lt;br /&gt;
==== ETOPO1 (DEM) ====&lt;br /&gt;
&lt;br /&gt;
* http://www.ngdc.noaa.gov/mgg/global/&lt;br /&gt;
&lt;br /&gt;
* '''The ''cell registered'' version can be loaded directly into a lat/lon location'''. GRASS raster data is cell registered (see the [[GRASS raster semantics]] page)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Special care must be taken with the ''grid registered'' version. It can not be loaded directly into a lat/lon location as the parameters found in the .hdr file exceed the limits of polar coordinate space: they have N,S rows which go 1/2 a cell beyond 90 latitude, when considered in the ''cell registered'' convention.&lt;br /&gt;
: So the data needs to have those 90deg N,S rows cropped away, and while we're at it we crop away a redundant overlapping column at 180 longitude. To do this we have to first tell the GIS a little fib during import to squeeze the data into lat/lon space, then crop away the spurious rows and column, then finally reset the resulting map's bounds to its true extent.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 # Import grid registered binary float, fibbing about its true extent&lt;br /&gt;
 r.in.bin -f in=etopo1_bed_g.flt out=etopo1_bed_g.raw \&lt;br /&gt;
    n=90 s=-90 e=180 w=-180 rows=10801 cols=21601 anull=-9999&lt;br /&gt;
 &lt;br /&gt;
 # reduce the working region by 1 cell&lt;br /&gt;
 g.region rast=etopo1_bed_g.raw&lt;br /&gt;
 eval `g.region -g`&lt;br /&gt;
 g.region n=n-$nsres s=s+$nsres e=e-$ewres -p&lt;br /&gt;
 &lt;br /&gt;
 # save smaller raster and remove original&lt;br /&gt;
 r.mapcalc &amp;quot;etopo1_bed_g.crop = etopo1_bed_g.raw&amp;quot;&lt;br /&gt;
 g.remove etopo1_bed_g.raw&lt;br /&gt;
&lt;br /&gt;
 # re-establish the correct bounds, now that they'll fit&lt;br /&gt;
 r.region etopo1_bed_g.crop n=89:59:30N s=89:59:30S w=179:59:30E e=179:59:30E&lt;br /&gt;
 g.region rast=etopo1_bed_g.crop&lt;br /&gt;
&lt;br /&gt;
 # check that N,S,E,W and Res are all nice and clean:&lt;br /&gt;
 r.info etopo1_bed_g.crop&lt;br /&gt;
&lt;br /&gt;
 # looks good, so accept the results by resetting the map name&lt;br /&gt;
 g.rename etopo1_bed_g.crop,etopo1_bed_g&lt;br /&gt;
&lt;br /&gt;
 # set to use appropriate color rules&lt;br /&gt;
 r.colors etopo1_bed_g color=etopo2&lt;br /&gt;
&lt;br /&gt;
 # set the 'units' metadata field (for elevation data contained within the map)&lt;br /&gt;
 r.support etopo1_bed_g units=meters&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For the problematic ''grid registered'' version, the resulting {{cmd|r.info}} report should look like:&lt;br /&gt;
 |   Rows:         10799                                                      |&lt;br /&gt;
 |   Columns:      21600                                                      |&lt;br /&gt;
 |   Total Cells:  233258400                                                  |&lt;br /&gt;
 |        Projection: Latitude-Longitude                                      |&lt;br /&gt;
 |            N:  89:59:30N    S:  89:59:30S   Res:  0:01                     |&lt;br /&gt;
 |            E: 179:59:30E    W: 179:59:30E   Res:  0:01                     |&lt;br /&gt;
 |   Range of data:    min = -10898  max = 8271                               |&lt;br /&gt;
(the east and west bounds of the map touch 1/2 a cell west of 180 longitude)&lt;br /&gt;
&lt;br /&gt;
* For the problematic ''grid registered'' version, since the data's grid is 1/2 a cell shifted from nicely rounded 1 arc-minutes (0:01), you'll need to ensure that the mapset's region preserves that alignment after zooming or panning:&lt;br /&gt;
 g.region align=etopo1_bed_g -p&lt;br /&gt;
: (or oversample and set the region resolution to 1/2 arc-minutes (0:00:30), which will be four times as slow)&lt;br /&gt;
&lt;br /&gt;
==== ETOPO2 (DEM) ====&lt;br /&gt;
&lt;br /&gt;
* See the ETOPO2 (2' global) article by M.H. Bowman in the [http://grass.osgeo.org/newsletter/GRASSNews_vol1.pdf GRASS Newsletter, 1:8-11, August 2004].&lt;br /&gt;
: [http://www.ngdc.noaa.gov/mgg/fliers/01mgg04.html ETOPO2v2 data download] (take for example the ETOPO2v2g_f4_LSB.flt file)&lt;br /&gt;
&lt;br /&gt;
=== GTOPO30 (DEM) ===&lt;br /&gt;
&lt;br /&gt;
* Data [http://eros.usgs.gov/#/Find_Data/Products_and_Data_Available/gtopo30_info download] - Import with {{cmd|r.in.gdal}}.&lt;br /&gt;
&lt;br /&gt;
''Note:'' To avoid that the GTOPO30 data are read incorrectly, you can add a new line &amp;quot;PIXELTYPE SIGNEDINT&amp;quot; in the .HDR to force interpretation of the file as signed rather than unsigned integers. Then the .DEM file can be imported. Finally, e.g. the 'terrain' color table can be assigned to the imported map with r.colors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Global Multi-resolution Terrain Elevation Data 2010 (GMTED2010) ===&lt;br /&gt;
&lt;br /&gt;
* Data download: [https://lta.cr.usgs.gov/GMTED2010 Web] and [http://topotools.cr.usgs.gov/GMTED_viewer/gmted2010_global_grids.php FTP] - Import with {{cmd|r.in.gdal}}. See also [https://erouault.blogspot.de/2011/12/seamless-access-to-remote-global-multi.html related GDAL blog post]&lt;br /&gt;
&lt;br /&gt;
Tiles: Import of GMTED2010 tiles in GRASS GIS:&lt;br /&gt;
&lt;br /&gt;
  r.in.gdal 30N000E_20101117_gmted_mea075.tif out=gmted2010_30N000E_20101117&lt;br /&gt;
  r.colors gmted2010_30N000E_20101117 color=elevation&lt;br /&gt;
  g.region rast=gmted2010_30N000E_20101117&lt;br /&gt;
  r.relief input=gmted2010_30N000E_20101117 output=gmted2010_30N000E_20101117.shade&lt;br /&gt;
  r.shade shade=gmted2010_30N000E_20101117.shade color=gmted2010_30N000E_20101117 \&lt;br /&gt;
   output=gmted2010_30N000E_20101117_shaded&lt;br /&gt;
  d.mon wx0&lt;br /&gt;
  d.rast gmted2010_30N000E_20101117_shaded&lt;br /&gt;
  d.grid 1 color=red textcolor=red&lt;br /&gt;
&lt;br /&gt;
[[Image:Gmted2010_30N000E_20101117_shaded.png|thumb|center|300px|GMTED2010 example: Trento - Garda Lake - Verona area (Northern Italy)]]&lt;br /&gt;
&lt;br /&gt;
Full maps:&lt;br /&gt;
&lt;br /&gt;
  # mean elevation global GMTED2010 map, 30 arc-sec&lt;br /&gt;
  wget http://edcintl.cr.usgs.gov/downloads/sciweb1/shared/topo/downloads/GMTED/Grid_ZipFiles/mn30_grd.zip&lt;br /&gt;
  unzip mn30_grd.zip&lt;br /&gt;
  &lt;br /&gt;
Important: the GMTED2010 map exceeds the -180°..+180° range due to the [https://pubs.usgs.gov/of/2011/1073/pdf/of2011-1073.pdf GMTED2010 pixel geometry] (PDF). Note that this cannot be handled in GRASS GIS &amp;lt; 7.4. Please update to GRASS GIS 7.4 or newer.&lt;br /&gt;
&lt;br /&gt;
=== GEBCO Bathymetric Chart ===&lt;br /&gt;
&lt;br /&gt;
* The General Bathymetric Chart of the Oceans (original 1' release 2003, new 1' and 30&amp;quot; releases 2008)&lt;br /&gt;
: http://www.gebco.net/data_and_products/gridded_bathymetry_data/&lt;br /&gt;
: http://www.bodc.ac.uk/data/online_delivery/gebco/&lt;br /&gt;
&lt;br /&gt;
{{cmd|r.in.gdal}} can be used to import the GMT netCDF files directly, or if that doesn't work you can use GMT tools to convert to an old-style native GMT format and import that with {{cmd|r.in.bin}}.&lt;br /&gt;
: example:  (GEBCO 2003 1' data)&lt;br /&gt;
&lt;br /&gt;
 # convert to an old style GMT binary .grd using grdreformat&lt;br /&gt;
 $ grdreformat 3n24s47w14w.grd 3n24s47w14w_Native.grd=bs&lt;br /&gt;
 &lt;br /&gt;
 # then import into GRASS,&lt;br /&gt;
 GRASS&amp;gt; r.in.bin -h -s bytes=2 in=3n24s47w14w_Native.grd out=3n24s47w14w&lt;br /&gt;
 &lt;br /&gt;
 # and set some nice colors&lt;br /&gt;
 GRASS&amp;gt; r.colors 3n24s47w14w rules=- &amp;lt;&amp;lt; EOF&lt;br /&gt;
 nv magenta&lt;br /&gt;
 0% black&lt;br /&gt;
 -7740 0:0:168&lt;br /&gt;
 0 84:176:248&lt;br /&gt;
 0 40:124:0&lt;br /&gt;
 522 68:148:24&lt;br /&gt;
 1407 148:228:108&lt;br /&gt;
 1929 232:228:108&lt;br /&gt;
 2028 232:228:92&lt;br /&gt;
 2550 228:160:32&lt;br /&gt;
 2724 216:116:8&lt;br /&gt;
 2730 grey&lt;br /&gt;
 2754 grey&lt;br /&gt;
 2760 252:252:252&lt;br /&gt;
 2874 252:252:252&lt;br /&gt;
 2883 192:192:192&lt;br /&gt;
 2913 192:192:192&lt;br /&gt;
 100% 252:252:252&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== Global Multi-Resolution Topography (GMRT DEM) ===&lt;br /&gt;
: ''From Columbia University's Lamont-Doherty Earth Observatory''&lt;br /&gt;
(it is reported that this is what Google Maps uses for their global bathymetry)&lt;br /&gt;
&lt;br /&gt;
* Global ~1 arc-second (~90 m) topography using multi-beam and satellite data in the oceans combined with SRTM on land.&lt;br /&gt;
* Full information at: http://www.marine-geo.org/portals/gmrt/&lt;br /&gt;
* Accessible via [http://www.geomapapp.org/ GeoMapApp] or [http://www.virtualocean.org/ Virtual Ocean] software.&lt;br /&gt;
* Very convenient to download into GRASS via wget:&lt;br /&gt;
&lt;br /&gt;
  export `g.region -g`&lt;br /&gt;
  wget &amp;quot;http://www.marine-geo.org/cgi-bin/getgridB?west=${w}&amp;amp;east=${e}&amp;amp;south=${s}&amp;amp;north=${n}&amp;amp;resolution=1&amp;quot; -O /tmp/test.grd&lt;br /&gt;
  r.in.gdal /tmp/test.grd output=GMRT -o&lt;br /&gt;
  rm /tmp/test.grd&lt;br /&gt;
&lt;br /&gt;
* Note: Downloaded file contains no projection information, but is EPSG:4326 (WGS84 Geographic).  The file size is limited, but lower resolution (resolution=2,4,8) data can be downloaded for larger areas.&lt;br /&gt;
&lt;br /&gt;
=== Smith and Sandwell DEM ===&lt;br /&gt;
&lt;br /&gt;
* Merge info here from the [[Marine Science]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SRTM DEM ===&lt;br /&gt;
&lt;br /&gt;
[http://www2.jpl.nasa.gov/srtm/ Space Shuttle Radar Topography Mission] - several SRTM Data Products are available:&lt;br /&gt;
* Original data - SRTM 3 V001 arc-seconds Non-Void Filled elevation data (US: 1 arc-second (approximately 30 meters); outside the US at 3 arc-seconds (approximately 90 meters))&lt;br /&gt;
* SRTM V003 3 Arc-Second Global Void Filled elevation data, with voids filled using interpolation algorithms in conjunction with other sources of elevation data  (US: 1 arc-second (approximately 30 meters); outside the US at 3 arc-seconds (approximately 90 meters))&lt;br /&gt;
** SRTM V3 tiles at 3 arc seconds resolution from: http://e4ftl01.cr.usgs.gov/SRTM/SRTMGL3.003/2000.02.11/ - or simply use {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
* '''SRTM V003 1 Arc-Second Global elevation data''' offer worldwide coverage of '''void filled''' data at a resolution of 1 arc-second (30 meters) and provide open distribution of this high-resolution global data set.&lt;br /&gt;
** [http://earthexplorer.usgs.gov/ EarthExplorer] can be used to search, preview, and download Shuttle Radar Topography Mission (SRTM) 1 Arc-Second Global data. The collections are located under the Digital Elevation category.&lt;br /&gt;
** FTP download: http://e4ftl01.cr.usgs.gov/SRTM/SRTMGL1.003/2000.02.11/ - or simply use {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
** Web-based [http://dwtkns.com/srtm30m/ 30-Meter SRTM Tile Downloader] (select from map)&lt;br /&gt;
&lt;br /&gt;
Import:&lt;br /&gt;
* Using {{cmd|r.in.gdal}} or {{cmd|r.import}} or {{cmd|r.in.srtm}} or {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
* see [[HOWTO import SRTM elevation data]], focused on the SRTM 3 arc-seconds Non-Void Filled elevation data&lt;br /&gt;
&lt;br /&gt;
=== SRTM30plus data DEM ===&lt;br /&gt;
&lt;br /&gt;
SRTM30plus data consists of 33 files of global topography in the same format as the SRTM30 products distributed by the USGS EROS data center. The grid resolution is 30 seconds which is roughly one kilometer (1 km).&lt;br /&gt;
&lt;br /&gt;
Land data are based on the 1-km averages of topography derived from the USGS SRTM30 grided DEM data product created with data from the NASA Shuttle Radar Topography Mission. GTOPO30 data are used for high latitudes where SRTM data are not available.&lt;br /&gt;
&lt;br /&gt;
Ocean data are based on the Smith and Sandwell global 2-minute grid between latitudes +/- 72 degrees. Higher resolution grids have been added from the LDEO Ridge Multibeam Synthesis Project and the NGDC Coastal Relief Model. Arctic bathymetry is from the International Bathymetric Chart of the Oceans (IBCAO).&lt;br /&gt;
&lt;br /&gt;
All data are derived from public domain sources and these data are also in the public domain.&lt;br /&gt;
&lt;br /&gt;
GRASS 6 script {{{cmd|r.in.srtm}}} described in GRASSNews vol. 3 won't work with this dataset (as it was made for the original SRTM HGT files). But you can import SRTM30plus tiles into GRASS this way:&lt;br /&gt;
&lt;br /&gt;
 r.in.bin -sb input=e020n40.Bathymetry.srtm output=e020n40_topex bytes=2 \&lt;br /&gt;
  north=40 south=-10 east=60 west=20 r=6000 c=4800&lt;br /&gt;
 r.colors e020n40_topex rules=etopo2&lt;br /&gt;
&lt;br /&gt;
; Source&lt;br /&gt;
: GRASS Users Mailing List http://lists.osgeo.org/pipermail/grass-user/2005-August/030063.html&lt;br /&gt;
; Getting as SRTM30plus tiles: ftp://topex.ucsd.edu/pub/srtm30_plus/srtm30/data/&lt;br /&gt;
; Getting as SRTM30plus huge file: ftp://topex.ucsd.edu/pub/srtm30_plus/topo30/&lt;br /&gt;
; SRTMPLUS WCS server: http://svn.osgeo.org/gdal/trunk/autotest/gdrivers/data/srtmplus.wcs (read with {{cmd|r.external}})&lt;br /&gt;
&lt;br /&gt;
=== SRTM Water Body Database SRTMSWBD V003 ===&lt;br /&gt;
&lt;br /&gt;
SRTM Water Body Database V003&lt;br /&gt;
* Format documentation: https://lpdaac.usgs.gov/dataset_discovery/measures/measures_products_table/srtmswbd_v003&lt;br /&gt;
* FTP raster data (30m res water bodies): http://e4ftl01.cr.usgs.gov/SRTM/SRTMSWBD.003/&lt;br /&gt;
&lt;br /&gt;
Import into GRASS GIS 7 (lat-long location):&lt;br /&gt;
 r.in.bin -sb input=N00E108.raw output=N00E108_swbd bytes=1 north=0 south=-10 east=108 west=98 r=3601 c=3601   &amp;lt;&amp;lt;= DRAFT - TODO fix n,s,e,w - calculate from filename&lt;br /&gt;
&lt;br /&gt;
== Soil data ==&lt;br /&gt;
&lt;br /&gt;
=== Harmonized World Soil Database (HWSD Database) ===&lt;br /&gt;
&lt;br /&gt;
Download: http://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/&lt;br /&gt;
&lt;br /&gt;
[http://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/DataDesc.html?sb=12 Spatial reference system:] [http://spatialreference.org/ref/epsg/4326/ EPSG:4326] (LatLong WGS84)&lt;br /&gt;
&lt;br /&gt;
Import:&lt;br /&gt;
 grass70 -c EPSG:4326 ~/grassdata/hwsd&lt;br /&gt;
 # -e: expand location to dataset; -o: override (missing) projection in input dataset:&lt;br /&gt;
 r.in.gdal input=hwsd.bil output=hwSoil -e -o&lt;br /&gt;
 g.region raster=hwSoil -p&lt;br /&gt;
 r.category hwSoil&lt;br /&gt;
&lt;br /&gt;
The data is distributed with an MSAccess .mdb which contains additional data for each of the categories in the raster file. Opening the file in access, the data is found in the query &amp;quot;HWSD_Q&amp;quot;. Save this query in .csv format (with a name like &amp;quot;HWSD_Q.csv&amp;quot;) so that it may then be imported into GRASS. After that, it is necessary to replace the commas with dots (find &amp;amp; replace) in the .csv file. Before you can import it, you also need a file &amp;quot;HWSD_Q.csvt&amp;quot;, which contains a single line listing the type for each column in the database:&lt;br /&gt;
 &amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With both the .csv and the .csvt file in the same directory, you can then import them into GRASS:&lt;br /&gt;
 db.in.ogr input=~/grassdata/hwsd/HWSD_Q.csv output=hwsdData&lt;br /&gt;
&lt;br /&gt;
The data cannot be connected directly to the raster, it must be converted to a vector first:&lt;br /&gt;
 g.region raster=hwSoil&lt;br /&gt;
 r.to.vect -v input=hwSoil output=hwSoil feature=area&lt;br /&gt;
 v.db.droptable hwSoil&lt;br /&gt;
 db.droptable -f hwSoil # delete the table completely&lt;br /&gt;
&lt;br /&gt;
Note that the table includes multiple rows for each polygon, corresponding&lt;br /&gt;
to the dominant and various numbers of subdominant soils. To select only&lt;br /&gt;
the dominant soil layer:&lt;br /&gt;
&lt;br /&gt;
 db.select table=hwsdData sql='select * from hwsdData where SEQ = 1' \&lt;br /&gt;
          output=domSoil.csv separator=,&lt;br /&gt;
&lt;br /&gt;
This saves a copy of the table that contains only the dominant soil type for each polygon as domSoil.csv. This needs to be reloaded into the GRASS database. Since it has the same columns as HWSD_Q.csv, we can use the labels for that file:&lt;br /&gt;
&lt;br /&gt;
 cp HWSD_Q.csvt domSoil.csvt&lt;br /&gt;
&lt;br /&gt;
Then we can load domSoil.csv:&lt;br /&gt;
&lt;br /&gt;
 db.in.ogr \&lt;br /&gt;
    input=~/grassdata/downloads/harmonized_world_soil_database/domSoil.csv \&lt;br /&gt;
    output=domSoil &lt;br /&gt;
&lt;br /&gt;
Now at last we can connect the database to the vector file:&lt;br /&gt;
&lt;br /&gt;
 v.db.connect -o map=hwsd table=domSoil driver=sqlite key=MU_GLOBAL&lt;br /&gt;
&lt;br /&gt;
To create a new raster map taking the values from the table:&lt;br /&gt;
 g.region raster=hwSoil  ## make sure we get the whole map&lt;br /&gt;
 v.to.rast in=hwSoil out=T_SAND col=T_SAND&lt;br /&gt;
&lt;br /&gt;
=== SoilGrids.org 250m soil taxonomy map ===&lt;br /&gt;
&lt;br /&gt;
SoilGrids is a system for automated soil mapping based on global soil profile and environmental covariate data. SoilGrids represents a collection of updatable soil property and class maps of the world at 1 km and 250 m spatial resolution produced using automated soil mapping based on machine learning algorithms. It aims at becoming OpenStreetMap and/or OpenWeatherMap for soil data. SoilGrids predictions are updated on a regular basis (at least every few months). For more details about the SoilGrids system, please refer to the SoilGrids project site: https://www.soilgrids.org/#/?layer=geonode:taxnwrb_250m&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
URL=ftp://ftp.soilgrids.org/data/recent/TAXNWRB_250m_ll.tif&lt;br /&gt;
&lt;br /&gt;
# the Soilgrids GeoTIFF data suffer from a resolution precision problem:&lt;br /&gt;
# resolution is stored as 0.002083333000000 while it should be 0.002083333333333, hence the geometry is not fully correct&lt;br /&gt;
# this likely originates from Soilgrids being processed in SAGA which cuts decimals after the 10th decimal place, hence comes with a precision problem &lt;br /&gt;
&lt;br /&gt;
export NAME=`basename $URL .tif`&lt;br /&gt;
wget $URL&lt;br /&gt;
&lt;br /&gt;
gdal_translate --config GDAL_CACHEMAX 2000 -a_ullr $COORDS -co &amp;quot;COMPRESS=DEFLATE&amp;quot; $NAME.tif ${NAME}_fixed.tif&lt;br /&gt;
gdalinfo ${NAME}_fixed.tif&lt;br /&gt;
&lt;br /&gt;
grass72 -c ${NAME}_fixed.tif ~/grassdata/latlong --exec r.import input=${NAME}_fixed.tif output=${NAME}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Starting with GRASS GIS 7.4.x, there is new flag in [https://grass.osgeo.org/grass74/manuals/r.in.gdal.html r.in.gdal] to auto-adjust such small resolution precision issues: '''-a''' ''- Auto-adjustment for lat/lon. Attempt to fix small precision errors in resolution and extents.''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
r.in.gdal -a input=TAXNWRB_250m_ll.tif output=TAXNWRB_250m_ll&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Landcover data ==&lt;br /&gt;
&lt;br /&gt;
=== ESA Globcover dataset ===&lt;br /&gt;
&lt;br /&gt;
Download: http://due.esrin.esa.int/page_globcover.php&lt;br /&gt;
&lt;br /&gt;
Or via command line:&lt;br /&gt;
 wget http://due.esrin.esa.int/files/Globcover2009_V2.3_Global_.zip&lt;br /&gt;
 unzip Globcover2009_V2.3_Global_.zip&lt;br /&gt;
 # rm -f Globcover2009_V2.3_Global_.zip&lt;br /&gt;
&lt;br /&gt;
Note, also a coloured version of the map in GeoTIFF format is available at: http://due.esrin.esa.int/files/GLOBCOVER_L4_200901_200912_V2.3.color.tif&lt;br /&gt;
&lt;br /&gt;
Unfortunately the Globcover map exceeds the -180°..+180° range etc, indicating a shift of the map (see also [http://www.cosmo-model.org/content/tasks/workGroups/wg3b/meetings/2012-soilveg/EXTPAR-GLOBCOVER.pdf this assessment by DWD]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gdalinfo GLOBCOVER_L4_200901_200912_V2.3.tif&lt;br /&gt;
Driver: GTiff/GeoTIFF&lt;br /&gt;
Files: GLOBCOVER_L4_200901_200912_V2.3.tif&lt;br /&gt;
Size is 129600, 55800&lt;br /&gt;
Coordinate System is:&lt;br /&gt;
GEOGCS[&amp;quot;WGS 84&amp;quot;,&lt;br /&gt;
...&lt;br /&gt;
Origin = (-180.001388888888897,90.001388888888883)&lt;br /&gt;
...&lt;br /&gt;
Corner Coordinates:&lt;br /&gt;
Upper Left  (-180.0013889,  90.0013889) (180d 0' 5.00&amp;quot;W, 90d 0' 5.00&amp;quot;N)&lt;br /&gt;
Lower Left  (-180.0013889, -64.9986111) (180d 0' 5.00&amp;quot;W, 64d59'55.00&amp;quot;S)&lt;br /&gt;
Upper Right ( 179.9986111,  90.0013889) (179d59'55.00&amp;quot;E, 90d 0' 5.00&amp;quot;N)&lt;br /&gt;
Lower Right ( 179.9986111, -64.9986111) (179d59'55.00&amp;quot;E, 64d59'55.00&amp;quot;S)&lt;br /&gt;
Center      (  -0.0013889,  12.5013889) (  0d 0' 5.00&amp;quot;W, 12d30' 5.00&amp;quot;N)&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
How to fix this?&lt;br /&gt;
&lt;br /&gt;
'''Option 1:''' You can use the -l flag of {{cmd|r.in.gdal}} to constrain the map coordinates to legal values ([https://pvanb.wordpress.com/2011/05/10/importing-global-rasters-in-grass-gives-me-illegal-latitude-for-north-message/ ref]. But the resulting pixels will no longer have the original resolution. We will not do that.&lt;br /&gt;
&lt;br /&gt;
'''Option 2:''' Shift the Globcover map slightly into the right position using [http://www.gdal.org/gdal_translate.html gdal_translate]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# coords are shifted, fix raster map&lt;br /&gt;
# -a_ullr Assign/override the georeferenced bounds of the output file&lt;br /&gt;
# use larger cache and compress result&lt;br /&gt;
gdal_translate --config GDAL_CACHEMAX 1200 -a_ullr -180 90 180 -65 \&lt;br /&gt;
     -co &amp;quot;COMPRESS=LZW&amp;quot; GLOBCOVER_L4_200901_200912_V2.3.tif GLOBCOVER_L4_200901_200912_V2.3_fixed.tif&lt;br /&gt;
&lt;br /&gt;
# result:&lt;br /&gt;
gdalinfo GLOBCOVER_L4_200901_200912_V2.3_fixed.tif&lt;br /&gt;
...&lt;br /&gt;
Origin = (-180.000000000000000,90.000000000000000)&lt;br /&gt;
Pixel Size = (0.002777777777778,-0.002777777777778)&lt;br /&gt;
...&lt;br /&gt;
Corner Coordinates:&lt;br /&gt;
Upper Left  (-180.0000000,  90.0000000) (180d 0' 0.00&amp;quot;W, 90d 0' 0.00&amp;quot;N)&lt;br /&gt;
Lower Left  (-180.0000000, -65.0000000) (180d 0' 0.00&amp;quot;W, 65d 0' 0.00&amp;quot;S)&lt;br /&gt;
Upper Right ( 180.0000000,  90.0000000) (180d 0' 0.00&amp;quot;E, 90d 0' 0.00&amp;quot;N)&lt;br /&gt;
Lower Right ( 180.0000000, -65.0000000) (180d 0' 0.00&amp;quot;E, 65d 0' 0.00&amp;quot;S)&lt;br /&gt;
Center      (   0.0000000,  12.5000000) (  0d 0' 0.01&amp;quot;E, 12d30' 0.00&amp;quot;N)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voilà! Now we can import the map into GRASS GIS:&lt;br /&gt;
&lt;br /&gt;
 r.in.gdal input=GLOBCOVER_L4_200901_200912_V2.3_fixed.tif output=esa_globcover2009&lt;br /&gt;
&lt;br /&gt;
'''Legend conversion''': The ZIP file contains a XLS table describing the classes and the RGB colors. Using ogr2ogr can directly convert XLS --&amp;gt; CSV:&lt;br /&gt;
&lt;br /&gt;
 ogr2ogr -f CSV Globcover2009_Legend.csv Globcover2009_Legend.xls&lt;br /&gt;
&lt;br /&gt;
'''Applying the legend:'''&lt;br /&gt;
&lt;br /&gt;
 # suppress table header and only consider category value and label, apply on the fly:&lt;br /&gt;
 cat Globcover2009_Legend.csv | grep -v '^Value' | cut -d',' -f1-2 | r.category esa_globcover2009 separator=comma rules=-&lt;br /&gt;
 # verify (0E, 0N is the Atlantic Ocean)&lt;br /&gt;
 r.what esa_globcover2009 coor=0,0 -f&lt;br /&gt;
 0|0||210|Water bodies&lt;br /&gt;
&lt;br /&gt;
=== Global Forest Change ===&lt;br /&gt;
&lt;br /&gt;
* http://earthenginepartners.appspot.com/science-2013-global-forest &lt;br /&gt;
* Download info on: http://earthenginepartners.appspot.com/science-2013-global-forest/download_v1.3.html&lt;br /&gt;
&lt;br /&gt;
== Imagery ==&lt;br /&gt;
&lt;br /&gt;
=== AVHRR ===&lt;br /&gt;
&lt;br /&gt;
* see the [[AVHRR]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== Blue Marble imagery ===&lt;br /&gt;
&lt;br /&gt;
NASA's Blue Marble is a 500m-8 degree per-cell world wide visual image of the Earth from space, with the clouds removed.&lt;br /&gt;
&lt;br /&gt;
* see the [[Blue Marble]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== EO-1 imagery ===&lt;br /&gt;
&lt;br /&gt;
(Earth Observing-1)&lt;br /&gt;
* &amp;quot;''Advanced Land Imager (ALI) provides image data from ten spectral bands (band designations). The instrument operates in a pushbroom fashion, with a spatial resolution of 30 meters for the multispectral bands and 10 meters for the panchromatic band.''&amp;quot;&lt;br /&gt;
:-- http://eros.usgs.gov/products/satellite/eo1.php&lt;br /&gt;
* On-board Atmospheric Corrections&lt;br /&gt;
&lt;br /&gt;
=== Global Land Cover Characteristics ===&lt;br /&gt;
&lt;br /&gt;
USGS ''et al.'' generated dataset at 1km resolution. Provides global landcover characteristics.&lt;br /&gt;
&lt;br /&gt;
* see the [[Global Land Cover Characteristics]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== LANDSAT imagery ===&lt;br /&gt;
&lt;br /&gt;
Since October 1, 2008 all Landsat 7 ETM+ scenes held in the [http://landsat.usgs.gov/ USGS EROS archive] are available for download at no charge.&lt;br /&gt;
* Download via the [http://glovis.usgs.gov/ Glovis] online search tool (req. Java)&lt;br /&gt;
* Download via the USGS's [http://edcsns17.cr.usgs.gov/EarthExplorer/ EarthExplorer] interface&lt;br /&gt;
&lt;br /&gt;
==== Import Modules ====&lt;br /&gt;
&lt;br /&gt;
* {{cmd|r.in.gdal}} - Main import tool for complete multiband scenes&lt;br /&gt;
* {{cmd|r.in.wms}} - Download data covering current map region via WMS server&lt;br /&gt;
* [[GRASS_AddOns#r.in.onearth|r.in.onearth]] - WMS frontend for NASA's OnEarth Global Landsat Mosaic&lt;br /&gt;
&lt;br /&gt;
==== Color balancing modules ====&lt;br /&gt;
* {{cmd|i.landsat.rgb}} (GRASS 6.x) | {{cmd|i.colors.enhance|version=70}} (GRASS 7.x)  - Color balancing/enhancement tool&lt;br /&gt;
&lt;br /&gt;
==== See also ====&lt;br /&gt;
&lt;br /&gt;
* Processing tips can be found on the [[LANDSAT]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== ESA Sentinel imagery ===&lt;br /&gt;
&lt;br /&gt;
All Sentinel 1 and 2 data is available for download from the [https://scihub.copernicus.eu/ Open Access Hub]&lt;br /&gt;
&lt;br /&gt;
* via the [https://scihub.copernicus.eu/dhus/#/home online interactive interface]&lt;br /&gt;
* via the [https://scihub.copernicus.eu/twiki/do/view/SciHubWebPortal/APIHubDescription API]&lt;br /&gt;
&lt;br /&gt;
For pre-processing, different tools are available at&lt;br /&gt;
* http://step.esa.int/main/ Scientific Toolbox Exploitation Platform&lt;br /&gt;
* https://github.com/Fernerkundung/awesome-sentinel (&amp;quot;Awesome Sentinel&amp;quot; - list of tools)&lt;br /&gt;
&lt;br /&gt;
=== Miscellaneous ===&lt;br /&gt;
&lt;br /&gt;
==== Data sources ====&lt;br /&gt;
&lt;br /&gt;
* Some datasource links: http://www.ruf.rice.edu/~ben/gmt.html&lt;br /&gt;
* [http://www.geotorrent.org/browse.php Geotorrent.org]&lt;br /&gt;
&lt;br /&gt;
==== Import Modules ====&lt;br /&gt;
* The {{cmd|r.in.gdal}} modules may be used to import data of [http://www.gdal.org/formats_list.html many formats], including GMT netCDF&lt;br /&gt;
* The {{cmd|r.in.bin}} module may be used to import raw binary files&lt;br /&gt;
&lt;br /&gt;
=== MODIS imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the [[MODIS]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== Natural Earth imagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.naturalearthdata.com/ Natural Earth II]:  World environment map in natural color. GeoTIFF (use the {{cmd|r.in.gdal}} module)&lt;br /&gt;
* see also 1:10 million, 1:50 million and 1:110million scale maps from  http://www.naturalearthdata.com/&lt;br /&gt;
&lt;br /&gt;
=== Orthoimagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://worldwindcentral.com/wiki/Sources_of_free_orthoimagery Sources of free orthoimagery]&lt;br /&gt;
&lt;br /&gt;
=== Pathfinder AVHRR SST imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the Pathfinder [[AVHRR]] SST wiki page&lt;br /&gt;
&lt;br /&gt;
=== QuickBird imagery ===&lt;br /&gt;
&lt;br /&gt;
* See the [[QuickBird]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SeaWiFS imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the [[SeaWiFS]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SPOT Vegetation imagery ===&lt;br /&gt;
&lt;br /&gt;
SPOT Vegetation (1km) global: NDVI data sets&lt;br /&gt;
&lt;br /&gt;
* [http://free.vgt.vito.be/ SPOT Vegetation (1km, global) NDVI data set server]&lt;br /&gt;
* for import, see {{cmd|i.in.spotvgt}}&lt;br /&gt;
&lt;br /&gt;
=== True Marble imagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.unearthedoutdoors.net/global_data/true_marble/download True Marble]: 250m world wide visual image of the Earth from space, with the clouds removed. GeoTIFF (use the {{cmd|r.in.gdal}} module)&lt;br /&gt;
&lt;br /&gt;
== Climatic data ==&lt;br /&gt;
&lt;br /&gt;
=== OGC WCS - Albedo example ===&lt;br /&gt;
&lt;br /&gt;
TODO: update this example e.g. to http://demo.mapserver.org/cgi-bin/wcs?SERVICE=wcs&amp;amp;VERSION=1.0.0&amp;amp;REQUEST=GetCapabilities&lt;br /&gt;
&lt;br /&gt;
GRASS imports OGC Web Coverage Service data. Example server (please suggest a better one!)&lt;br /&gt;
  &amp;lt;WCS_GDAL&amp;gt;&lt;br /&gt;
  &amp;lt;ServiceURL&amp;gt;http://laits.gmu.edu/cgi-bin/NWGISS/NWGISS?&amp;lt;/ServiceURL&amp;gt;&lt;br /&gt;
  &amp;lt;CoverageName&amp;gt;AUTUMN.hdf&amp;lt;/CoverageName&amp;gt;&lt;br /&gt;
  &amp;lt;Timeout&amp;gt;90&amp;lt;/Timeout&amp;gt;&lt;br /&gt;
  &amp;lt;Resample&amp;gt;nearest&amp;lt;/Resample&amp;gt;&lt;br /&gt;
  &amp;lt;/WCS_GDAL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save this as albedo.xml. Import into a LatLong WGS84 location:&lt;br /&gt;
  r.in.gdal albedo.xml out=albedo&lt;br /&gt;
&lt;br /&gt;
Unfortunately this server sends out the map shifted by 0.5 pixel. This requires a fix to the map boundary coordinates:&lt;br /&gt;
  r.region albedo n=90 s=-90 w=-180 e=180&lt;br /&gt;
&lt;br /&gt;
Now apply color table and look at the map:&lt;br /&gt;
  r.colors albedo color=byr&lt;br /&gt;
  d.mon x0&lt;br /&gt;
  d.rast albedo&lt;br /&gt;
&lt;br /&gt;
=== SNODAS maps ===&lt;br /&gt;
&lt;br /&gt;
[http://nsidc.org/data/docs/noaa/g02158_snodas_snow_cover_model/index.html Snow Data Assimilation System] data that support hydrological modeling and analysis. First download the data, and untar them (once for each month, and once for each day), and you should get pairs of “.dat” and “.Hdr” files. The data files are stored in flat 16-bit binary format, so assuming that “snowdas_in.dat” is the name of the input file, at the GRASS prompt:&lt;br /&gt;
&lt;br /&gt;
   r.in.bin -bs bytes=2 rows=3351 cols=6935 north=52.874583333332339 \&lt;br /&gt;
   south=24.949583333333454 east=-66.942083333334011 west=-124.733749999998366 \&lt;br /&gt;
   anull=-9999 input=snowdas_input.dat output=snowdas&lt;br /&gt;
&lt;br /&gt;
=== CHELSA climate maps ===&lt;br /&gt;
	&lt;br /&gt;
CHELSA – Climatologies at high resolution for the earth’s land surface areas is a high resolution (30 arc sec) climate data set for the earth land surface areas currently under development, see http://chelsa-climate.org/&lt;br /&gt;
&lt;br /&gt;
Version 1.1 has some coordinate issues originating from SAGA being used (coordinate precision issue), see http://chelsa-climate.org/known-issues/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
# WARNING: dirty hack - Better wait for the new release V1.2 of CHELSA!&lt;br /&gt;
&lt;br /&gt;
for i in `ls /scratch/chelsa_climate/*.zip` ; do&lt;br /&gt;
   unzip $i&lt;br /&gt;
   NAME=`basename $i .zip`&lt;br /&gt;
   gdal_translate --config GDAL_CACHEMAX 2000 -a_ullr -180 84 180 -90 -co &amp;quot;COMPRESS=DEFLATE&amp;quot; $NAME.tif ${NAME}_fixed.tif&lt;br /&gt;
   rm -f $NAME.tif&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== WorldClim maps ===&lt;br /&gt;
&lt;br /&gt;
[http://www.worldclim.org/ WorldClim] is a set of global climate layers (climate grids) with a spatial resolution of a square kilometer. Besides long-term average climate layers (representing the period 1950 - 2000) it also includes projections for future conditions based on downscaled global climate model (GCM) data from CMIP5 (IPPC Fifth Assessment) and projections of past conditions (downscaled global climate model output).&lt;br /&gt;
* Load into a Lat/Lon WGS84 location (EPSG:4326)&lt;br /&gt;
* The data set is provided in two formats: BIL and ESRI Grd. Import with {{cmd|r.in.bin}} or {{cmd|r.in.gdal}}. Version 1.4 has some coordinate issues:&lt;br /&gt;
&lt;br /&gt;
a) BIL: binary format is 2 byte integer. Multiply by 10 using {{cmd|r.mapcalc}} to convert units. See http://www.worldclim.org/format.htm for more information and the [[MODIS]] help page for example of converting raw to data units. Note that the file header is missing a line. To fix:&lt;br /&gt;
&lt;br /&gt;
 # fix WorldClim's BIL; tmean example&lt;br /&gt;
 for i in $(seq 1 12); do echo “PIXELTYPE SIGNEDINT” &amp;gt;&amp;gt;tmean$i.hdr; done&lt;br /&gt;
&lt;br /&gt;
b) ESRI grd files: Note that the WorldClim ESRI grd files suffer from a quality issue of coordinate precision. See [https://lists.osgeo.org/pipermail/grass-user/2011-January/059358.html here] for a solution.&lt;br /&gt;
&lt;br /&gt;
 # fix WorldClim's ESRI Grd; tmean example&lt;br /&gt;
 export GDAL_CACHEMAX=2000&lt;br /&gt;
 mkdir -p ~/tmp/&lt;br /&gt;
 # fix broken WorldClim files, see https://lists.osgeo.org/pipermail/grass-user/2011-January/059358.html&lt;br /&gt;
 # note: 60S, not 90S&lt;br /&gt;
 for i in $(seq 1 12); do gdal_translate -a_ullr -180 90 180 -60 tmean_$i $HOME/tmp/tmean_${i}_fixed.tif; done&lt;br /&gt;
 #&lt;br /&gt;
 # import&lt;br /&gt;
 for i in $(seq 1 12) ; do r.in.gdal input=$HOME/tmp/tmean_${i}_fixed.tif out=tmp --o ; g.region raster=tmp -p ; r.mapcalc &amp;quot;tmean_${i} = 0.1 * tmp&amp;quot; --o ; r.colors tmean_${i} color=celsius ; done&lt;br /&gt;
 #&lt;br /&gt;
 # clean up&lt;br /&gt;
 g.remove raster name=tmp -f&lt;br /&gt;
 rm -f ~/tmp/tmean_?_fixed.tif ; rm -f ~/tmp/tmean_??_fixed.tif&lt;br /&gt;
&lt;br /&gt;
=== Africlim maps ===&lt;br /&gt;
&lt;br /&gt;
[https://www.york.ac.uk/environment/research/kite/resources/ Africlim] provides four baseline data sets for current climate, including:&lt;br /&gt;
* CRU CL 2.0&lt;br /&gt;
* WorldClim v1.4&lt;br /&gt;
* TAMSAT TARCAT v2.0 (rainfall only)&lt;br /&gt;
* CHIRPS v1.8 (rainfall only). &lt;br /&gt;
&lt;br /&gt;
It furthermore provides data sets with projections of future climates based on combinations of ten general circulation models (GCMs), downscaled using five regional climate models (RCMs) and the four above mentioned contemporary baselines, under two representative concentration pathways of the IPCC-AR5 (RCP4.5 and RCP8.5). The data layers are available as GeoTIF files at spatial resolutions of 10', 5', 2.5', 1' and 30&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Population maps ==&lt;br /&gt;
&lt;br /&gt;
=== WorldPop ===&lt;br /&gt;
&lt;br /&gt;
* http://www.worldpop.org.uk/&lt;br /&gt;
&lt;br /&gt;
=== Gridded Population of the World ===&lt;br /&gt;
&lt;br /&gt;
* http://sedac.ciesin.columbia.edu/gpw/global.jsp&lt;br /&gt;
&lt;br /&gt;
Import with {{cmd|r.in.gdal}}, assign population color table with {{cmd|r.colors}}&lt;br /&gt;
&lt;br /&gt;
== Topographic maps ==&lt;br /&gt;
=== Soviet topographic maps ===&lt;br /&gt;
&lt;br /&gt;
* [http://en.poehali.org/maps Soviet topographic maps] as geocoded GeoTIFFs&lt;br /&gt;
&lt;br /&gt;
= Vector data =&lt;br /&gt;
&lt;br /&gt;
=== Natural Earth ===&lt;br /&gt;
&lt;br /&gt;
*  http://www.naturalearthdata.com/ data scaled for 1:10 million, 1:50 million and 1:110million&lt;br /&gt;
&lt;br /&gt;
=== CDC Geographic Boundary and Public Health Maps ===&lt;br /&gt;
&lt;br /&gt;
* http://www.cdc.gov/epiinfo/maps.htm&lt;br /&gt;
&lt;br /&gt;
=== Global Administrative Areas ===&lt;br /&gt;
&lt;br /&gt;
* GADM is a database of the location of the world's administrative areas (boundaries) available in shapefiles.&lt;br /&gt;
: http://gadm.org (extracted by country [http://gadm.org/country here])&lt;br /&gt;
&lt;br /&gt;
* World Borders Dataset including ISO 3166-1 Country codes available in shapefiles.&lt;br /&gt;
: http://thematicmapping.org/downloads/world_borders.php&lt;br /&gt;
* Free GIS data from Mapping Hacks&lt;br /&gt;
: http://mappinghacks.com/data/&lt;br /&gt;
&lt;br /&gt;
=== GSHHS World Coastline ===&lt;br /&gt;
&lt;br /&gt;
GSHHS is a high resolution shoreline dataset. It is derived from data in the public domain and licensed as GPL. The shorelines are constructed entirely from hierarchically arranged closed polygons. It is closely linked to the [[GMT]] project.&lt;br /&gt;
&lt;br /&gt;
==== Availability ====&lt;br /&gt;
&lt;br /&gt;
* Download the original data set from http://www.soest.hawaii.edu/pwessel/gshhg/index.html. Also available at http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhg/latest/.&lt;br /&gt;
&lt;br /&gt;
* The data set, or parts from it, can be extracted from [http://www.ngdc.noaa.gov/mgg/shorelines/shorelines.html NOAA's shoreline extractor].&lt;br /&gt;
:For GRASS 6 you can download 1:250,000 shoreline data from NOAA's site in Mapgen format, which can be imported with the {{cmd|v.in.mapgen}} module.&lt;br /&gt;
&lt;br /&gt;
* '''ESRI Shapefiles''' of the latest version are available at http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhg/latest/. The old 1.6 version is available at ftp://ftp.ihg.uni-duisburg.de/GIS/GISData/GSHHS/.&lt;br /&gt;
&lt;br /&gt;
==== Import ====&lt;br /&gt;
&lt;br /&gt;
* Import with the GRASS6 add-on module {{AddonCmd|v.in.gshhs}}&lt;br /&gt;
&lt;br /&gt;
=== OpenStreetMap ===&lt;br /&gt;
&lt;br /&gt;
See the [[OpenStreetMap]] wiki page.&lt;br /&gt;
&lt;br /&gt;
=== SALB ===&lt;br /&gt;
&lt;br /&gt;
Second Administrative Level Boundaries: ''&amp;quot;The SALB dataset is a global digital dataset consisting of digital maps and codes that can be downloaded on a country by country basis.&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
* http://www.who.int/whosis/database/gis/salb/salb_home.htm&lt;br /&gt;
&lt;br /&gt;
=== VMap0 ===&lt;br /&gt;
&lt;br /&gt;
1:1 million vector data. Formerly known as ''Digital Chart of the World''&lt;br /&gt;
&lt;br /&gt;
* see the two articles in [http://grass.osgeo.org/newsletter/index.php ''GRASS Newsletter vol. 3 (June 2005)'']&lt;br /&gt;
&lt;br /&gt;
Check the [http://en.wikipedia.org/wiki/Vector_Map Wikipedia page] on VMAP, see the links at the bottom of that article to shapefile versions of VMAP0 and VMAP1.  Those look like the versions that were, several years ago, on a NIMA (predecessor to NGA, and successor to the Defense Mapping Agency that managed the Digital Chart of the World and VMAP project) Website.  Many GRASS users may prefer the shapefiles to the original Vector Product Format data.&lt;br /&gt;
&lt;br /&gt;
* [http://gis-lab.info/qa/vmap0-eng.html VMap0 data in ESRI shape format]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [http://spatial-analyst.net/wiki/index.php?title=Global_datasets Global datasets] list by T. Hengl (with dataset download)&lt;br /&gt;
* http://freegisdata.rtwilson.com/&lt;br /&gt;
* The FreeGIS.org database:  http://www.freegis.org/database/&lt;br /&gt;
* http://finder.geocommons.com/&lt;br /&gt;
* http://wiki.openstreetmap.org/wiki/Potential_Datasources&lt;br /&gt;
* http://www.geonames.org/data-sources.html&lt;br /&gt;
* [http://ckan.net/tag/read/geo Open Knowledge Foundation link collection]&lt;br /&gt;
* [http://openweathermap.org/ Open Weather Map]  free weather data and forecast API suitable for any cartographic services like web and smartphones applications. Ideology is inspired by OpenStreetMap and Wikipedia that make information free and available for everybody. &lt;br /&gt;
&lt;br /&gt;
=== Metadata Catalogues ===&lt;br /&gt;
Catalog Service for the Web (CSW) is an OGC standard for offering access to catalogues of geospatial information over the Internet (HTTP). CSW allow for discovering, browsing, and querying metadata about data, services, and similar resources. A list of Metadata Catalogues / CSW services from member states of the European Union can be found here:&amp;lt;br /&amp;gt;&lt;br /&gt;
* [http://inspire-geoportal.ec.europa.eu/INSPIRERegistry/ http://inspire-geoportal.ec.europa.eu/INSPIRERegistry/]&amp;lt;br /&amp;gt;&lt;br /&gt;
And here: [http://inspire-geoportal.ec.europa.eu/discovery/ http://inspire-geoportal.ec.europa.eu/discovery/] one can search European Metadata Catalogues online.&lt;br /&gt;
&lt;br /&gt;
=== European datasets ===&lt;br /&gt;
&lt;br /&gt;
* [[European datasets]]&lt;br /&gt;
* [http://preview.grid.unep.ch/index3.php?preview=data&amp;amp;lang=eng Global Risk Data Platform]&lt;br /&gt;
* [http://open-data.europa.eu/open-data/data/ European Commission Opendata Portal]: 5800+ datasets&lt;br /&gt;
* [http://eca.knmi.nl/download/ensembles/download.php E-OBS] This is the download page for the ENSEMBLES daily gridded observational dataset for precipitation, temperature and sea level pressure in Europe&lt;br /&gt;
* [http://mars.jrc.ec.europa.eu/mars/About-us/AGRI4CAST/Data-distribution MARS @ JRC] Temperature, vapour pressure, rainfall, relative humidity, cloud cover, solar radiation, wind speed.&lt;br /&gt;
* [http://www.efas.eu/ EFAS @ JRC] is a High resolution pan-European dataset for hydrologic modelling.&lt;br /&gt;
* [http://data.jrc.ec.europa.eu/ JRC Data Portal] In this catalogue, you can find an inventory of data that produced by the JRC in accordance with the JRC data policy. The content is continuously updated and shall not be seen as a complete inventory of JRC data. Currently, the inventory describes only a small subset of JRC data.&lt;br /&gt;
&lt;br /&gt;
=== National datasets ===&lt;br /&gt;
&lt;br /&gt;
* [http://asdd.ga.gov.au/asdd/tech/zap/basic.html Australian Spatial Data Directory]&lt;br /&gt;
* [http://aekos.org.au/home Australian Ecological Knowledge and Observation System]&lt;br /&gt;
* [http://wiki.gfoss.it/index.php/GIS_Open_Data Italian Geodata collection]&lt;br /&gt;
* [http://koordinates.com/ New Zealand] data from Koordinates.com&lt;br /&gt;
* United States from NOAA/USGSs data portal (FIXME: link?)&lt;br /&gt;
* [http://geodata.gov.gr/geodata/ Greek Public Geodata] (in Greek)&lt;br /&gt;
&lt;br /&gt;
=== Various datasets worldwide ===&lt;br /&gt;
&lt;br /&gt;
* [http://geospatial.edublogs.org/ GEOSPATIAL DATA REPORT]: Finding and Using GIS Data&lt;br /&gt;
* [http://www.edenextdata.com/?q=data Edenext data portal]: Land Cover, Transport networks, Elevation, Orthoimagery, Human health and safety, Species Distribution, Atmospheric Conditions and Meteorological Geographical Features, Training Program Presentations and Data, Utility and governmental services, Hydrography, Soil, Bio geographical regions, Population distribution and Demographics&lt;br /&gt;
* [http://gdex.cr.usgs.gov/gdex/ Global Data Explorer USGS]: ASTER, SRTM, GTOPO etc&lt;br /&gt;
* [http://www.landcover.org/ landcover]&lt;br /&gt;
* [http://www.gripweb.org/gripweb/?q=data-information GRIPWEB’s Data &amp;amp; Informational Portal]: hazard &amp;amp; risk&lt;br /&gt;
* [http://sedac.ciesin.columbia.edu/data/sets/browse SEDAC]: Agriculture, Climate, Conservation, Framework Data, Governance, Hazards, Health, Infrastructure, Land Use, Marine and Coastal, Population, Poverty, Remote Sensing, Sustainability, Urban, Water&lt;br /&gt;
* [http://www.preventionweb.net/english/professional/maps/?pid:6&amp;amp;pih:2 Prevention Web]: hazard &amp;amp; risk&lt;br /&gt;
* [http://data.un.org/Default.aspx UNdata]: UN database&lt;br /&gt;
* [http://www.undp.org/content/undp/en/home.html UNDP home page]&lt;br /&gt;
* [http://www.cgiar-csi.org/data global climatic data]&lt;br /&gt;
* [http://csi.cgiar.org/cgiargeospatialtools.asp cosortium for spatial information CGIAR-CSI GeoSpatial Toolkits]&lt;br /&gt;
* [http://freegisdata.rtwilson.com/ Links to over 300 sites providing freely available geographic datasets]&lt;br /&gt;
* [http://www.diva-gis.org/Data Free Spatial Data]&lt;br /&gt;
* [http://edc2.usgs.gov/glcc/globe_int.php Global Land Cover Characteristics Data Base Version 2.0]&lt;br /&gt;
* [http://opentopo.sdsc.edu/gridsphere/gridsphere?cid=datasets A Portal to High-Resolution Topography Data and Tools]&lt;br /&gt;
* [http://www.metoffice.gov.uk/hadobs/hadghcnd/ HadGHCND] is a gridded daily temperature dataset based upon near-surface maximum (TX) and minimum (TN) temperature observations.&lt;br /&gt;
&lt;br /&gt;
=== WMS servers ===&lt;br /&gt;
&lt;br /&gt;
* See [[WMS]] page&lt;br /&gt;
&lt;br /&gt;
=== River discharge data ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.bafg.de/GRDC/EN/Home/homepage_node.html Global Runoff Data Centre]&lt;br /&gt;
* [http://www.sage.wisc.edu/riverdata/ Global River Discharge Database]&lt;br /&gt;
* [http://csdms.colorado.edu/wiki/River_discharge_data CSDMS]&lt;br /&gt;
&lt;br /&gt;
[[Category: Geodata]]&lt;br /&gt;
[[Category: Import]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Global_datasets&amp;diff=25212</id>
		<title>Global datasets</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Global_datasets&amp;diff=25212"/>
		<updated>2018-04-14T11:06:39Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* SoilGrids.org 250m soil taxonomy map */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Raster data =&lt;br /&gt;
&lt;br /&gt;
== Elevation data ==&lt;br /&gt;
&lt;br /&gt;
=== ASTER topography (GDEM V1) ===&lt;br /&gt;
&lt;br /&gt;
Improved ASTER GDEM 1 from 2009:&lt;br /&gt;
&lt;br /&gt;
GDEM global 30m elevation calculated from stereo-pair images collected by the Terra satellite.&lt;br /&gt;
''&amp;quot;This is the most complete, consistent global digital elevation data yet made available to the world.&amp;quot;''&lt;br /&gt;
This is a very new dataset, at version 1  (treat as ''experimental''). Accuracy will be improved in forthcoming versions (validation with SRTM, etc.; [http://blog.neteler.org/aster-gdem-30m-quality-assessment/ see assessment here] and [http://www.viewfinderpanoramas.org/reviews.html#aster here]).&lt;br /&gt;
&lt;br /&gt;
* ''[https://lpdaac.usgs.gov/lpdaac/about/news_archive/monday_june_22_20092 pre-release announcement]''&lt;br /&gt;
* [http://www.nasa.gov/home/hqnews/2009/jun/HQ_09-150_ASTER_Topographic_Map.html NASA press release]&lt;br /&gt;
* [https://wist.echo.nasa.gov/~wist/api/imswelcome/ Warehouse Inventory Search Tool] or [http://www.gdem.aster.ersdac.or.jp/search.jsp Easy search tool] (Data download)&lt;br /&gt;
&lt;br /&gt;
'''Tutorial:''' [[ASTER topography]]&lt;br /&gt;
&lt;br /&gt;
''See also: [http://blog.neteler.org/aster-gdem-30m-quality-assessment/ ASTER GDEM 30m quality assessment]''&lt;br /&gt;
&lt;br /&gt;
=== ASTER topography (GDEM V2) ===&lt;br /&gt;
&lt;br /&gt;
Improved ASTER GDEM 2 from 2011:&lt;br /&gt;
* https://lpdaac.usgs.gov/products/aster_products_table/astgtm&lt;br /&gt;
&lt;br /&gt;
The ASTER GDEM covers land surfaces between 83°N and 83°S and is comprised of 22,702 tiles.  Tiles that contain at least 0.01% land area are included.  The ASTER GDEM is distributed as Geographic Tagged Image File Format (GeoTIFF) files with geographic coordinates (latitude, longitude).  The data are posted on a '''1 arc-second''' (approximately '''30–m at the equator''') grid and referenced to the 1984 World Geodetic System (WGS84)/ 1996 Earth Gravitational Model (EGM96) geoid. &lt;br /&gt;
&lt;br /&gt;
'''Notes:''' this DEM can be rather well filtered and smoothed with the [http://personalpages.manchester.ac.uk/staff/neil.mitchell/mdenoise/ Sun's denoising algorithm] (using GDAL and free / open source program &amp;lt;mdenoise&amp;gt; or simply GRASS add-on {{AddonCmd|r.denoise}}.&lt;br /&gt;
&lt;br /&gt;
Experiments showed that the best smoothing of ASTER GDEM 2 is reached with such parameters of &amp;lt;mdenoise&amp;gt;:&lt;br /&gt;
* threshold = 0.8&lt;br /&gt;
* iterations = 10-20&lt;br /&gt;
&lt;br /&gt;
Also filtering with {{cmd|r.neighbors}} by &amp;quot;average&amp;quot; method and window size &amp;gt;=5 is quite useful to remove some noise from DEM.&lt;br /&gt;
&lt;br /&gt;
''See also: [http://www.isprs2012.org/abstract/299.asp Validation of the ASTER Global Digital Elevation Model Version 2 over the Conterminous United States]''&lt;br /&gt;
&lt;br /&gt;
=== ACE2 ===&lt;br /&gt;
&lt;br /&gt;
The ACE2 Global Digital Elevation Model is available at 3&amp;quot;, 30&amp;quot; and 5' spatial resolutions.&lt;br /&gt;
&lt;br /&gt;
* http://tethys.eaprs.cse.dmu.ac.uk/ACE2/&lt;br /&gt;
&lt;br /&gt;
Import example:&lt;br /&gt;
  r.in.bin -f input=&amp;quot;00N105E_3S.ACE2&amp;quot; output=&amp;quot;ACE2_00N105E&amp;quot; bytes=4 \&lt;br /&gt;
           order=&amp;quot;native&amp;quot; north=15 south=0 east=120 west=105 \&lt;br /&gt;
           rows=18000 cols=18000&lt;br /&gt;
&lt;br /&gt;
=== CleanTOPO2 (DEM) ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.shadedrelief.com/cleantopo2/ CleanTOPO2 download]: Edited SRTM30 Plus World Elevation Data&lt;br /&gt;
&lt;br /&gt;
Import in GRASS:&lt;br /&gt;
  r.in.gdal CleanTOPO2.tif out=cleanTOPO2.tmp -l -o&lt;br /&gt;
  g.region rast=cleanTOPO2  -p -g&lt;br /&gt;
  # rescale from odd integer values to true world values&lt;br /&gt;
  r.rescale cleanTOPO2.tmp out=cleanTOPO2 to=-10701,8248&lt;br /&gt;
  r.colors cleanTOPO2_final col=terrain&lt;br /&gt;
&lt;br /&gt;
[[Image:CleanTOPO2_map.png|thumb|center|300px|Rescaled ClearTOPO2 map]]&lt;br /&gt;
&lt;br /&gt;
=== EGM2008 Geoid Data (Earth Gravitational Model) ===&lt;br /&gt;
&lt;br /&gt;
Global 2.5 Minute Geoid Undulations:&lt;br /&gt;
* download GIS Format at http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008/egm08_gis.html&lt;br /&gt;
&lt;br /&gt;
[[Image:Trentino_egm2008_map_5m_resampled.jpg|thumb|center|300px|Geoid undulations in Trentino, Italy]]&lt;br /&gt;
&lt;br /&gt;
Verifications of points can be done with the http://geographiclib.sourceforge.net/cgi-bin/GeoidEval&lt;br /&gt;
&lt;br /&gt;
=== ETOPO (DEM) ===&lt;br /&gt;
&lt;br /&gt;
The ETOPO datasets provide global topography and bathymetry at 1', 2', and 5' per-cell resolutions.&lt;br /&gt;
&lt;br /&gt;
==== ETOPO1 (DEM) ====&lt;br /&gt;
&lt;br /&gt;
* http://www.ngdc.noaa.gov/mgg/global/&lt;br /&gt;
&lt;br /&gt;
* '''The ''cell registered'' version can be loaded directly into a lat/lon location'''. GRASS raster data is cell registered (see the [[GRASS raster semantics]] page)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Special care must be taken with the ''grid registered'' version. It can not be loaded directly into a lat/lon location as the parameters found in the .hdr file exceed the limits of polar coordinate space: they have N,S rows which go 1/2 a cell beyond 90 latitude, when considered in the ''cell registered'' convention.&lt;br /&gt;
: So the data needs to have those 90deg N,S rows cropped away, and while we're at it we crop away a redundant overlapping column at 180 longitude. To do this we have to first tell the GIS a little fib during import to squeeze the data into lat/lon space, then crop away the spurious rows and column, then finally reset the resulting map's bounds to its true extent.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 # Import grid registered binary float, fibbing about its true extent&lt;br /&gt;
 r.in.bin -f in=etopo1_bed_g.flt out=etopo1_bed_g.raw \&lt;br /&gt;
    n=90 s=-90 e=180 w=-180 rows=10801 cols=21601 anull=-9999&lt;br /&gt;
 &lt;br /&gt;
 # reduce the working region by 1 cell&lt;br /&gt;
 g.region rast=etopo1_bed_g.raw&lt;br /&gt;
 eval `g.region -g`&lt;br /&gt;
 g.region n=n-$nsres s=s+$nsres e=e-$ewres -p&lt;br /&gt;
 &lt;br /&gt;
 # save smaller raster and remove original&lt;br /&gt;
 r.mapcalc &amp;quot;etopo1_bed_g.crop = etopo1_bed_g.raw&amp;quot;&lt;br /&gt;
 g.remove etopo1_bed_g.raw&lt;br /&gt;
&lt;br /&gt;
 # re-establish the correct bounds, now that they'll fit&lt;br /&gt;
 r.region etopo1_bed_g.crop n=89:59:30N s=89:59:30S w=179:59:30E e=179:59:30E&lt;br /&gt;
 g.region rast=etopo1_bed_g.crop&lt;br /&gt;
&lt;br /&gt;
 # check that N,S,E,W and Res are all nice and clean:&lt;br /&gt;
 r.info etopo1_bed_g.crop&lt;br /&gt;
&lt;br /&gt;
 # looks good, so accept the results by resetting the map name&lt;br /&gt;
 g.rename etopo1_bed_g.crop,etopo1_bed_g&lt;br /&gt;
&lt;br /&gt;
 # set to use appropriate color rules&lt;br /&gt;
 r.colors etopo1_bed_g color=etopo2&lt;br /&gt;
&lt;br /&gt;
 # set the 'units' metadata field (for elevation data contained within the map)&lt;br /&gt;
 r.support etopo1_bed_g units=meters&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For the problematic ''grid registered'' version, the resulting {{cmd|r.info}} report should look like:&lt;br /&gt;
 |   Rows:         10799                                                      |&lt;br /&gt;
 |   Columns:      21600                                                      |&lt;br /&gt;
 |   Total Cells:  233258400                                                  |&lt;br /&gt;
 |        Projection: Latitude-Longitude                                      |&lt;br /&gt;
 |            N:  89:59:30N    S:  89:59:30S   Res:  0:01                     |&lt;br /&gt;
 |            E: 179:59:30E    W: 179:59:30E   Res:  0:01                     |&lt;br /&gt;
 |   Range of data:    min = -10898  max = 8271                               |&lt;br /&gt;
(the east and west bounds of the map touch 1/2 a cell west of 180 longitude)&lt;br /&gt;
&lt;br /&gt;
* For the problematic ''grid registered'' version, since the data's grid is 1/2 a cell shifted from nicely rounded 1 arc-minutes (0:01), you'll need to ensure that the mapset's region preserves that alignment after zooming or panning:&lt;br /&gt;
 g.region align=etopo1_bed_g -p&lt;br /&gt;
: (or oversample and set the region resolution to 1/2 arc-minutes (0:00:30), which will be four times as slow)&lt;br /&gt;
&lt;br /&gt;
==== ETOPO2 (DEM) ====&lt;br /&gt;
&lt;br /&gt;
* See the ETOPO2 (2' global) article by M.H. Bowman in the [http://grass.osgeo.org/newsletter/GRASSNews_vol1.pdf GRASS Newsletter, 1:8-11, August 2004].&lt;br /&gt;
: [http://www.ngdc.noaa.gov/mgg/fliers/01mgg04.html ETOPO2v2 data download] (take for example the ETOPO2v2g_f4_LSB.flt file)&lt;br /&gt;
&lt;br /&gt;
=== GTOPO30 (DEM) ===&lt;br /&gt;
&lt;br /&gt;
* Data [http://eros.usgs.gov/#/Find_Data/Products_and_Data_Available/gtopo30_info download] - Import with {{cmd|r.in.gdal}}.&lt;br /&gt;
&lt;br /&gt;
''Note:'' To avoid that the GTOPO30 data are read incorrectly, you can add a new line &amp;quot;PIXELTYPE SIGNEDINT&amp;quot; in the .HDR to force interpretation of the file as signed rather than unsigned integers. Then the .DEM file can be imported. Finally, e.g. the 'terrain' color table can be assigned to the imported map with r.colors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Global Multi-resolution Terrain Elevation Data 2010 (GMTED2010) ===&lt;br /&gt;
&lt;br /&gt;
* Data download: [https://lta.cr.usgs.gov/GMTED2010 Web] and [http://topotools.cr.usgs.gov/GMTED_viewer/gmted2010_global_grids.php FTP] - Import with {{cmd|r.in.gdal}}. See also [https://erouault.blogspot.de/2011/12/seamless-access-to-remote-global-multi.html related GDAL blog post]&lt;br /&gt;
&lt;br /&gt;
Tiles: Import of GMTED2010 tiles in GRASS GIS:&lt;br /&gt;
&lt;br /&gt;
  r.in.gdal 30N000E_20101117_gmted_mea075.tif out=gmted2010_30N000E_20101117&lt;br /&gt;
  r.colors gmted2010_30N000E_20101117 color=elevation&lt;br /&gt;
  g.region rast=gmted2010_30N000E_20101117&lt;br /&gt;
  r.relief input=gmted2010_30N000E_20101117 output=gmted2010_30N000E_20101117.shade&lt;br /&gt;
  r.shade shade=gmted2010_30N000E_20101117.shade color=gmted2010_30N000E_20101117 \&lt;br /&gt;
   output=gmted2010_30N000E_20101117_shaded&lt;br /&gt;
  d.mon wx0&lt;br /&gt;
  d.rast gmted2010_30N000E_20101117_shaded&lt;br /&gt;
  d.grid 1 color=red textcolor=red&lt;br /&gt;
&lt;br /&gt;
[[Image:Gmted2010_30N000E_20101117_shaded.png|thumb|center|300px|GMTED2010 example: Trento - Garda Lake - Verona area (Northern Italy)]]&lt;br /&gt;
&lt;br /&gt;
Full maps:&lt;br /&gt;
&lt;br /&gt;
  # mean elevation global GMTED2010 map, 30 arc-sec&lt;br /&gt;
  wget http://edcintl.cr.usgs.gov/downloads/sciweb1/shared/topo/downloads/GMTED/Grid_ZipFiles/mn30_grd.zip&lt;br /&gt;
  unzip mn30_grd.zip&lt;br /&gt;
  &lt;br /&gt;
Important: the GMTED2010 map exceeds the -180°..+180° range due to the [https://pubs.usgs.gov/of/2011/1073/pdf/of2011-1073.pdf GMTED2010 pixel geometry] (PDF). Note that this cannot be handled in GRASS GIS &amp;lt; 7.4. Please update to GRASS GIS 7.4 or newer.&lt;br /&gt;
&lt;br /&gt;
=== GEBCO Bathymetric Chart ===&lt;br /&gt;
&lt;br /&gt;
* The General Bathymetric Chart of the Oceans (original 1' release 2003, new 1' and 30&amp;quot; releases 2008)&lt;br /&gt;
: http://www.gebco.net/data_and_products/gridded_bathymetry_data/&lt;br /&gt;
: http://www.bodc.ac.uk/data/online_delivery/gebco/&lt;br /&gt;
&lt;br /&gt;
{{cmd|r.in.gdal}} can be used to import the GMT netCDF files directly, or if that doesn't work you can use GMT tools to convert to an old-style native GMT format and import that with {{cmd|r.in.bin}}.&lt;br /&gt;
: example:  (GEBCO 2003 1' data)&lt;br /&gt;
&lt;br /&gt;
 # convert to an old style GMT binary .grd using grdreformat&lt;br /&gt;
 $ grdreformat 3n24s47w14w.grd 3n24s47w14w_Native.grd=bs&lt;br /&gt;
 &lt;br /&gt;
 # then import into GRASS,&lt;br /&gt;
 GRASS&amp;gt; r.in.bin -h -s bytes=2 in=3n24s47w14w_Native.grd out=3n24s47w14w&lt;br /&gt;
 &lt;br /&gt;
 # and set some nice colors&lt;br /&gt;
 GRASS&amp;gt; r.colors 3n24s47w14w rules=- &amp;lt;&amp;lt; EOF&lt;br /&gt;
 nv magenta&lt;br /&gt;
 0% black&lt;br /&gt;
 -7740 0:0:168&lt;br /&gt;
 0 84:176:248&lt;br /&gt;
 0 40:124:0&lt;br /&gt;
 522 68:148:24&lt;br /&gt;
 1407 148:228:108&lt;br /&gt;
 1929 232:228:108&lt;br /&gt;
 2028 232:228:92&lt;br /&gt;
 2550 228:160:32&lt;br /&gt;
 2724 216:116:8&lt;br /&gt;
 2730 grey&lt;br /&gt;
 2754 grey&lt;br /&gt;
 2760 252:252:252&lt;br /&gt;
 2874 252:252:252&lt;br /&gt;
 2883 192:192:192&lt;br /&gt;
 2913 192:192:192&lt;br /&gt;
 100% 252:252:252&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== Global Multi-Resolution Topography (GMRT DEM) ===&lt;br /&gt;
: ''From Columbia University's Lamont-Doherty Earth Observatory''&lt;br /&gt;
(it is reported that this is what Google Maps uses for their global bathymetry)&lt;br /&gt;
&lt;br /&gt;
* Global ~1 arc-second (~90 m) topography using multi-beam and satellite data in the oceans combined with SRTM on land.&lt;br /&gt;
* Full information at: http://www.marine-geo.org/portals/gmrt/&lt;br /&gt;
* Accessible via [http://www.geomapapp.org/ GeoMapApp] or [http://www.virtualocean.org/ Virtual Ocean] software.&lt;br /&gt;
* Very convenient to download into GRASS via wget:&lt;br /&gt;
&lt;br /&gt;
  export `g.region -g`&lt;br /&gt;
  wget &amp;quot;http://www.marine-geo.org/cgi-bin/getgridB?west=${w}&amp;amp;east=${e}&amp;amp;south=${s}&amp;amp;north=${n}&amp;amp;resolution=1&amp;quot; -O /tmp/test.grd&lt;br /&gt;
  r.in.gdal /tmp/test.grd output=GMRT -o&lt;br /&gt;
  rm /tmp/test.grd&lt;br /&gt;
&lt;br /&gt;
* Note: Downloaded file contains no projection information, but is EPSG:4326 (WGS84 Geographic).  The file size is limited, but lower resolution (resolution=2,4,8) data can be downloaded for larger areas.&lt;br /&gt;
&lt;br /&gt;
=== Smith and Sandwell DEM ===&lt;br /&gt;
&lt;br /&gt;
* Merge info here from the [[Marine Science]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SRTM DEM ===&lt;br /&gt;
&lt;br /&gt;
[http://www2.jpl.nasa.gov/srtm/ Space Shuttle Radar Topography Mission] - several SRTM Data Products are available:&lt;br /&gt;
* Original data - SRTM 3 V001 arc-seconds Non-Void Filled elevation data (US: 1 arc-second (approximately 30 meters); outside the US at 3 arc-seconds (approximately 90 meters))&lt;br /&gt;
* SRTM V003 3 Arc-Second Global Void Filled elevation data, with voids filled using interpolation algorithms in conjunction with other sources of elevation data  (US: 1 arc-second (approximately 30 meters); outside the US at 3 arc-seconds (approximately 90 meters))&lt;br /&gt;
** SRTM V3 tiles at 3 arc seconds resolution from: http://e4ftl01.cr.usgs.gov/SRTM/SRTMGL3.003/2000.02.11/ - or simply use {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
* '''SRTM V003 1 Arc-Second Global elevation data''' offer worldwide coverage of '''void filled''' data at a resolution of 1 arc-second (30 meters) and provide open distribution of this high-resolution global data set.&lt;br /&gt;
** [http://earthexplorer.usgs.gov/ EarthExplorer] can be used to search, preview, and download Shuttle Radar Topography Mission (SRTM) 1 Arc-Second Global data. The collections are located under the Digital Elevation category.&lt;br /&gt;
** FTP download: http://e4ftl01.cr.usgs.gov/SRTM/SRTMGL1.003/2000.02.11/ - or simply use {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
** Web-based [http://dwtkns.com/srtm30m/ 30-Meter SRTM Tile Downloader] (select from map)&lt;br /&gt;
&lt;br /&gt;
Import:&lt;br /&gt;
* Using {{cmd|r.in.gdal}} or {{cmd|r.import}} or {{cmd|r.in.srtm}} or {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
* see [[HOWTO import SRTM elevation data]], focused on the SRTM 3 arc-seconds Non-Void Filled elevation data&lt;br /&gt;
&lt;br /&gt;
=== SRTM30plus data DEM ===&lt;br /&gt;
&lt;br /&gt;
SRTM30plus data consists of 33 files of global topography in the same format as the SRTM30 products distributed by the USGS EROS data center. The grid resolution is 30 seconds which is roughly one kilometer (1 km).&lt;br /&gt;
&lt;br /&gt;
Land data are based on the 1-km averages of topography derived from the USGS SRTM30 grided DEM data product created with data from the NASA Shuttle Radar Topography Mission. GTOPO30 data are used for high latitudes where SRTM data are not available.&lt;br /&gt;
&lt;br /&gt;
Ocean data are based on the Smith and Sandwell global 2-minute grid between latitudes +/- 72 degrees. Higher resolution grids have been added from the LDEO Ridge Multibeam Synthesis Project and the NGDC Coastal Relief Model. Arctic bathymetry is from the International Bathymetric Chart of the Oceans (IBCAO).&lt;br /&gt;
&lt;br /&gt;
All data are derived from public domain sources and these data are also in the public domain.&lt;br /&gt;
&lt;br /&gt;
GRASS 6 script {{{cmd|r.in.srtm}}} described in GRASSNews vol. 3 won't work with this dataset (as it was made for the original SRTM HGT files). But you can import SRTM30plus tiles into GRASS this way:&lt;br /&gt;
&lt;br /&gt;
 r.in.bin -sb input=e020n40.Bathymetry.srtm output=e020n40_topex bytes=2 \&lt;br /&gt;
  north=40 south=-10 east=60 west=20 r=6000 c=4800&lt;br /&gt;
 r.colors e020n40_topex rules=etopo2&lt;br /&gt;
&lt;br /&gt;
; Source&lt;br /&gt;
: GRASS Users Mailing List http://lists.osgeo.org/pipermail/grass-user/2005-August/030063.html&lt;br /&gt;
; Getting as SRTM30plus tiles: ftp://topex.ucsd.edu/pub/srtm30_plus/srtm30/data/&lt;br /&gt;
; Getting as SRTM30plus huge file: ftp://topex.ucsd.edu/pub/srtm30_plus/topo30/&lt;br /&gt;
; SRTMPLUS WCS server: http://svn.osgeo.org/gdal/trunk/autotest/gdrivers/data/srtmplus.wcs (read with {{cmd|r.external}})&lt;br /&gt;
&lt;br /&gt;
=== SRTM Water Body Database SRTMSWBD V003 ===&lt;br /&gt;
&lt;br /&gt;
SRTM Water Body Database V003&lt;br /&gt;
* Format documentation: https://lpdaac.usgs.gov/dataset_discovery/measures/measures_products_table/srtmswbd_v003&lt;br /&gt;
* FTP raster data (30m res water bodies): http://e4ftl01.cr.usgs.gov/SRTM/SRTMSWBD.003/&lt;br /&gt;
&lt;br /&gt;
Import into GRASS GIS 7 (lat-long location):&lt;br /&gt;
 r.in.bin -sb input=N00E108.raw output=N00E108_swbd bytes=1 north=0 south=-10 east=108 west=98 r=3601 c=3601   &amp;lt;&amp;lt;= DRAFT - TODO fix n,s,e,w - calculate from filename&lt;br /&gt;
&lt;br /&gt;
== Soil data ==&lt;br /&gt;
&lt;br /&gt;
=== Harmonized World Soil Database (HWSD Database) ===&lt;br /&gt;
&lt;br /&gt;
Download: http://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/&lt;br /&gt;
&lt;br /&gt;
[http://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/DataDesc.html?sb=12 Spatial reference system:] [http://spatialreference.org/ref/epsg/4326/ EPSG:4326] (LatLong WGS84)&lt;br /&gt;
&lt;br /&gt;
Import:&lt;br /&gt;
 grass70 -c EPSG:4326 ~/grassdata/hwsd&lt;br /&gt;
 # -e: expand location to dataset; -o: override (missing) projection in input dataset:&lt;br /&gt;
 r.in.gdal input=hwsd.bil output=hwSoil -e -o&lt;br /&gt;
 g.region raster=hwSoil -p&lt;br /&gt;
 r.category hwSoil&lt;br /&gt;
&lt;br /&gt;
The data is distributed with an MSAccess .mdb which contains additional data for each of the categories in the raster file. Opening the file in access, the data is found in the query &amp;quot;HWSD_Q&amp;quot;. Save this query in .csv format (with a name like &amp;quot;HWSD_Q.csv&amp;quot;) so that it may then be imported into GRASS. After that, it is necessary to replace the commas with dots (find &amp;amp; replace) in the .csv file. Before you can import it, you also need a file &amp;quot;HWSD_Q.csvt&amp;quot;, which contains a single line listing the type for each column in the database:&lt;br /&gt;
 &amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With both the .csv and the .csvt file in the same directory, you can then import them into GRASS:&lt;br /&gt;
 db.in.ogr input=~/grassdata/hwsd/HWSD_Q.csv output=hwsdData&lt;br /&gt;
&lt;br /&gt;
The data cannot be connected directly to the raster, it must be converted to a vector first:&lt;br /&gt;
 g.region raster=hwSoil&lt;br /&gt;
 r.to.vect -v input=hwSoil output=hwSoil feature=area&lt;br /&gt;
 v.db.droptable hwSoil&lt;br /&gt;
 db.droptable -f hwSoil # delete the table completely&lt;br /&gt;
&lt;br /&gt;
Note that the table includes multiple rows for each polygon, corresponding&lt;br /&gt;
to the dominant and various numbers of subdominant soils. To select only&lt;br /&gt;
the dominant soil layer:&lt;br /&gt;
&lt;br /&gt;
 db.select table=hwsdData sql='select * from hwsdData where SEQ = 1' \&lt;br /&gt;
          output=domSoil.csv separator=,&lt;br /&gt;
&lt;br /&gt;
This saves a copy of the table that contains only the dominant soil type for each polygon as domSoil.csv. This needs to be reloaded into the GRASS database. Since it has the same columns as HWSD_Q.csv, we can use the labels for that file:&lt;br /&gt;
&lt;br /&gt;
 cp HWSD_Q.csvt domSoil.csvt&lt;br /&gt;
&lt;br /&gt;
Then we can load domSoil.csv:&lt;br /&gt;
&lt;br /&gt;
 db.in.ogr \&lt;br /&gt;
    input=~/grassdata/downloads/harmonized_world_soil_database/domSoil.csv \&lt;br /&gt;
    output=domSoil &lt;br /&gt;
&lt;br /&gt;
Now at last we can connect the database to the vector file:&lt;br /&gt;
&lt;br /&gt;
 v.db.connect -o map=hwsd table=domSoil driver=sqlite key=MU_GLOBAL&lt;br /&gt;
&lt;br /&gt;
To create a new raster map taking the values from the table:&lt;br /&gt;
 g.region raster=hwSoil  ## make sure we get the whole map&lt;br /&gt;
 v.to.rast in=hwSoil out=T_SAND col=T_SAND&lt;br /&gt;
&lt;br /&gt;
=== SoilGrids.org 250m soil taxonomy map ===&lt;br /&gt;
&lt;br /&gt;
SoilGrids is a system for automated soil mapping based on global soil profile and environmental covariate data. SoilGrids represents a collection of updatable soil property and class maps of the world at 1 km and 250 m spatial resolution produced using automated soil mapping based on machine learning algorithms. It aims at becoming OpenStreetMap and/or OpenWeatherMap for soil data. SoilGrids predictions are updated on a regular basis (at least every few months). For more details about the SoilGrids system, please refer to the SoilGrids project site: https://www.soilgrids.org/#/?layer=geonode:taxnwrb_250m&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
URL=ftp://ftp.soilgrids.org/data/recent/TAXNWRB_250m_ll.tif&lt;br /&gt;
&lt;br /&gt;
# the Soilgrids GeoTIFF data suffer from a resolution precision problem:&lt;br /&gt;
# resolution is stored as 0.002083333000000 while it should be 0.002083333333333, hence the geometry is not fully correct&lt;br /&gt;
# this likely originates from Soilgrids being processed in SAGA which cuts decimals after the 10th decimal place, hence comes with a precision problem &lt;br /&gt;
&lt;br /&gt;
export NAME=`basename $URL .tif`&lt;br /&gt;
wget $URL&lt;br /&gt;
&lt;br /&gt;
gdal_translate --config GDAL_CACHEMAX 2000 -a_ullr $COORDS -co &amp;quot;COMPRESS=DEFLATE&amp;quot; $NAME.tif ${NAME}_fixed.tif&lt;br /&gt;
gdalinfo ${NAME}_fixed.tif&lt;br /&gt;
&lt;br /&gt;
grass72 -c ${NAME}_fixed.tif ~/grassdata/latlong --exec r.import input=${NAME}_fixed.tif output=${NAME}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Starting with GRASS GIS 7.4.x, there is new flag in [https://grass.osgeo.org/grass74/manuals/r.in.gdal.html r.in.gdal] to auto-adjust such small resolution precision issues: '''-a''' ''- Auto-adjustment for lat/lon. Attempt to fix small precision errors in resolution and extents.''&lt;br /&gt;
&lt;br /&gt;
== Landcover data ==&lt;br /&gt;
&lt;br /&gt;
=== ESA Globcover dataset ===&lt;br /&gt;
&lt;br /&gt;
Download: http://due.esrin.esa.int/page_globcover.php&lt;br /&gt;
&lt;br /&gt;
Or via command line:&lt;br /&gt;
 wget http://due.esrin.esa.int/files/Globcover2009_V2.3_Global_.zip&lt;br /&gt;
 unzip Globcover2009_V2.3_Global_.zip&lt;br /&gt;
 # rm -f Globcover2009_V2.3_Global_.zip&lt;br /&gt;
&lt;br /&gt;
Note, also a coloured version of the map in GeoTIFF format is available at: http://due.esrin.esa.int/files/GLOBCOVER_L4_200901_200912_V2.3.color.tif&lt;br /&gt;
&lt;br /&gt;
Unfortunately the Globcover map exceeds the -180°..+180° range etc, indicating a shift of the map (see also [http://www.cosmo-model.org/content/tasks/workGroups/wg3b/meetings/2012-soilveg/EXTPAR-GLOBCOVER.pdf this assessment by DWD]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gdalinfo GLOBCOVER_L4_200901_200912_V2.3.tif&lt;br /&gt;
Driver: GTiff/GeoTIFF&lt;br /&gt;
Files: GLOBCOVER_L4_200901_200912_V2.3.tif&lt;br /&gt;
Size is 129600, 55800&lt;br /&gt;
Coordinate System is:&lt;br /&gt;
GEOGCS[&amp;quot;WGS 84&amp;quot;,&lt;br /&gt;
...&lt;br /&gt;
Origin = (-180.001388888888897,90.001388888888883)&lt;br /&gt;
...&lt;br /&gt;
Corner Coordinates:&lt;br /&gt;
Upper Left  (-180.0013889,  90.0013889) (180d 0' 5.00&amp;quot;W, 90d 0' 5.00&amp;quot;N)&lt;br /&gt;
Lower Left  (-180.0013889, -64.9986111) (180d 0' 5.00&amp;quot;W, 64d59'55.00&amp;quot;S)&lt;br /&gt;
Upper Right ( 179.9986111,  90.0013889) (179d59'55.00&amp;quot;E, 90d 0' 5.00&amp;quot;N)&lt;br /&gt;
Lower Right ( 179.9986111, -64.9986111) (179d59'55.00&amp;quot;E, 64d59'55.00&amp;quot;S)&lt;br /&gt;
Center      (  -0.0013889,  12.5013889) (  0d 0' 5.00&amp;quot;W, 12d30' 5.00&amp;quot;N)&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
How to fix this?&lt;br /&gt;
&lt;br /&gt;
'''Option 1:''' You can use the -l flag of {{cmd|r.in.gdal}} to constrain the map coordinates to legal values ([https://pvanb.wordpress.com/2011/05/10/importing-global-rasters-in-grass-gives-me-illegal-latitude-for-north-message/ ref]. But the resulting pixels will no longer have the original resolution. We will not do that.&lt;br /&gt;
&lt;br /&gt;
'''Option 2:''' Shift the Globcover map slightly into the right position using [http://www.gdal.org/gdal_translate.html gdal_translate]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# coords are shifted, fix raster map&lt;br /&gt;
# -a_ullr Assign/override the georeferenced bounds of the output file&lt;br /&gt;
# use larger cache and compress result&lt;br /&gt;
gdal_translate --config GDAL_CACHEMAX 1200 -a_ullr -180 90 180 -65 \&lt;br /&gt;
     -co &amp;quot;COMPRESS=LZW&amp;quot; GLOBCOVER_L4_200901_200912_V2.3.tif GLOBCOVER_L4_200901_200912_V2.3_fixed.tif&lt;br /&gt;
&lt;br /&gt;
# result:&lt;br /&gt;
gdalinfo GLOBCOVER_L4_200901_200912_V2.3_fixed.tif&lt;br /&gt;
...&lt;br /&gt;
Origin = (-180.000000000000000,90.000000000000000)&lt;br /&gt;
Pixel Size = (0.002777777777778,-0.002777777777778)&lt;br /&gt;
...&lt;br /&gt;
Corner Coordinates:&lt;br /&gt;
Upper Left  (-180.0000000,  90.0000000) (180d 0' 0.00&amp;quot;W, 90d 0' 0.00&amp;quot;N)&lt;br /&gt;
Lower Left  (-180.0000000, -65.0000000) (180d 0' 0.00&amp;quot;W, 65d 0' 0.00&amp;quot;S)&lt;br /&gt;
Upper Right ( 180.0000000,  90.0000000) (180d 0' 0.00&amp;quot;E, 90d 0' 0.00&amp;quot;N)&lt;br /&gt;
Lower Right ( 180.0000000, -65.0000000) (180d 0' 0.00&amp;quot;E, 65d 0' 0.00&amp;quot;S)&lt;br /&gt;
Center      (   0.0000000,  12.5000000) (  0d 0' 0.01&amp;quot;E, 12d30' 0.00&amp;quot;N)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voilà! Now we can import the map into GRASS GIS:&lt;br /&gt;
&lt;br /&gt;
 r.in.gdal input=GLOBCOVER_L4_200901_200912_V2.3_fixed.tif output=esa_globcover2009&lt;br /&gt;
&lt;br /&gt;
'''Legend conversion''': The ZIP file contains a XLS table describing the classes and the RGB colors. Using ogr2ogr can directly convert XLS --&amp;gt; CSV:&lt;br /&gt;
&lt;br /&gt;
 ogr2ogr -f CSV Globcover2009_Legend.csv Globcover2009_Legend.xls&lt;br /&gt;
&lt;br /&gt;
'''Applying the legend:'''&lt;br /&gt;
&lt;br /&gt;
 # suppress table header and only consider category value and label, apply on the fly:&lt;br /&gt;
 cat Globcover2009_Legend.csv | grep -v '^Value' | cut -d',' -f1-2 | r.category esa_globcover2009 separator=comma rules=-&lt;br /&gt;
 # verify (0E, 0N is the Atlantic Ocean)&lt;br /&gt;
 r.what esa_globcover2009 coor=0,0 -f&lt;br /&gt;
 0|0||210|Water bodies&lt;br /&gt;
&lt;br /&gt;
=== Global Forest Change ===&lt;br /&gt;
&lt;br /&gt;
* http://earthenginepartners.appspot.com/science-2013-global-forest &lt;br /&gt;
* Download info on: http://earthenginepartners.appspot.com/science-2013-global-forest/download_v1.3.html&lt;br /&gt;
&lt;br /&gt;
== Imagery ==&lt;br /&gt;
&lt;br /&gt;
=== AVHRR ===&lt;br /&gt;
&lt;br /&gt;
* see the [[AVHRR]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== Blue Marble imagery ===&lt;br /&gt;
&lt;br /&gt;
NASA's Blue Marble is a 500m-8 degree per-cell world wide visual image of the Earth from space, with the clouds removed.&lt;br /&gt;
&lt;br /&gt;
* see the [[Blue Marble]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== EO-1 imagery ===&lt;br /&gt;
&lt;br /&gt;
(Earth Observing-1)&lt;br /&gt;
* &amp;quot;''Advanced Land Imager (ALI) provides image data from ten spectral bands (band designations). The instrument operates in a pushbroom fashion, with a spatial resolution of 30 meters for the multispectral bands and 10 meters for the panchromatic band.''&amp;quot;&lt;br /&gt;
:-- http://eros.usgs.gov/products/satellite/eo1.php&lt;br /&gt;
* On-board Atmospheric Corrections&lt;br /&gt;
&lt;br /&gt;
=== Global Land Cover Characteristics ===&lt;br /&gt;
&lt;br /&gt;
USGS ''et al.'' generated dataset at 1km resolution. Provides global landcover characteristics.&lt;br /&gt;
&lt;br /&gt;
* see the [[Global Land Cover Characteristics]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== LANDSAT imagery ===&lt;br /&gt;
&lt;br /&gt;
Since October 1, 2008 all Landsat 7 ETM+ scenes held in the [http://landsat.usgs.gov/ USGS EROS archive] are available for download at no charge.&lt;br /&gt;
* Download via the [http://glovis.usgs.gov/ Glovis] online search tool (req. Java)&lt;br /&gt;
* Download via the USGS's [http://edcsns17.cr.usgs.gov/EarthExplorer/ EarthExplorer] interface&lt;br /&gt;
&lt;br /&gt;
==== Import Modules ====&lt;br /&gt;
&lt;br /&gt;
* {{cmd|r.in.gdal}} - Main import tool for complete multiband scenes&lt;br /&gt;
* {{cmd|r.in.wms}} - Download data covering current map region via WMS server&lt;br /&gt;
* [[GRASS_AddOns#r.in.onearth|r.in.onearth]] - WMS frontend for NASA's OnEarth Global Landsat Mosaic&lt;br /&gt;
&lt;br /&gt;
==== Color balancing modules ====&lt;br /&gt;
* {{cmd|i.landsat.rgb}} (GRASS 6.x) | {{cmd|i.colors.enhance|version=70}} (GRASS 7.x)  - Color balancing/enhancement tool&lt;br /&gt;
&lt;br /&gt;
==== See also ====&lt;br /&gt;
&lt;br /&gt;
* Processing tips can be found on the [[LANDSAT]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== ESA Sentinel imagery ===&lt;br /&gt;
&lt;br /&gt;
All Sentinel 1 and 2 data is available for download from the [https://scihub.copernicus.eu/ Open Access Hub]&lt;br /&gt;
&lt;br /&gt;
* via the [https://scihub.copernicus.eu/dhus/#/home online interactive interface]&lt;br /&gt;
* via the [https://scihub.copernicus.eu/twiki/do/view/SciHubWebPortal/APIHubDescription API]&lt;br /&gt;
&lt;br /&gt;
For pre-processing, different tools are available at&lt;br /&gt;
* http://step.esa.int/main/ Scientific Toolbox Exploitation Platform&lt;br /&gt;
* https://github.com/Fernerkundung/awesome-sentinel (&amp;quot;Awesome Sentinel&amp;quot; - list of tools)&lt;br /&gt;
&lt;br /&gt;
=== Miscellaneous ===&lt;br /&gt;
&lt;br /&gt;
==== Data sources ====&lt;br /&gt;
&lt;br /&gt;
* Some datasource links: http://www.ruf.rice.edu/~ben/gmt.html&lt;br /&gt;
* [http://www.geotorrent.org/browse.php Geotorrent.org]&lt;br /&gt;
&lt;br /&gt;
==== Import Modules ====&lt;br /&gt;
* The {{cmd|r.in.gdal}} modules may be used to import data of [http://www.gdal.org/formats_list.html many formats], including GMT netCDF&lt;br /&gt;
* The {{cmd|r.in.bin}} module may be used to import raw binary files&lt;br /&gt;
&lt;br /&gt;
=== MODIS imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the [[MODIS]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== Natural Earth imagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.naturalearthdata.com/ Natural Earth II]:  World environment map in natural color. GeoTIFF (use the {{cmd|r.in.gdal}} module)&lt;br /&gt;
* see also 1:10 million, 1:50 million and 1:110million scale maps from  http://www.naturalearthdata.com/&lt;br /&gt;
&lt;br /&gt;
=== Orthoimagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://worldwindcentral.com/wiki/Sources_of_free_orthoimagery Sources of free orthoimagery]&lt;br /&gt;
&lt;br /&gt;
=== Pathfinder AVHRR SST imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the Pathfinder [[AVHRR]] SST wiki page&lt;br /&gt;
&lt;br /&gt;
=== QuickBird imagery ===&lt;br /&gt;
&lt;br /&gt;
* See the [[QuickBird]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SeaWiFS imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the [[SeaWiFS]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SPOT Vegetation imagery ===&lt;br /&gt;
&lt;br /&gt;
SPOT Vegetation (1km) global: NDVI data sets&lt;br /&gt;
&lt;br /&gt;
* [http://free.vgt.vito.be/ SPOT Vegetation (1km, global) NDVI data set server]&lt;br /&gt;
* for import, see {{cmd|i.in.spotvgt}}&lt;br /&gt;
&lt;br /&gt;
=== True Marble imagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.unearthedoutdoors.net/global_data/true_marble/download True Marble]: 250m world wide visual image of the Earth from space, with the clouds removed. GeoTIFF (use the {{cmd|r.in.gdal}} module)&lt;br /&gt;
&lt;br /&gt;
== Climatic data ==&lt;br /&gt;
&lt;br /&gt;
=== OGC WCS - Albedo example ===&lt;br /&gt;
&lt;br /&gt;
TODO: update this example e.g. to http://demo.mapserver.org/cgi-bin/wcs?SERVICE=wcs&amp;amp;VERSION=1.0.0&amp;amp;REQUEST=GetCapabilities&lt;br /&gt;
&lt;br /&gt;
GRASS imports OGC Web Coverage Service data. Example server (please suggest a better one!)&lt;br /&gt;
  &amp;lt;WCS_GDAL&amp;gt;&lt;br /&gt;
  &amp;lt;ServiceURL&amp;gt;http://laits.gmu.edu/cgi-bin/NWGISS/NWGISS?&amp;lt;/ServiceURL&amp;gt;&lt;br /&gt;
  &amp;lt;CoverageName&amp;gt;AUTUMN.hdf&amp;lt;/CoverageName&amp;gt;&lt;br /&gt;
  &amp;lt;Timeout&amp;gt;90&amp;lt;/Timeout&amp;gt;&lt;br /&gt;
  &amp;lt;Resample&amp;gt;nearest&amp;lt;/Resample&amp;gt;&lt;br /&gt;
  &amp;lt;/WCS_GDAL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save this as albedo.xml. Import into a LatLong WGS84 location:&lt;br /&gt;
  r.in.gdal albedo.xml out=albedo&lt;br /&gt;
&lt;br /&gt;
Unfortunately this server sends out the map shifted by 0.5 pixel. This requires a fix to the map boundary coordinates:&lt;br /&gt;
  r.region albedo n=90 s=-90 w=-180 e=180&lt;br /&gt;
&lt;br /&gt;
Now apply color table and look at the map:&lt;br /&gt;
  r.colors albedo color=byr&lt;br /&gt;
  d.mon x0&lt;br /&gt;
  d.rast albedo&lt;br /&gt;
&lt;br /&gt;
=== SNODAS maps ===&lt;br /&gt;
&lt;br /&gt;
[http://nsidc.org/data/docs/noaa/g02158_snodas_snow_cover_model/index.html Snow Data Assimilation System] data that support hydrological modeling and analysis. First download the data, and untar them (once for each month, and once for each day), and you should get pairs of “.dat” and “.Hdr” files. The data files are stored in flat 16-bit binary format, so assuming that “snowdas_in.dat” is the name of the input file, at the GRASS prompt:&lt;br /&gt;
&lt;br /&gt;
   r.in.bin -bs bytes=2 rows=3351 cols=6935 north=52.874583333332339 \&lt;br /&gt;
   south=24.949583333333454 east=-66.942083333334011 west=-124.733749999998366 \&lt;br /&gt;
   anull=-9999 input=snowdas_input.dat output=snowdas&lt;br /&gt;
&lt;br /&gt;
=== CHELSA climate maps ===&lt;br /&gt;
	&lt;br /&gt;
CHELSA – Climatologies at high resolution for the earth’s land surface areas is a high resolution (30 arc sec) climate data set for the earth land surface areas currently under development, see http://chelsa-climate.org/&lt;br /&gt;
&lt;br /&gt;
Version 1.1 has some coordinate issues originating from SAGA being used (coordinate precision issue), see http://chelsa-climate.org/known-issues/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
# WARNING: dirty hack - Better wait for the new release V1.2 of CHELSA!&lt;br /&gt;
&lt;br /&gt;
for i in `ls /scratch/chelsa_climate/*.zip` ; do&lt;br /&gt;
   unzip $i&lt;br /&gt;
   NAME=`basename $i .zip`&lt;br /&gt;
   gdal_translate --config GDAL_CACHEMAX 2000 -a_ullr -180 84 180 -90 -co &amp;quot;COMPRESS=DEFLATE&amp;quot; $NAME.tif ${NAME}_fixed.tif&lt;br /&gt;
   rm -f $NAME.tif&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== WorldClim maps ===&lt;br /&gt;
&lt;br /&gt;
[http://www.worldclim.org/ WorldClim] is a set of global climate layers (climate grids) with a spatial resolution of a square kilometer. Besides long-term average climate layers (representing the period 1950 - 2000) it also includes projections for future conditions based on downscaled global climate model (GCM) data from CMIP5 (IPPC Fifth Assessment) and projections of past conditions (downscaled global climate model output).&lt;br /&gt;
* Load into a Lat/Lon WGS84 location (EPSG:4326)&lt;br /&gt;
* The data set is provided in two formats: BIL and ESRI Grd. Import with {{cmd|r.in.bin}} or {{cmd|r.in.gdal}}. Version 1.4 has some coordinate issues:&lt;br /&gt;
&lt;br /&gt;
a) BIL: binary format is 2 byte integer. Multiply by 10 using {{cmd|r.mapcalc}} to convert units. See http://www.worldclim.org/format.htm for more information and the [[MODIS]] help page for example of converting raw to data units. Note that the file header is missing a line. To fix:&lt;br /&gt;
&lt;br /&gt;
 # fix WorldClim's BIL; tmean example&lt;br /&gt;
 for i in $(seq 1 12); do echo “PIXELTYPE SIGNEDINT” &amp;gt;&amp;gt;tmean$i.hdr; done&lt;br /&gt;
&lt;br /&gt;
b) ESRI grd files: Note that the WorldClim ESRI grd files suffer from a quality issue of coordinate precision. See [https://lists.osgeo.org/pipermail/grass-user/2011-January/059358.html here] for a solution.&lt;br /&gt;
&lt;br /&gt;
 # fix WorldClim's ESRI Grd; tmean example&lt;br /&gt;
 export GDAL_CACHEMAX=2000&lt;br /&gt;
 mkdir -p ~/tmp/&lt;br /&gt;
 # fix broken WorldClim files, see https://lists.osgeo.org/pipermail/grass-user/2011-January/059358.html&lt;br /&gt;
 # note: 60S, not 90S&lt;br /&gt;
 for i in $(seq 1 12); do gdal_translate -a_ullr -180 90 180 -60 tmean_$i $HOME/tmp/tmean_${i}_fixed.tif; done&lt;br /&gt;
 #&lt;br /&gt;
 # import&lt;br /&gt;
 for i in $(seq 1 12) ; do r.in.gdal input=$HOME/tmp/tmean_${i}_fixed.tif out=tmp --o ; g.region raster=tmp -p ; r.mapcalc &amp;quot;tmean_${i} = 0.1 * tmp&amp;quot; --o ; r.colors tmean_${i} color=celsius ; done&lt;br /&gt;
 #&lt;br /&gt;
 # clean up&lt;br /&gt;
 g.remove raster name=tmp -f&lt;br /&gt;
 rm -f ~/tmp/tmean_?_fixed.tif ; rm -f ~/tmp/tmean_??_fixed.tif&lt;br /&gt;
&lt;br /&gt;
=== Africlim maps ===&lt;br /&gt;
&lt;br /&gt;
[https://www.york.ac.uk/environment/research/kite/resources/ Africlim] provides four baseline data sets for current climate, including:&lt;br /&gt;
* CRU CL 2.0&lt;br /&gt;
* WorldClim v1.4&lt;br /&gt;
* TAMSAT TARCAT v2.0 (rainfall only)&lt;br /&gt;
* CHIRPS v1.8 (rainfall only). &lt;br /&gt;
&lt;br /&gt;
It furthermore provides data sets with projections of future climates based on combinations of ten general circulation models (GCMs), downscaled using five regional climate models (RCMs) and the four above mentioned contemporary baselines, under two representative concentration pathways of the IPCC-AR5 (RCP4.5 and RCP8.5). The data layers are available as GeoTIF files at spatial resolutions of 10', 5', 2.5', 1' and 30&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Population maps ==&lt;br /&gt;
&lt;br /&gt;
=== WorldPop ===&lt;br /&gt;
&lt;br /&gt;
* http://www.worldpop.org.uk/&lt;br /&gt;
&lt;br /&gt;
=== Gridded Population of the World ===&lt;br /&gt;
&lt;br /&gt;
* http://sedac.ciesin.columbia.edu/gpw/global.jsp&lt;br /&gt;
&lt;br /&gt;
Import with {{cmd|r.in.gdal}}, assign population color table with {{cmd|r.colors}}&lt;br /&gt;
&lt;br /&gt;
== Topographic maps ==&lt;br /&gt;
=== Soviet topographic maps ===&lt;br /&gt;
&lt;br /&gt;
* [http://en.poehali.org/maps Soviet topographic maps] as geocoded GeoTIFFs&lt;br /&gt;
&lt;br /&gt;
= Vector data =&lt;br /&gt;
&lt;br /&gt;
=== Natural Earth ===&lt;br /&gt;
&lt;br /&gt;
*  http://www.naturalearthdata.com/ data scaled for 1:10 million, 1:50 million and 1:110million&lt;br /&gt;
&lt;br /&gt;
=== CDC Geographic Boundary and Public Health Maps ===&lt;br /&gt;
&lt;br /&gt;
* http://www.cdc.gov/epiinfo/maps.htm&lt;br /&gt;
&lt;br /&gt;
=== Global Administrative Areas ===&lt;br /&gt;
&lt;br /&gt;
* GADM is a database of the location of the world's administrative areas (boundaries) available in shapefiles.&lt;br /&gt;
: http://gadm.org (extracted by country [http://gadm.org/country here])&lt;br /&gt;
&lt;br /&gt;
* World Borders Dataset including ISO 3166-1 Country codes available in shapefiles.&lt;br /&gt;
: http://thematicmapping.org/downloads/world_borders.php&lt;br /&gt;
* Free GIS data from Mapping Hacks&lt;br /&gt;
: http://mappinghacks.com/data/&lt;br /&gt;
&lt;br /&gt;
=== GSHHS World Coastline ===&lt;br /&gt;
&lt;br /&gt;
GSHHS is a high resolution shoreline dataset. It is derived from data in the public domain and licensed as GPL. The shorelines are constructed entirely from hierarchically arranged closed polygons. It is closely linked to the [[GMT]] project.&lt;br /&gt;
&lt;br /&gt;
==== Availability ====&lt;br /&gt;
&lt;br /&gt;
* Download the original data set from http://www.soest.hawaii.edu/pwessel/gshhg/index.html. Also available at http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhg/latest/.&lt;br /&gt;
&lt;br /&gt;
* The data set, or parts from it, can be extracted from [http://www.ngdc.noaa.gov/mgg/shorelines/shorelines.html NOAA's shoreline extractor].&lt;br /&gt;
:For GRASS 6 you can download 1:250,000 shoreline data from NOAA's site in Mapgen format, which can be imported with the {{cmd|v.in.mapgen}} module.&lt;br /&gt;
&lt;br /&gt;
* '''ESRI Shapefiles''' of the latest version are available at http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhg/latest/. The old 1.6 version is available at ftp://ftp.ihg.uni-duisburg.de/GIS/GISData/GSHHS/.&lt;br /&gt;
&lt;br /&gt;
==== Import ====&lt;br /&gt;
&lt;br /&gt;
* Import with the GRASS6 add-on module {{AddonCmd|v.in.gshhs}}&lt;br /&gt;
&lt;br /&gt;
=== OpenStreetMap ===&lt;br /&gt;
&lt;br /&gt;
See the [[OpenStreetMap]] wiki page.&lt;br /&gt;
&lt;br /&gt;
=== SALB ===&lt;br /&gt;
&lt;br /&gt;
Second Administrative Level Boundaries: ''&amp;quot;The SALB dataset is a global digital dataset consisting of digital maps and codes that can be downloaded on a country by country basis.&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
* http://www.who.int/whosis/database/gis/salb/salb_home.htm&lt;br /&gt;
&lt;br /&gt;
=== VMap0 ===&lt;br /&gt;
&lt;br /&gt;
1:1 million vector data. Formerly known as ''Digital Chart of the World''&lt;br /&gt;
&lt;br /&gt;
* see the two articles in [http://grass.osgeo.org/newsletter/index.php ''GRASS Newsletter vol. 3 (June 2005)'']&lt;br /&gt;
&lt;br /&gt;
Check the [http://en.wikipedia.org/wiki/Vector_Map Wikipedia page] on VMAP, see the links at the bottom of that article to shapefile versions of VMAP0 and VMAP1.  Those look like the versions that were, several years ago, on a NIMA (predecessor to NGA, and successor to the Defense Mapping Agency that managed the Digital Chart of the World and VMAP project) Website.  Many GRASS users may prefer the shapefiles to the original Vector Product Format data.&lt;br /&gt;
&lt;br /&gt;
* [http://gis-lab.info/qa/vmap0-eng.html VMap0 data in ESRI shape format]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [http://spatial-analyst.net/wiki/index.php?title=Global_datasets Global datasets] list by T. Hengl (with dataset download)&lt;br /&gt;
* http://freegisdata.rtwilson.com/&lt;br /&gt;
* The FreeGIS.org database:  http://www.freegis.org/database/&lt;br /&gt;
* http://finder.geocommons.com/&lt;br /&gt;
* http://wiki.openstreetmap.org/wiki/Potential_Datasources&lt;br /&gt;
* http://www.geonames.org/data-sources.html&lt;br /&gt;
* [http://ckan.net/tag/read/geo Open Knowledge Foundation link collection]&lt;br /&gt;
* [http://openweathermap.org/ Open Weather Map]  free weather data and forecast API suitable for any cartographic services like web and smartphones applications. Ideology is inspired by OpenStreetMap and Wikipedia that make information free and available for everybody. &lt;br /&gt;
&lt;br /&gt;
=== Metadata Catalogues ===&lt;br /&gt;
Catalog Service for the Web (CSW) is an OGC standard for offering access to catalogues of geospatial information over the Internet (HTTP). CSW allow for discovering, browsing, and querying metadata about data, services, and similar resources. A list of Metadata Catalogues / CSW services from member states of the European Union can be found here:&amp;lt;br /&amp;gt;&lt;br /&gt;
* [http://inspire-geoportal.ec.europa.eu/INSPIRERegistry/ http://inspire-geoportal.ec.europa.eu/INSPIRERegistry/]&amp;lt;br /&amp;gt;&lt;br /&gt;
And here: [http://inspire-geoportal.ec.europa.eu/discovery/ http://inspire-geoportal.ec.europa.eu/discovery/] one can search European Metadata Catalogues online.&lt;br /&gt;
&lt;br /&gt;
=== European datasets ===&lt;br /&gt;
&lt;br /&gt;
* [[European datasets]]&lt;br /&gt;
* [http://preview.grid.unep.ch/index3.php?preview=data&amp;amp;lang=eng Global Risk Data Platform]&lt;br /&gt;
* [http://open-data.europa.eu/open-data/data/ European Commission Opendata Portal]: 5800+ datasets&lt;br /&gt;
* [http://eca.knmi.nl/download/ensembles/download.php E-OBS] This is the download page for the ENSEMBLES daily gridded observational dataset for precipitation, temperature and sea level pressure in Europe&lt;br /&gt;
* [http://mars.jrc.ec.europa.eu/mars/About-us/AGRI4CAST/Data-distribution MARS @ JRC] Temperature, vapour pressure, rainfall, relative humidity, cloud cover, solar radiation, wind speed.&lt;br /&gt;
* [http://www.efas.eu/ EFAS @ JRC] is a High resolution pan-European dataset for hydrologic modelling.&lt;br /&gt;
* [http://data.jrc.ec.europa.eu/ JRC Data Portal] In this catalogue, you can find an inventory of data that produced by the JRC in accordance with the JRC data policy. The content is continuously updated and shall not be seen as a complete inventory of JRC data. Currently, the inventory describes only a small subset of JRC data.&lt;br /&gt;
&lt;br /&gt;
=== National datasets ===&lt;br /&gt;
&lt;br /&gt;
* [http://asdd.ga.gov.au/asdd/tech/zap/basic.html Australian Spatial Data Directory]&lt;br /&gt;
* [http://aekos.org.au/home Australian Ecological Knowledge and Observation System]&lt;br /&gt;
* [http://wiki.gfoss.it/index.php/GIS_Open_Data Italian Geodata collection]&lt;br /&gt;
* [http://koordinates.com/ New Zealand] data from Koordinates.com&lt;br /&gt;
* United States from NOAA/USGSs data portal (FIXME: link?)&lt;br /&gt;
* [http://geodata.gov.gr/geodata/ Greek Public Geodata] (in Greek)&lt;br /&gt;
&lt;br /&gt;
=== Various datasets worldwide ===&lt;br /&gt;
&lt;br /&gt;
* [http://geospatial.edublogs.org/ GEOSPATIAL DATA REPORT]: Finding and Using GIS Data&lt;br /&gt;
* [http://www.edenextdata.com/?q=data Edenext data portal]: Land Cover, Transport networks, Elevation, Orthoimagery, Human health and safety, Species Distribution, Atmospheric Conditions and Meteorological Geographical Features, Training Program Presentations and Data, Utility and governmental services, Hydrography, Soil, Bio geographical regions, Population distribution and Demographics&lt;br /&gt;
* [http://gdex.cr.usgs.gov/gdex/ Global Data Explorer USGS]: ASTER, SRTM, GTOPO etc&lt;br /&gt;
* [http://www.landcover.org/ landcover]&lt;br /&gt;
* [http://www.gripweb.org/gripweb/?q=data-information GRIPWEB’s Data &amp;amp; Informational Portal]: hazard &amp;amp; risk&lt;br /&gt;
* [http://sedac.ciesin.columbia.edu/data/sets/browse SEDAC]: Agriculture, Climate, Conservation, Framework Data, Governance, Hazards, Health, Infrastructure, Land Use, Marine and Coastal, Population, Poverty, Remote Sensing, Sustainability, Urban, Water&lt;br /&gt;
* [http://www.preventionweb.net/english/professional/maps/?pid:6&amp;amp;pih:2 Prevention Web]: hazard &amp;amp; risk&lt;br /&gt;
* [http://data.un.org/Default.aspx UNdata]: UN database&lt;br /&gt;
* [http://www.undp.org/content/undp/en/home.html UNDP home page]&lt;br /&gt;
* [http://www.cgiar-csi.org/data global climatic data]&lt;br /&gt;
* [http://csi.cgiar.org/cgiargeospatialtools.asp cosortium for spatial information CGIAR-CSI GeoSpatial Toolkits]&lt;br /&gt;
* [http://freegisdata.rtwilson.com/ Links to over 300 sites providing freely available geographic datasets]&lt;br /&gt;
* [http://www.diva-gis.org/Data Free Spatial Data]&lt;br /&gt;
* [http://edc2.usgs.gov/glcc/globe_int.php Global Land Cover Characteristics Data Base Version 2.0]&lt;br /&gt;
* [http://opentopo.sdsc.edu/gridsphere/gridsphere?cid=datasets A Portal to High-Resolution Topography Data and Tools]&lt;br /&gt;
* [http://www.metoffice.gov.uk/hadobs/hadghcnd/ HadGHCND] is a gridded daily temperature dataset based upon near-surface maximum (TX) and minimum (TN) temperature observations.&lt;br /&gt;
&lt;br /&gt;
=== WMS servers ===&lt;br /&gt;
&lt;br /&gt;
* See [[WMS]] page&lt;br /&gt;
&lt;br /&gt;
=== River discharge data ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.bafg.de/GRDC/EN/Home/homepage_node.html Global Runoff Data Centre]&lt;br /&gt;
* [http://www.sage.wisc.edu/riverdata/ Global River Discharge Database]&lt;br /&gt;
* [http://csdms.colorado.edu/wiki/River_discharge_data CSDMS]&lt;br /&gt;
&lt;br /&gt;
[[Category: Geodata]]&lt;br /&gt;
[[Category: Import]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Global_datasets&amp;diff=25211</id>
		<title>Global datasets</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Global_datasets&amp;diff=25211"/>
		<updated>2018-04-14T11:06:16Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* SoilGrids.org 250m soil taxonomy map */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Raster data =&lt;br /&gt;
&lt;br /&gt;
== Elevation data ==&lt;br /&gt;
&lt;br /&gt;
=== ASTER topography (GDEM V1) ===&lt;br /&gt;
&lt;br /&gt;
Improved ASTER GDEM 1 from 2009:&lt;br /&gt;
&lt;br /&gt;
GDEM global 30m elevation calculated from stereo-pair images collected by the Terra satellite.&lt;br /&gt;
''&amp;quot;This is the most complete, consistent global digital elevation data yet made available to the world.&amp;quot;''&lt;br /&gt;
This is a very new dataset, at version 1  (treat as ''experimental''). Accuracy will be improved in forthcoming versions (validation with SRTM, etc.; [http://blog.neteler.org/aster-gdem-30m-quality-assessment/ see assessment here] and [http://www.viewfinderpanoramas.org/reviews.html#aster here]).&lt;br /&gt;
&lt;br /&gt;
* ''[https://lpdaac.usgs.gov/lpdaac/about/news_archive/monday_june_22_20092 pre-release announcement]''&lt;br /&gt;
* [http://www.nasa.gov/home/hqnews/2009/jun/HQ_09-150_ASTER_Topographic_Map.html NASA press release]&lt;br /&gt;
* [https://wist.echo.nasa.gov/~wist/api/imswelcome/ Warehouse Inventory Search Tool] or [http://www.gdem.aster.ersdac.or.jp/search.jsp Easy search tool] (Data download)&lt;br /&gt;
&lt;br /&gt;
'''Tutorial:''' [[ASTER topography]]&lt;br /&gt;
&lt;br /&gt;
''See also: [http://blog.neteler.org/aster-gdem-30m-quality-assessment/ ASTER GDEM 30m quality assessment]''&lt;br /&gt;
&lt;br /&gt;
=== ASTER topography (GDEM V2) ===&lt;br /&gt;
&lt;br /&gt;
Improved ASTER GDEM 2 from 2011:&lt;br /&gt;
* https://lpdaac.usgs.gov/products/aster_products_table/astgtm&lt;br /&gt;
&lt;br /&gt;
The ASTER GDEM covers land surfaces between 83°N and 83°S and is comprised of 22,702 tiles.  Tiles that contain at least 0.01% land area are included.  The ASTER GDEM is distributed as Geographic Tagged Image File Format (GeoTIFF) files with geographic coordinates (latitude, longitude).  The data are posted on a '''1 arc-second''' (approximately '''30–m at the equator''') grid and referenced to the 1984 World Geodetic System (WGS84)/ 1996 Earth Gravitational Model (EGM96) geoid. &lt;br /&gt;
&lt;br /&gt;
'''Notes:''' this DEM can be rather well filtered and smoothed with the [http://personalpages.manchester.ac.uk/staff/neil.mitchell/mdenoise/ Sun's denoising algorithm] (using GDAL and free / open source program &amp;lt;mdenoise&amp;gt; or simply GRASS add-on {{AddonCmd|r.denoise}}.&lt;br /&gt;
&lt;br /&gt;
Experiments showed that the best smoothing of ASTER GDEM 2 is reached with such parameters of &amp;lt;mdenoise&amp;gt;:&lt;br /&gt;
* threshold = 0.8&lt;br /&gt;
* iterations = 10-20&lt;br /&gt;
&lt;br /&gt;
Also filtering with {{cmd|r.neighbors}} by &amp;quot;average&amp;quot; method and window size &amp;gt;=5 is quite useful to remove some noise from DEM.&lt;br /&gt;
&lt;br /&gt;
''See also: [http://www.isprs2012.org/abstract/299.asp Validation of the ASTER Global Digital Elevation Model Version 2 over the Conterminous United States]''&lt;br /&gt;
&lt;br /&gt;
=== ACE2 ===&lt;br /&gt;
&lt;br /&gt;
The ACE2 Global Digital Elevation Model is available at 3&amp;quot;, 30&amp;quot; and 5' spatial resolutions.&lt;br /&gt;
&lt;br /&gt;
* http://tethys.eaprs.cse.dmu.ac.uk/ACE2/&lt;br /&gt;
&lt;br /&gt;
Import example:&lt;br /&gt;
  r.in.bin -f input=&amp;quot;00N105E_3S.ACE2&amp;quot; output=&amp;quot;ACE2_00N105E&amp;quot; bytes=4 \&lt;br /&gt;
           order=&amp;quot;native&amp;quot; north=15 south=0 east=120 west=105 \&lt;br /&gt;
           rows=18000 cols=18000&lt;br /&gt;
&lt;br /&gt;
=== CleanTOPO2 (DEM) ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.shadedrelief.com/cleantopo2/ CleanTOPO2 download]: Edited SRTM30 Plus World Elevation Data&lt;br /&gt;
&lt;br /&gt;
Import in GRASS:&lt;br /&gt;
  r.in.gdal CleanTOPO2.tif out=cleanTOPO2.tmp -l -o&lt;br /&gt;
  g.region rast=cleanTOPO2  -p -g&lt;br /&gt;
  # rescale from odd integer values to true world values&lt;br /&gt;
  r.rescale cleanTOPO2.tmp out=cleanTOPO2 to=-10701,8248&lt;br /&gt;
  r.colors cleanTOPO2_final col=terrain&lt;br /&gt;
&lt;br /&gt;
[[Image:CleanTOPO2_map.png|thumb|center|300px|Rescaled ClearTOPO2 map]]&lt;br /&gt;
&lt;br /&gt;
=== EGM2008 Geoid Data (Earth Gravitational Model) ===&lt;br /&gt;
&lt;br /&gt;
Global 2.5 Minute Geoid Undulations:&lt;br /&gt;
* download GIS Format at http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008/egm08_gis.html&lt;br /&gt;
&lt;br /&gt;
[[Image:Trentino_egm2008_map_5m_resampled.jpg|thumb|center|300px|Geoid undulations in Trentino, Italy]]&lt;br /&gt;
&lt;br /&gt;
Verifications of points can be done with the http://geographiclib.sourceforge.net/cgi-bin/GeoidEval&lt;br /&gt;
&lt;br /&gt;
=== ETOPO (DEM) ===&lt;br /&gt;
&lt;br /&gt;
The ETOPO datasets provide global topography and bathymetry at 1', 2', and 5' per-cell resolutions.&lt;br /&gt;
&lt;br /&gt;
==== ETOPO1 (DEM) ====&lt;br /&gt;
&lt;br /&gt;
* http://www.ngdc.noaa.gov/mgg/global/&lt;br /&gt;
&lt;br /&gt;
* '''The ''cell registered'' version can be loaded directly into a lat/lon location'''. GRASS raster data is cell registered (see the [[GRASS raster semantics]] page)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Special care must be taken with the ''grid registered'' version. It can not be loaded directly into a lat/lon location as the parameters found in the .hdr file exceed the limits of polar coordinate space: they have N,S rows which go 1/2 a cell beyond 90 latitude, when considered in the ''cell registered'' convention.&lt;br /&gt;
: So the data needs to have those 90deg N,S rows cropped away, and while we're at it we crop away a redundant overlapping column at 180 longitude. To do this we have to first tell the GIS a little fib during import to squeeze the data into lat/lon space, then crop away the spurious rows and column, then finally reset the resulting map's bounds to its true extent.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 # Import grid registered binary float, fibbing about its true extent&lt;br /&gt;
 r.in.bin -f in=etopo1_bed_g.flt out=etopo1_bed_g.raw \&lt;br /&gt;
    n=90 s=-90 e=180 w=-180 rows=10801 cols=21601 anull=-9999&lt;br /&gt;
 &lt;br /&gt;
 # reduce the working region by 1 cell&lt;br /&gt;
 g.region rast=etopo1_bed_g.raw&lt;br /&gt;
 eval `g.region -g`&lt;br /&gt;
 g.region n=n-$nsres s=s+$nsres e=e-$ewres -p&lt;br /&gt;
 &lt;br /&gt;
 # save smaller raster and remove original&lt;br /&gt;
 r.mapcalc &amp;quot;etopo1_bed_g.crop = etopo1_bed_g.raw&amp;quot;&lt;br /&gt;
 g.remove etopo1_bed_g.raw&lt;br /&gt;
&lt;br /&gt;
 # re-establish the correct bounds, now that they'll fit&lt;br /&gt;
 r.region etopo1_bed_g.crop n=89:59:30N s=89:59:30S w=179:59:30E e=179:59:30E&lt;br /&gt;
 g.region rast=etopo1_bed_g.crop&lt;br /&gt;
&lt;br /&gt;
 # check that N,S,E,W and Res are all nice and clean:&lt;br /&gt;
 r.info etopo1_bed_g.crop&lt;br /&gt;
&lt;br /&gt;
 # looks good, so accept the results by resetting the map name&lt;br /&gt;
 g.rename etopo1_bed_g.crop,etopo1_bed_g&lt;br /&gt;
&lt;br /&gt;
 # set to use appropriate color rules&lt;br /&gt;
 r.colors etopo1_bed_g color=etopo2&lt;br /&gt;
&lt;br /&gt;
 # set the 'units' metadata field (for elevation data contained within the map)&lt;br /&gt;
 r.support etopo1_bed_g units=meters&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For the problematic ''grid registered'' version, the resulting {{cmd|r.info}} report should look like:&lt;br /&gt;
 |   Rows:         10799                                                      |&lt;br /&gt;
 |   Columns:      21600                                                      |&lt;br /&gt;
 |   Total Cells:  233258400                                                  |&lt;br /&gt;
 |        Projection: Latitude-Longitude                                      |&lt;br /&gt;
 |            N:  89:59:30N    S:  89:59:30S   Res:  0:01                     |&lt;br /&gt;
 |            E: 179:59:30E    W: 179:59:30E   Res:  0:01                     |&lt;br /&gt;
 |   Range of data:    min = -10898  max = 8271                               |&lt;br /&gt;
(the east and west bounds of the map touch 1/2 a cell west of 180 longitude)&lt;br /&gt;
&lt;br /&gt;
* For the problematic ''grid registered'' version, since the data's grid is 1/2 a cell shifted from nicely rounded 1 arc-minutes (0:01), you'll need to ensure that the mapset's region preserves that alignment after zooming or panning:&lt;br /&gt;
 g.region align=etopo1_bed_g -p&lt;br /&gt;
: (or oversample and set the region resolution to 1/2 arc-minutes (0:00:30), which will be four times as slow)&lt;br /&gt;
&lt;br /&gt;
==== ETOPO2 (DEM) ====&lt;br /&gt;
&lt;br /&gt;
* See the ETOPO2 (2' global) article by M.H. Bowman in the [http://grass.osgeo.org/newsletter/GRASSNews_vol1.pdf GRASS Newsletter, 1:8-11, August 2004].&lt;br /&gt;
: [http://www.ngdc.noaa.gov/mgg/fliers/01mgg04.html ETOPO2v2 data download] (take for example the ETOPO2v2g_f4_LSB.flt file)&lt;br /&gt;
&lt;br /&gt;
=== GTOPO30 (DEM) ===&lt;br /&gt;
&lt;br /&gt;
* Data [http://eros.usgs.gov/#/Find_Data/Products_and_Data_Available/gtopo30_info download] - Import with {{cmd|r.in.gdal}}.&lt;br /&gt;
&lt;br /&gt;
''Note:'' To avoid that the GTOPO30 data are read incorrectly, you can add a new line &amp;quot;PIXELTYPE SIGNEDINT&amp;quot; in the .HDR to force interpretation of the file as signed rather than unsigned integers. Then the .DEM file can be imported. Finally, e.g. the 'terrain' color table can be assigned to the imported map with r.colors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Global Multi-resolution Terrain Elevation Data 2010 (GMTED2010) ===&lt;br /&gt;
&lt;br /&gt;
* Data download: [https://lta.cr.usgs.gov/GMTED2010 Web] and [http://topotools.cr.usgs.gov/GMTED_viewer/gmted2010_global_grids.php FTP] - Import with {{cmd|r.in.gdal}}. See also [https://erouault.blogspot.de/2011/12/seamless-access-to-remote-global-multi.html related GDAL blog post]&lt;br /&gt;
&lt;br /&gt;
Tiles: Import of GMTED2010 tiles in GRASS GIS:&lt;br /&gt;
&lt;br /&gt;
  r.in.gdal 30N000E_20101117_gmted_mea075.tif out=gmted2010_30N000E_20101117&lt;br /&gt;
  r.colors gmted2010_30N000E_20101117 color=elevation&lt;br /&gt;
  g.region rast=gmted2010_30N000E_20101117&lt;br /&gt;
  r.relief input=gmted2010_30N000E_20101117 output=gmted2010_30N000E_20101117.shade&lt;br /&gt;
  r.shade shade=gmted2010_30N000E_20101117.shade color=gmted2010_30N000E_20101117 \&lt;br /&gt;
   output=gmted2010_30N000E_20101117_shaded&lt;br /&gt;
  d.mon wx0&lt;br /&gt;
  d.rast gmted2010_30N000E_20101117_shaded&lt;br /&gt;
  d.grid 1 color=red textcolor=red&lt;br /&gt;
&lt;br /&gt;
[[Image:Gmted2010_30N000E_20101117_shaded.png|thumb|center|300px|GMTED2010 example: Trento - Garda Lake - Verona area (Northern Italy)]]&lt;br /&gt;
&lt;br /&gt;
Full maps:&lt;br /&gt;
&lt;br /&gt;
  # mean elevation global GMTED2010 map, 30 arc-sec&lt;br /&gt;
  wget http://edcintl.cr.usgs.gov/downloads/sciweb1/shared/topo/downloads/GMTED/Grid_ZipFiles/mn30_grd.zip&lt;br /&gt;
  unzip mn30_grd.zip&lt;br /&gt;
  &lt;br /&gt;
Important: the GMTED2010 map exceeds the -180°..+180° range due to the [https://pubs.usgs.gov/of/2011/1073/pdf/of2011-1073.pdf GMTED2010 pixel geometry] (PDF). Note that this cannot be handled in GRASS GIS &amp;lt; 7.4. Please update to GRASS GIS 7.4 or newer.&lt;br /&gt;
&lt;br /&gt;
=== GEBCO Bathymetric Chart ===&lt;br /&gt;
&lt;br /&gt;
* The General Bathymetric Chart of the Oceans (original 1' release 2003, new 1' and 30&amp;quot; releases 2008)&lt;br /&gt;
: http://www.gebco.net/data_and_products/gridded_bathymetry_data/&lt;br /&gt;
: http://www.bodc.ac.uk/data/online_delivery/gebco/&lt;br /&gt;
&lt;br /&gt;
{{cmd|r.in.gdal}} can be used to import the GMT netCDF files directly, or if that doesn't work you can use GMT tools to convert to an old-style native GMT format and import that with {{cmd|r.in.bin}}.&lt;br /&gt;
: example:  (GEBCO 2003 1' data)&lt;br /&gt;
&lt;br /&gt;
 # convert to an old style GMT binary .grd using grdreformat&lt;br /&gt;
 $ grdreformat 3n24s47w14w.grd 3n24s47w14w_Native.grd=bs&lt;br /&gt;
 &lt;br /&gt;
 # then import into GRASS,&lt;br /&gt;
 GRASS&amp;gt; r.in.bin -h -s bytes=2 in=3n24s47w14w_Native.grd out=3n24s47w14w&lt;br /&gt;
 &lt;br /&gt;
 # and set some nice colors&lt;br /&gt;
 GRASS&amp;gt; r.colors 3n24s47w14w rules=- &amp;lt;&amp;lt; EOF&lt;br /&gt;
 nv magenta&lt;br /&gt;
 0% black&lt;br /&gt;
 -7740 0:0:168&lt;br /&gt;
 0 84:176:248&lt;br /&gt;
 0 40:124:0&lt;br /&gt;
 522 68:148:24&lt;br /&gt;
 1407 148:228:108&lt;br /&gt;
 1929 232:228:108&lt;br /&gt;
 2028 232:228:92&lt;br /&gt;
 2550 228:160:32&lt;br /&gt;
 2724 216:116:8&lt;br /&gt;
 2730 grey&lt;br /&gt;
 2754 grey&lt;br /&gt;
 2760 252:252:252&lt;br /&gt;
 2874 252:252:252&lt;br /&gt;
 2883 192:192:192&lt;br /&gt;
 2913 192:192:192&lt;br /&gt;
 100% 252:252:252&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== Global Multi-Resolution Topography (GMRT DEM) ===&lt;br /&gt;
: ''From Columbia University's Lamont-Doherty Earth Observatory''&lt;br /&gt;
(it is reported that this is what Google Maps uses for their global bathymetry)&lt;br /&gt;
&lt;br /&gt;
* Global ~1 arc-second (~90 m) topography using multi-beam and satellite data in the oceans combined with SRTM on land.&lt;br /&gt;
* Full information at: http://www.marine-geo.org/portals/gmrt/&lt;br /&gt;
* Accessible via [http://www.geomapapp.org/ GeoMapApp] or [http://www.virtualocean.org/ Virtual Ocean] software.&lt;br /&gt;
* Very convenient to download into GRASS via wget:&lt;br /&gt;
&lt;br /&gt;
  export `g.region -g`&lt;br /&gt;
  wget &amp;quot;http://www.marine-geo.org/cgi-bin/getgridB?west=${w}&amp;amp;east=${e}&amp;amp;south=${s}&amp;amp;north=${n}&amp;amp;resolution=1&amp;quot; -O /tmp/test.grd&lt;br /&gt;
  r.in.gdal /tmp/test.grd output=GMRT -o&lt;br /&gt;
  rm /tmp/test.grd&lt;br /&gt;
&lt;br /&gt;
* Note: Downloaded file contains no projection information, but is EPSG:4326 (WGS84 Geographic).  The file size is limited, but lower resolution (resolution=2,4,8) data can be downloaded for larger areas.&lt;br /&gt;
&lt;br /&gt;
=== Smith and Sandwell DEM ===&lt;br /&gt;
&lt;br /&gt;
* Merge info here from the [[Marine Science]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SRTM DEM ===&lt;br /&gt;
&lt;br /&gt;
[http://www2.jpl.nasa.gov/srtm/ Space Shuttle Radar Topography Mission] - several SRTM Data Products are available:&lt;br /&gt;
* Original data - SRTM 3 V001 arc-seconds Non-Void Filled elevation data (US: 1 arc-second (approximately 30 meters); outside the US at 3 arc-seconds (approximately 90 meters))&lt;br /&gt;
* SRTM V003 3 Arc-Second Global Void Filled elevation data, with voids filled using interpolation algorithms in conjunction with other sources of elevation data  (US: 1 arc-second (approximately 30 meters); outside the US at 3 arc-seconds (approximately 90 meters))&lt;br /&gt;
** SRTM V3 tiles at 3 arc seconds resolution from: http://e4ftl01.cr.usgs.gov/SRTM/SRTMGL3.003/2000.02.11/ - or simply use {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
* '''SRTM V003 1 Arc-Second Global elevation data''' offer worldwide coverage of '''void filled''' data at a resolution of 1 arc-second (30 meters) and provide open distribution of this high-resolution global data set.&lt;br /&gt;
** [http://earthexplorer.usgs.gov/ EarthExplorer] can be used to search, preview, and download Shuttle Radar Topography Mission (SRTM) 1 Arc-Second Global data. The collections are located under the Digital Elevation category.&lt;br /&gt;
** FTP download: http://e4ftl01.cr.usgs.gov/SRTM/SRTMGL1.003/2000.02.11/ - or simply use {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
** Web-based [http://dwtkns.com/srtm30m/ 30-Meter SRTM Tile Downloader] (select from map)&lt;br /&gt;
&lt;br /&gt;
Import:&lt;br /&gt;
* Using {{cmd|r.in.gdal}} or {{cmd|r.import}} or {{cmd|r.in.srtm}} or {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
* see [[HOWTO import SRTM elevation data]], focused on the SRTM 3 arc-seconds Non-Void Filled elevation data&lt;br /&gt;
&lt;br /&gt;
=== SRTM30plus data DEM ===&lt;br /&gt;
&lt;br /&gt;
SRTM30plus data consists of 33 files of global topography in the same format as the SRTM30 products distributed by the USGS EROS data center. The grid resolution is 30 seconds which is roughly one kilometer (1 km).&lt;br /&gt;
&lt;br /&gt;
Land data are based on the 1-km averages of topography derived from the USGS SRTM30 grided DEM data product created with data from the NASA Shuttle Radar Topography Mission. GTOPO30 data are used for high latitudes where SRTM data are not available.&lt;br /&gt;
&lt;br /&gt;
Ocean data are based on the Smith and Sandwell global 2-minute grid between latitudes +/- 72 degrees. Higher resolution grids have been added from the LDEO Ridge Multibeam Synthesis Project and the NGDC Coastal Relief Model. Arctic bathymetry is from the International Bathymetric Chart of the Oceans (IBCAO).&lt;br /&gt;
&lt;br /&gt;
All data are derived from public domain sources and these data are also in the public domain.&lt;br /&gt;
&lt;br /&gt;
GRASS 6 script {{{cmd|r.in.srtm}}} described in GRASSNews vol. 3 won't work with this dataset (as it was made for the original SRTM HGT files). But you can import SRTM30plus tiles into GRASS this way:&lt;br /&gt;
&lt;br /&gt;
 r.in.bin -sb input=e020n40.Bathymetry.srtm output=e020n40_topex bytes=2 \&lt;br /&gt;
  north=40 south=-10 east=60 west=20 r=6000 c=4800&lt;br /&gt;
 r.colors e020n40_topex rules=etopo2&lt;br /&gt;
&lt;br /&gt;
; Source&lt;br /&gt;
: GRASS Users Mailing List http://lists.osgeo.org/pipermail/grass-user/2005-August/030063.html&lt;br /&gt;
; Getting as SRTM30plus tiles: ftp://topex.ucsd.edu/pub/srtm30_plus/srtm30/data/&lt;br /&gt;
; Getting as SRTM30plus huge file: ftp://topex.ucsd.edu/pub/srtm30_plus/topo30/&lt;br /&gt;
; SRTMPLUS WCS server: http://svn.osgeo.org/gdal/trunk/autotest/gdrivers/data/srtmplus.wcs (read with {{cmd|r.external}})&lt;br /&gt;
&lt;br /&gt;
=== SRTM Water Body Database SRTMSWBD V003 ===&lt;br /&gt;
&lt;br /&gt;
SRTM Water Body Database V003&lt;br /&gt;
* Format documentation: https://lpdaac.usgs.gov/dataset_discovery/measures/measures_products_table/srtmswbd_v003&lt;br /&gt;
* FTP raster data (30m res water bodies): http://e4ftl01.cr.usgs.gov/SRTM/SRTMSWBD.003/&lt;br /&gt;
&lt;br /&gt;
Import into GRASS GIS 7 (lat-long location):&lt;br /&gt;
 r.in.bin -sb input=N00E108.raw output=N00E108_swbd bytes=1 north=0 south=-10 east=108 west=98 r=3601 c=3601   &amp;lt;&amp;lt;= DRAFT - TODO fix n,s,e,w - calculate from filename&lt;br /&gt;
&lt;br /&gt;
== Soil data ==&lt;br /&gt;
&lt;br /&gt;
=== Harmonized World Soil Database (HWSD Database) ===&lt;br /&gt;
&lt;br /&gt;
Download: http://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/&lt;br /&gt;
&lt;br /&gt;
[http://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/DataDesc.html?sb=12 Spatial reference system:] [http://spatialreference.org/ref/epsg/4326/ EPSG:4326] (LatLong WGS84)&lt;br /&gt;
&lt;br /&gt;
Import:&lt;br /&gt;
 grass70 -c EPSG:4326 ~/grassdata/hwsd&lt;br /&gt;
 # -e: expand location to dataset; -o: override (missing) projection in input dataset:&lt;br /&gt;
 r.in.gdal input=hwsd.bil output=hwSoil -e -o&lt;br /&gt;
 g.region raster=hwSoil -p&lt;br /&gt;
 r.category hwSoil&lt;br /&gt;
&lt;br /&gt;
The data is distributed with an MSAccess .mdb which contains additional data for each of the categories in the raster file. Opening the file in access, the data is found in the query &amp;quot;HWSD_Q&amp;quot;. Save this query in .csv format (with a name like &amp;quot;HWSD_Q.csv&amp;quot;) so that it may then be imported into GRASS. After that, it is necessary to replace the commas with dots (find &amp;amp; replace) in the .csv file. Before you can import it, you also need a file &amp;quot;HWSD_Q.csvt&amp;quot;, which contains a single line listing the type for each column in the database:&lt;br /&gt;
 &amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With both the .csv and the .csvt file in the same directory, you can then import them into GRASS:&lt;br /&gt;
 db.in.ogr input=~/grassdata/hwsd/HWSD_Q.csv output=hwsdData&lt;br /&gt;
&lt;br /&gt;
The data cannot be connected directly to the raster, it must be converted to a vector first:&lt;br /&gt;
 g.region raster=hwSoil&lt;br /&gt;
 r.to.vect -v input=hwSoil output=hwSoil feature=area&lt;br /&gt;
 v.db.droptable hwSoil&lt;br /&gt;
 db.droptable -f hwSoil # delete the table completely&lt;br /&gt;
&lt;br /&gt;
Note that the table includes multiple rows for each polygon, corresponding&lt;br /&gt;
to the dominant and various numbers of subdominant soils. To select only&lt;br /&gt;
the dominant soil layer:&lt;br /&gt;
&lt;br /&gt;
 db.select table=hwsdData sql='select * from hwsdData where SEQ = 1' \&lt;br /&gt;
          output=domSoil.csv separator=,&lt;br /&gt;
&lt;br /&gt;
This saves a copy of the table that contains only the dominant soil type for each polygon as domSoil.csv. This needs to be reloaded into the GRASS database. Since it has the same columns as HWSD_Q.csv, we can use the labels for that file:&lt;br /&gt;
&lt;br /&gt;
 cp HWSD_Q.csvt domSoil.csvt&lt;br /&gt;
&lt;br /&gt;
Then we can load domSoil.csv:&lt;br /&gt;
&lt;br /&gt;
 db.in.ogr \&lt;br /&gt;
    input=~/grassdata/downloads/harmonized_world_soil_database/domSoil.csv \&lt;br /&gt;
    output=domSoil &lt;br /&gt;
&lt;br /&gt;
Now at last we can connect the database to the vector file:&lt;br /&gt;
&lt;br /&gt;
 v.db.connect -o map=hwsd table=domSoil driver=sqlite key=MU_GLOBAL&lt;br /&gt;
&lt;br /&gt;
To create a new raster map taking the values from the table:&lt;br /&gt;
 g.region raster=hwSoil  ## make sure we get the whole map&lt;br /&gt;
 v.to.rast in=hwSoil out=T_SAND col=T_SAND&lt;br /&gt;
&lt;br /&gt;
=== SoilGrids.org 250m soil taxonomy map ===&lt;br /&gt;
&lt;br /&gt;
SoilGrids is a system for automated soil mapping based on global soil profile and environmental covariate data. SoilGrids represents a collection of updatable soil property and class maps of the world at 1 km and 250 m spatial resolution produced using automated soil mapping based on machine learning algorithms. It aims at becoming OpenStreetMap and/or OpenWeatherMap for soil data. SoilGrids predictions are updated on a regular basis (at least every few months). For more details about the SoilGrids system, please refer to the SoilGrids project site: https://www.soilgrids.org/#/?layer=geonode:taxnwrb_250m&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
URL=ftp://ftp.soilgrids.org/data/recent/TAXNWRB_250m_ll.tif&lt;br /&gt;
&lt;br /&gt;
# the Soilgrids GeoTIFF data suffer from a resolution precision problem:&lt;br /&gt;
# resolution is stored as 0.002083333000000 while it should be 0.002083333333333, hence the geometry is not fully correct&lt;br /&gt;
# this likely originates from Soilgrids being processed in SAGA which cuts decimals after the 10th decimal place, hence comes with a precision problem &lt;br /&gt;
&lt;br /&gt;
export NAME=`basename $URL .tif`&lt;br /&gt;
wget $URL&lt;br /&gt;
&lt;br /&gt;
gdal_translate --config GDAL_CACHEMAX 2000 -a_ullr $COORDS -co &amp;quot;COMPRESS=DEFLATE&amp;quot; $NAME.tif ${NAME}_fixed.tif&lt;br /&gt;
gdalinfo ${NAME}_fixed.tif&lt;br /&gt;
&lt;br /&gt;
grass72 -c ${NAME}_fixed.tif ~/grassdata/latlong --exec r.import input=${NAME}_fixed.tif output=${NAME}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Starting with GRASS GIS 7.4.x, there is new flag in [https://grass.osgeo.org/grass74/manuals/r.in.gdal.html r.in.gdal] to auto-adjust such small resolution precision issues: '''-a''' - Auto-adjustment for lat/lon. Attempt to fix small precision errors in resolution and extents.&lt;br /&gt;
&lt;br /&gt;
== Landcover data ==&lt;br /&gt;
&lt;br /&gt;
=== ESA Globcover dataset ===&lt;br /&gt;
&lt;br /&gt;
Download: http://due.esrin.esa.int/page_globcover.php&lt;br /&gt;
&lt;br /&gt;
Or via command line:&lt;br /&gt;
 wget http://due.esrin.esa.int/files/Globcover2009_V2.3_Global_.zip&lt;br /&gt;
 unzip Globcover2009_V2.3_Global_.zip&lt;br /&gt;
 # rm -f Globcover2009_V2.3_Global_.zip&lt;br /&gt;
&lt;br /&gt;
Note, also a coloured version of the map in GeoTIFF format is available at: http://due.esrin.esa.int/files/GLOBCOVER_L4_200901_200912_V2.3.color.tif&lt;br /&gt;
&lt;br /&gt;
Unfortunately the Globcover map exceeds the -180°..+180° range etc, indicating a shift of the map (see also [http://www.cosmo-model.org/content/tasks/workGroups/wg3b/meetings/2012-soilveg/EXTPAR-GLOBCOVER.pdf this assessment by DWD]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gdalinfo GLOBCOVER_L4_200901_200912_V2.3.tif&lt;br /&gt;
Driver: GTiff/GeoTIFF&lt;br /&gt;
Files: GLOBCOVER_L4_200901_200912_V2.3.tif&lt;br /&gt;
Size is 129600, 55800&lt;br /&gt;
Coordinate System is:&lt;br /&gt;
GEOGCS[&amp;quot;WGS 84&amp;quot;,&lt;br /&gt;
...&lt;br /&gt;
Origin = (-180.001388888888897,90.001388888888883)&lt;br /&gt;
...&lt;br /&gt;
Corner Coordinates:&lt;br /&gt;
Upper Left  (-180.0013889,  90.0013889) (180d 0' 5.00&amp;quot;W, 90d 0' 5.00&amp;quot;N)&lt;br /&gt;
Lower Left  (-180.0013889, -64.9986111) (180d 0' 5.00&amp;quot;W, 64d59'55.00&amp;quot;S)&lt;br /&gt;
Upper Right ( 179.9986111,  90.0013889) (179d59'55.00&amp;quot;E, 90d 0' 5.00&amp;quot;N)&lt;br /&gt;
Lower Right ( 179.9986111, -64.9986111) (179d59'55.00&amp;quot;E, 64d59'55.00&amp;quot;S)&lt;br /&gt;
Center      (  -0.0013889,  12.5013889) (  0d 0' 5.00&amp;quot;W, 12d30' 5.00&amp;quot;N)&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
How to fix this?&lt;br /&gt;
&lt;br /&gt;
'''Option 1:''' You can use the -l flag of {{cmd|r.in.gdal}} to constrain the map coordinates to legal values ([https://pvanb.wordpress.com/2011/05/10/importing-global-rasters-in-grass-gives-me-illegal-latitude-for-north-message/ ref]. But the resulting pixels will no longer have the original resolution. We will not do that.&lt;br /&gt;
&lt;br /&gt;
'''Option 2:''' Shift the Globcover map slightly into the right position using [http://www.gdal.org/gdal_translate.html gdal_translate]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# coords are shifted, fix raster map&lt;br /&gt;
# -a_ullr Assign/override the georeferenced bounds of the output file&lt;br /&gt;
# use larger cache and compress result&lt;br /&gt;
gdal_translate --config GDAL_CACHEMAX 1200 -a_ullr -180 90 180 -65 \&lt;br /&gt;
     -co &amp;quot;COMPRESS=LZW&amp;quot; GLOBCOVER_L4_200901_200912_V2.3.tif GLOBCOVER_L4_200901_200912_V2.3_fixed.tif&lt;br /&gt;
&lt;br /&gt;
# result:&lt;br /&gt;
gdalinfo GLOBCOVER_L4_200901_200912_V2.3_fixed.tif&lt;br /&gt;
...&lt;br /&gt;
Origin = (-180.000000000000000,90.000000000000000)&lt;br /&gt;
Pixel Size = (0.002777777777778,-0.002777777777778)&lt;br /&gt;
...&lt;br /&gt;
Corner Coordinates:&lt;br /&gt;
Upper Left  (-180.0000000,  90.0000000) (180d 0' 0.00&amp;quot;W, 90d 0' 0.00&amp;quot;N)&lt;br /&gt;
Lower Left  (-180.0000000, -65.0000000) (180d 0' 0.00&amp;quot;W, 65d 0' 0.00&amp;quot;S)&lt;br /&gt;
Upper Right ( 180.0000000,  90.0000000) (180d 0' 0.00&amp;quot;E, 90d 0' 0.00&amp;quot;N)&lt;br /&gt;
Lower Right ( 180.0000000, -65.0000000) (180d 0' 0.00&amp;quot;E, 65d 0' 0.00&amp;quot;S)&lt;br /&gt;
Center      (   0.0000000,  12.5000000) (  0d 0' 0.01&amp;quot;E, 12d30' 0.00&amp;quot;N)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voilà! Now we can import the map into GRASS GIS:&lt;br /&gt;
&lt;br /&gt;
 r.in.gdal input=GLOBCOVER_L4_200901_200912_V2.3_fixed.tif output=esa_globcover2009&lt;br /&gt;
&lt;br /&gt;
'''Legend conversion''': The ZIP file contains a XLS table describing the classes and the RGB colors. Using ogr2ogr can directly convert XLS --&amp;gt; CSV:&lt;br /&gt;
&lt;br /&gt;
 ogr2ogr -f CSV Globcover2009_Legend.csv Globcover2009_Legend.xls&lt;br /&gt;
&lt;br /&gt;
'''Applying the legend:'''&lt;br /&gt;
&lt;br /&gt;
 # suppress table header and only consider category value and label, apply on the fly:&lt;br /&gt;
 cat Globcover2009_Legend.csv | grep -v '^Value' | cut -d',' -f1-2 | r.category esa_globcover2009 separator=comma rules=-&lt;br /&gt;
 # verify (0E, 0N is the Atlantic Ocean)&lt;br /&gt;
 r.what esa_globcover2009 coor=0,0 -f&lt;br /&gt;
 0|0||210|Water bodies&lt;br /&gt;
&lt;br /&gt;
=== Global Forest Change ===&lt;br /&gt;
&lt;br /&gt;
* http://earthenginepartners.appspot.com/science-2013-global-forest &lt;br /&gt;
* Download info on: http://earthenginepartners.appspot.com/science-2013-global-forest/download_v1.3.html&lt;br /&gt;
&lt;br /&gt;
== Imagery ==&lt;br /&gt;
&lt;br /&gt;
=== AVHRR ===&lt;br /&gt;
&lt;br /&gt;
* see the [[AVHRR]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== Blue Marble imagery ===&lt;br /&gt;
&lt;br /&gt;
NASA's Blue Marble is a 500m-8 degree per-cell world wide visual image of the Earth from space, with the clouds removed.&lt;br /&gt;
&lt;br /&gt;
* see the [[Blue Marble]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== EO-1 imagery ===&lt;br /&gt;
&lt;br /&gt;
(Earth Observing-1)&lt;br /&gt;
* &amp;quot;''Advanced Land Imager (ALI) provides image data from ten spectral bands (band designations). The instrument operates in a pushbroom fashion, with a spatial resolution of 30 meters for the multispectral bands and 10 meters for the panchromatic band.''&amp;quot;&lt;br /&gt;
:-- http://eros.usgs.gov/products/satellite/eo1.php&lt;br /&gt;
* On-board Atmospheric Corrections&lt;br /&gt;
&lt;br /&gt;
=== Global Land Cover Characteristics ===&lt;br /&gt;
&lt;br /&gt;
USGS ''et al.'' generated dataset at 1km resolution. Provides global landcover characteristics.&lt;br /&gt;
&lt;br /&gt;
* see the [[Global Land Cover Characteristics]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== LANDSAT imagery ===&lt;br /&gt;
&lt;br /&gt;
Since October 1, 2008 all Landsat 7 ETM+ scenes held in the [http://landsat.usgs.gov/ USGS EROS archive] are available for download at no charge.&lt;br /&gt;
* Download via the [http://glovis.usgs.gov/ Glovis] online search tool (req. Java)&lt;br /&gt;
* Download via the USGS's [http://edcsns17.cr.usgs.gov/EarthExplorer/ EarthExplorer] interface&lt;br /&gt;
&lt;br /&gt;
==== Import Modules ====&lt;br /&gt;
&lt;br /&gt;
* {{cmd|r.in.gdal}} - Main import tool for complete multiband scenes&lt;br /&gt;
* {{cmd|r.in.wms}} - Download data covering current map region via WMS server&lt;br /&gt;
* [[GRASS_AddOns#r.in.onearth|r.in.onearth]] - WMS frontend for NASA's OnEarth Global Landsat Mosaic&lt;br /&gt;
&lt;br /&gt;
==== Color balancing modules ====&lt;br /&gt;
* {{cmd|i.landsat.rgb}} (GRASS 6.x) | {{cmd|i.colors.enhance|version=70}} (GRASS 7.x)  - Color balancing/enhancement tool&lt;br /&gt;
&lt;br /&gt;
==== See also ====&lt;br /&gt;
&lt;br /&gt;
* Processing tips can be found on the [[LANDSAT]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== ESA Sentinel imagery ===&lt;br /&gt;
&lt;br /&gt;
All Sentinel 1 and 2 data is available for download from the [https://scihub.copernicus.eu/ Open Access Hub]&lt;br /&gt;
&lt;br /&gt;
* via the [https://scihub.copernicus.eu/dhus/#/home online interactive interface]&lt;br /&gt;
* via the [https://scihub.copernicus.eu/twiki/do/view/SciHubWebPortal/APIHubDescription API]&lt;br /&gt;
&lt;br /&gt;
For pre-processing, different tools are available at&lt;br /&gt;
* http://step.esa.int/main/ Scientific Toolbox Exploitation Platform&lt;br /&gt;
* https://github.com/Fernerkundung/awesome-sentinel (&amp;quot;Awesome Sentinel&amp;quot; - list of tools)&lt;br /&gt;
&lt;br /&gt;
=== Miscellaneous ===&lt;br /&gt;
&lt;br /&gt;
==== Data sources ====&lt;br /&gt;
&lt;br /&gt;
* Some datasource links: http://www.ruf.rice.edu/~ben/gmt.html&lt;br /&gt;
* [http://www.geotorrent.org/browse.php Geotorrent.org]&lt;br /&gt;
&lt;br /&gt;
==== Import Modules ====&lt;br /&gt;
* The {{cmd|r.in.gdal}} modules may be used to import data of [http://www.gdal.org/formats_list.html many formats], including GMT netCDF&lt;br /&gt;
* The {{cmd|r.in.bin}} module may be used to import raw binary files&lt;br /&gt;
&lt;br /&gt;
=== MODIS imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the [[MODIS]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== Natural Earth imagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.naturalearthdata.com/ Natural Earth II]:  World environment map in natural color. GeoTIFF (use the {{cmd|r.in.gdal}} module)&lt;br /&gt;
* see also 1:10 million, 1:50 million and 1:110million scale maps from  http://www.naturalearthdata.com/&lt;br /&gt;
&lt;br /&gt;
=== Orthoimagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://worldwindcentral.com/wiki/Sources_of_free_orthoimagery Sources of free orthoimagery]&lt;br /&gt;
&lt;br /&gt;
=== Pathfinder AVHRR SST imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the Pathfinder [[AVHRR]] SST wiki page&lt;br /&gt;
&lt;br /&gt;
=== QuickBird imagery ===&lt;br /&gt;
&lt;br /&gt;
* See the [[QuickBird]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SeaWiFS imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the [[SeaWiFS]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SPOT Vegetation imagery ===&lt;br /&gt;
&lt;br /&gt;
SPOT Vegetation (1km) global: NDVI data sets&lt;br /&gt;
&lt;br /&gt;
* [http://free.vgt.vito.be/ SPOT Vegetation (1km, global) NDVI data set server]&lt;br /&gt;
* for import, see {{cmd|i.in.spotvgt}}&lt;br /&gt;
&lt;br /&gt;
=== True Marble imagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.unearthedoutdoors.net/global_data/true_marble/download True Marble]: 250m world wide visual image of the Earth from space, with the clouds removed. GeoTIFF (use the {{cmd|r.in.gdal}} module)&lt;br /&gt;
&lt;br /&gt;
== Climatic data ==&lt;br /&gt;
&lt;br /&gt;
=== OGC WCS - Albedo example ===&lt;br /&gt;
&lt;br /&gt;
TODO: update this example e.g. to http://demo.mapserver.org/cgi-bin/wcs?SERVICE=wcs&amp;amp;VERSION=1.0.0&amp;amp;REQUEST=GetCapabilities&lt;br /&gt;
&lt;br /&gt;
GRASS imports OGC Web Coverage Service data. Example server (please suggest a better one!)&lt;br /&gt;
  &amp;lt;WCS_GDAL&amp;gt;&lt;br /&gt;
  &amp;lt;ServiceURL&amp;gt;http://laits.gmu.edu/cgi-bin/NWGISS/NWGISS?&amp;lt;/ServiceURL&amp;gt;&lt;br /&gt;
  &amp;lt;CoverageName&amp;gt;AUTUMN.hdf&amp;lt;/CoverageName&amp;gt;&lt;br /&gt;
  &amp;lt;Timeout&amp;gt;90&amp;lt;/Timeout&amp;gt;&lt;br /&gt;
  &amp;lt;Resample&amp;gt;nearest&amp;lt;/Resample&amp;gt;&lt;br /&gt;
  &amp;lt;/WCS_GDAL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save this as albedo.xml. Import into a LatLong WGS84 location:&lt;br /&gt;
  r.in.gdal albedo.xml out=albedo&lt;br /&gt;
&lt;br /&gt;
Unfortunately this server sends out the map shifted by 0.5 pixel. This requires a fix to the map boundary coordinates:&lt;br /&gt;
  r.region albedo n=90 s=-90 w=-180 e=180&lt;br /&gt;
&lt;br /&gt;
Now apply color table and look at the map:&lt;br /&gt;
  r.colors albedo color=byr&lt;br /&gt;
  d.mon x0&lt;br /&gt;
  d.rast albedo&lt;br /&gt;
&lt;br /&gt;
=== SNODAS maps ===&lt;br /&gt;
&lt;br /&gt;
[http://nsidc.org/data/docs/noaa/g02158_snodas_snow_cover_model/index.html Snow Data Assimilation System] data that support hydrological modeling and analysis. First download the data, and untar them (once for each month, and once for each day), and you should get pairs of “.dat” and “.Hdr” files. The data files are stored in flat 16-bit binary format, so assuming that “snowdas_in.dat” is the name of the input file, at the GRASS prompt:&lt;br /&gt;
&lt;br /&gt;
   r.in.bin -bs bytes=2 rows=3351 cols=6935 north=52.874583333332339 \&lt;br /&gt;
   south=24.949583333333454 east=-66.942083333334011 west=-124.733749999998366 \&lt;br /&gt;
   anull=-9999 input=snowdas_input.dat output=snowdas&lt;br /&gt;
&lt;br /&gt;
=== CHELSA climate maps ===&lt;br /&gt;
	&lt;br /&gt;
CHELSA – Climatologies at high resolution for the earth’s land surface areas is a high resolution (30 arc sec) climate data set for the earth land surface areas currently under development, see http://chelsa-climate.org/&lt;br /&gt;
&lt;br /&gt;
Version 1.1 has some coordinate issues originating from SAGA being used (coordinate precision issue), see http://chelsa-climate.org/known-issues/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
# WARNING: dirty hack - Better wait for the new release V1.2 of CHELSA!&lt;br /&gt;
&lt;br /&gt;
for i in `ls /scratch/chelsa_climate/*.zip` ; do&lt;br /&gt;
   unzip $i&lt;br /&gt;
   NAME=`basename $i .zip`&lt;br /&gt;
   gdal_translate --config GDAL_CACHEMAX 2000 -a_ullr -180 84 180 -90 -co &amp;quot;COMPRESS=DEFLATE&amp;quot; $NAME.tif ${NAME}_fixed.tif&lt;br /&gt;
   rm -f $NAME.tif&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== WorldClim maps ===&lt;br /&gt;
&lt;br /&gt;
[http://www.worldclim.org/ WorldClim] is a set of global climate layers (climate grids) with a spatial resolution of a square kilometer. Besides long-term average climate layers (representing the period 1950 - 2000) it also includes projections for future conditions based on downscaled global climate model (GCM) data from CMIP5 (IPPC Fifth Assessment) and projections of past conditions (downscaled global climate model output).&lt;br /&gt;
* Load into a Lat/Lon WGS84 location (EPSG:4326)&lt;br /&gt;
* The data set is provided in two formats: BIL and ESRI Grd. Import with {{cmd|r.in.bin}} or {{cmd|r.in.gdal}}. Version 1.4 has some coordinate issues:&lt;br /&gt;
&lt;br /&gt;
a) BIL: binary format is 2 byte integer. Multiply by 10 using {{cmd|r.mapcalc}} to convert units. See http://www.worldclim.org/format.htm for more information and the [[MODIS]] help page for example of converting raw to data units. Note that the file header is missing a line. To fix:&lt;br /&gt;
&lt;br /&gt;
 # fix WorldClim's BIL; tmean example&lt;br /&gt;
 for i in $(seq 1 12); do echo “PIXELTYPE SIGNEDINT” &amp;gt;&amp;gt;tmean$i.hdr; done&lt;br /&gt;
&lt;br /&gt;
b) ESRI grd files: Note that the WorldClim ESRI grd files suffer from a quality issue of coordinate precision. See [https://lists.osgeo.org/pipermail/grass-user/2011-January/059358.html here] for a solution.&lt;br /&gt;
&lt;br /&gt;
 # fix WorldClim's ESRI Grd; tmean example&lt;br /&gt;
 export GDAL_CACHEMAX=2000&lt;br /&gt;
 mkdir -p ~/tmp/&lt;br /&gt;
 # fix broken WorldClim files, see https://lists.osgeo.org/pipermail/grass-user/2011-January/059358.html&lt;br /&gt;
 # note: 60S, not 90S&lt;br /&gt;
 for i in $(seq 1 12); do gdal_translate -a_ullr -180 90 180 -60 tmean_$i $HOME/tmp/tmean_${i}_fixed.tif; done&lt;br /&gt;
 #&lt;br /&gt;
 # import&lt;br /&gt;
 for i in $(seq 1 12) ; do r.in.gdal input=$HOME/tmp/tmean_${i}_fixed.tif out=tmp --o ; g.region raster=tmp -p ; r.mapcalc &amp;quot;tmean_${i} = 0.1 * tmp&amp;quot; --o ; r.colors tmean_${i} color=celsius ; done&lt;br /&gt;
 #&lt;br /&gt;
 # clean up&lt;br /&gt;
 g.remove raster name=tmp -f&lt;br /&gt;
 rm -f ~/tmp/tmean_?_fixed.tif ; rm -f ~/tmp/tmean_??_fixed.tif&lt;br /&gt;
&lt;br /&gt;
=== Africlim maps ===&lt;br /&gt;
&lt;br /&gt;
[https://www.york.ac.uk/environment/research/kite/resources/ Africlim] provides four baseline data sets for current climate, including:&lt;br /&gt;
* CRU CL 2.0&lt;br /&gt;
* WorldClim v1.4&lt;br /&gt;
* TAMSAT TARCAT v2.0 (rainfall only)&lt;br /&gt;
* CHIRPS v1.8 (rainfall only). &lt;br /&gt;
&lt;br /&gt;
It furthermore provides data sets with projections of future climates based on combinations of ten general circulation models (GCMs), downscaled using five regional climate models (RCMs) and the four above mentioned contemporary baselines, under two representative concentration pathways of the IPCC-AR5 (RCP4.5 and RCP8.5). The data layers are available as GeoTIF files at spatial resolutions of 10', 5', 2.5', 1' and 30&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Population maps ==&lt;br /&gt;
&lt;br /&gt;
=== WorldPop ===&lt;br /&gt;
&lt;br /&gt;
* http://www.worldpop.org.uk/&lt;br /&gt;
&lt;br /&gt;
=== Gridded Population of the World ===&lt;br /&gt;
&lt;br /&gt;
* http://sedac.ciesin.columbia.edu/gpw/global.jsp&lt;br /&gt;
&lt;br /&gt;
Import with {{cmd|r.in.gdal}}, assign population color table with {{cmd|r.colors}}&lt;br /&gt;
&lt;br /&gt;
== Topographic maps ==&lt;br /&gt;
=== Soviet topographic maps ===&lt;br /&gt;
&lt;br /&gt;
* [http://en.poehali.org/maps Soviet topographic maps] as geocoded GeoTIFFs&lt;br /&gt;
&lt;br /&gt;
= Vector data =&lt;br /&gt;
&lt;br /&gt;
=== Natural Earth ===&lt;br /&gt;
&lt;br /&gt;
*  http://www.naturalearthdata.com/ data scaled for 1:10 million, 1:50 million and 1:110million&lt;br /&gt;
&lt;br /&gt;
=== CDC Geographic Boundary and Public Health Maps ===&lt;br /&gt;
&lt;br /&gt;
* http://www.cdc.gov/epiinfo/maps.htm&lt;br /&gt;
&lt;br /&gt;
=== Global Administrative Areas ===&lt;br /&gt;
&lt;br /&gt;
* GADM is a database of the location of the world's administrative areas (boundaries) available in shapefiles.&lt;br /&gt;
: http://gadm.org (extracted by country [http://gadm.org/country here])&lt;br /&gt;
&lt;br /&gt;
* World Borders Dataset including ISO 3166-1 Country codes available in shapefiles.&lt;br /&gt;
: http://thematicmapping.org/downloads/world_borders.php&lt;br /&gt;
* Free GIS data from Mapping Hacks&lt;br /&gt;
: http://mappinghacks.com/data/&lt;br /&gt;
&lt;br /&gt;
=== GSHHS World Coastline ===&lt;br /&gt;
&lt;br /&gt;
GSHHS is a high resolution shoreline dataset. It is derived from data in the public domain and licensed as GPL. The shorelines are constructed entirely from hierarchically arranged closed polygons. It is closely linked to the [[GMT]] project.&lt;br /&gt;
&lt;br /&gt;
==== Availability ====&lt;br /&gt;
&lt;br /&gt;
* Download the original data set from http://www.soest.hawaii.edu/pwessel/gshhg/index.html. Also available at http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhg/latest/.&lt;br /&gt;
&lt;br /&gt;
* The data set, or parts from it, can be extracted from [http://www.ngdc.noaa.gov/mgg/shorelines/shorelines.html NOAA's shoreline extractor].&lt;br /&gt;
:For GRASS 6 you can download 1:250,000 shoreline data from NOAA's site in Mapgen format, which can be imported with the {{cmd|v.in.mapgen}} module.&lt;br /&gt;
&lt;br /&gt;
* '''ESRI Shapefiles''' of the latest version are available at http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhg/latest/. The old 1.6 version is available at ftp://ftp.ihg.uni-duisburg.de/GIS/GISData/GSHHS/.&lt;br /&gt;
&lt;br /&gt;
==== Import ====&lt;br /&gt;
&lt;br /&gt;
* Import with the GRASS6 add-on module {{AddonCmd|v.in.gshhs}}&lt;br /&gt;
&lt;br /&gt;
=== OpenStreetMap ===&lt;br /&gt;
&lt;br /&gt;
See the [[OpenStreetMap]] wiki page.&lt;br /&gt;
&lt;br /&gt;
=== SALB ===&lt;br /&gt;
&lt;br /&gt;
Second Administrative Level Boundaries: ''&amp;quot;The SALB dataset is a global digital dataset consisting of digital maps and codes that can be downloaded on a country by country basis.&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
* http://www.who.int/whosis/database/gis/salb/salb_home.htm&lt;br /&gt;
&lt;br /&gt;
=== VMap0 ===&lt;br /&gt;
&lt;br /&gt;
1:1 million vector data. Formerly known as ''Digital Chart of the World''&lt;br /&gt;
&lt;br /&gt;
* see the two articles in [http://grass.osgeo.org/newsletter/index.php ''GRASS Newsletter vol. 3 (June 2005)'']&lt;br /&gt;
&lt;br /&gt;
Check the [http://en.wikipedia.org/wiki/Vector_Map Wikipedia page] on VMAP, see the links at the bottom of that article to shapefile versions of VMAP0 and VMAP1.  Those look like the versions that were, several years ago, on a NIMA (predecessor to NGA, and successor to the Defense Mapping Agency that managed the Digital Chart of the World and VMAP project) Website.  Many GRASS users may prefer the shapefiles to the original Vector Product Format data.&lt;br /&gt;
&lt;br /&gt;
* [http://gis-lab.info/qa/vmap0-eng.html VMap0 data in ESRI shape format]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [http://spatial-analyst.net/wiki/index.php?title=Global_datasets Global datasets] list by T. Hengl (with dataset download)&lt;br /&gt;
* http://freegisdata.rtwilson.com/&lt;br /&gt;
* The FreeGIS.org database:  http://www.freegis.org/database/&lt;br /&gt;
* http://finder.geocommons.com/&lt;br /&gt;
* http://wiki.openstreetmap.org/wiki/Potential_Datasources&lt;br /&gt;
* http://www.geonames.org/data-sources.html&lt;br /&gt;
* [http://ckan.net/tag/read/geo Open Knowledge Foundation link collection]&lt;br /&gt;
* [http://openweathermap.org/ Open Weather Map]  free weather data and forecast API suitable for any cartographic services like web and smartphones applications. Ideology is inspired by OpenStreetMap and Wikipedia that make information free and available for everybody. &lt;br /&gt;
&lt;br /&gt;
=== Metadata Catalogues ===&lt;br /&gt;
Catalog Service for the Web (CSW) is an OGC standard for offering access to catalogues of geospatial information over the Internet (HTTP). CSW allow for discovering, browsing, and querying metadata about data, services, and similar resources. A list of Metadata Catalogues / CSW services from member states of the European Union can be found here:&amp;lt;br /&amp;gt;&lt;br /&gt;
* [http://inspire-geoportal.ec.europa.eu/INSPIRERegistry/ http://inspire-geoportal.ec.europa.eu/INSPIRERegistry/]&amp;lt;br /&amp;gt;&lt;br /&gt;
And here: [http://inspire-geoportal.ec.europa.eu/discovery/ http://inspire-geoportal.ec.europa.eu/discovery/] one can search European Metadata Catalogues online.&lt;br /&gt;
&lt;br /&gt;
=== European datasets ===&lt;br /&gt;
&lt;br /&gt;
* [[European datasets]]&lt;br /&gt;
* [http://preview.grid.unep.ch/index3.php?preview=data&amp;amp;lang=eng Global Risk Data Platform]&lt;br /&gt;
* [http://open-data.europa.eu/open-data/data/ European Commission Opendata Portal]: 5800+ datasets&lt;br /&gt;
* [http://eca.knmi.nl/download/ensembles/download.php E-OBS] This is the download page for the ENSEMBLES daily gridded observational dataset for precipitation, temperature and sea level pressure in Europe&lt;br /&gt;
* [http://mars.jrc.ec.europa.eu/mars/About-us/AGRI4CAST/Data-distribution MARS @ JRC] Temperature, vapour pressure, rainfall, relative humidity, cloud cover, solar radiation, wind speed.&lt;br /&gt;
* [http://www.efas.eu/ EFAS @ JRC] is a High resolution pan-European dataset for hydrologic modelling.&lt;br /&gt;
* [http://data.jrc.ec.europa.eu/ JRC Data Portal] In this catalogue, you can find an inventory of data that produced by the JRC in accordance with the JRC data policy. The content is continuously updated and shall not be seen as a complete inventory of JRC data. Currently, the inventory describes only a small subset of JRC data.&lt;br /&gt;
&lt;br /&gt;
=== National datasets ===&lt;br /&gt;
&lt;br /&gt;
* [http://asdd.ga.gov.au/asdd/tech/zap/basic.html Australian Spatial Data Directory]&lt;br /&gt;
* [http://aekos.org.au/home Australian Ecological Knowledge and Observation System]&lt;br /&gt;
* [http://wiki.gfoss.it/index.php/GIS_Open_Data Italian Geodata collection]&lt;br /&gt;
* [http://koordinates.com/ New Zealand] data from Koordinates.com&lt;br /&gt;
* United States from NOAA/USGSs data portal (FIXME: link?)&lt;br /&gt;
* [http://geodata.gov.gr/geodata/ Greek Public Geodata] (in Greek)&lt;br /&gt;
&lt;br /&gt;
=== Various datasets worldwide ===&lt;br /&gt;
&lt;br /&gt;
* [http://geospatial.edublogs.org/ GEOSPATIAL DATA REPORT]: Finding and Using GIS Data&lt;br /&gt;
* [http://www.edenextdata.com/?q=data Edenext data portal]: Land Cover, Transport networks, Elevation, Orthoimagery, Human health and safety, Species Distribution, Atmospheric Conditions and Meteorological Geographical Features, Training Program Presentations and Data, Utility and governmental services, Hydrography, Soil, Bio geographical regions, Population distribution and Demographics&lt;br /&gt;
* [http://gdex.cr.usgs.gov/gdex/ Global Data Explorer USGS]: ASTER, SRTM, GTOPO etc&lt;br /&gt;
* [http://www.landcover.org/ landcover]&lt;br /&gt;
* [http://www.gripweb.org/gripweb/?q=data-information GRIPWEB’s Data &amp;amp; Informational Portal]: hazard &amp;amp; risk&lt;br /&gt;
* [http://sedac.ciesin.columbia.edu/data/sets/browse SEDAC]: Agriculture, Climate, Conservation, Framework Data, Governance, Hazards, Health, Infrastructure, Land Use, Marine and Coastal, Population, Poverty, Remote Sensing, Sustainability, Urban, Water&lt;br /&gt;
* [http://www.preventionweb.net/english/professional/maps/?pid:6&amp;amp;pih:2 Prevention Web]: hazard &amp;amp; risk&lt;br /&gt;
* [http://data.un.org/Default.aspx UNdata]: UN database&lt;br /&gt;
* [http://www.undp.org/content/undp/en/home.html UNDP home page]&lt;br /&gt;
* [http://www.cgiar-csi.org/data global climatic data]&lt;br /&gt;
* [http://csi.cgiar.org/cgiargeospatialtools.asp cosortium for spatial information CGIAR-CSI GeoSpatial Toolkits]&lt;br /&gt;
* [http://freegisdata.rtwilson.com/ Links to over 300 sites providing freely available geographic datasets]&lt;br /&gt;
* [http://www.diva-gis.org/Data Free Spatial Data]&lt;br /&gt;
* [http://edc2.usgs.gov/glcc/globe_int.php Global Land Cover Characteristics Data Base Version 2.0]&lt;br /&gt;
* [http://opentopo.sdsc.edu/gridsphere/gridsphere?cid=datasets A Portal to High-Resolution Topography Data and Tools]&lt;br /&gt;
* [http://www.metoffice.gov.uk/hadobs/hadghcnd/ HadGHCND] is a gridded daily temperature dataset based upon near-surface maximum (TX) and minimum (TN) temperature observations.&lt;br /&gt;
&lt;br /&gt;
=== WMS servers ===&lt;br /&gt;
&lt;br /&gt;
* See [[WMS]] page&lt;br /&gt;
&lt;br /&gt;
=== River discharge data ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.bafg.de/GRDC/EN/Home/homepage_node.html Global Runoff Data Centre]&lt;br /&gt;
* [http://www.sage.wisc.edu/riverdata/ Global River Discharge Database]&lt;br /&gt;
* [http://csdms.colorado.edu/wiki/River_discharge_data CSDMS]&lt;br /&gt;
&lt;br /&gt;
[[Category: Geodata]]&lt;br /&gt;
[[Category: Import]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Global_datasets&amp;diff=25210</id>
		<title>Global datasets</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Global_datasets&amp;diff=25210"/>
		<updated>2018-04-14T11:03:42Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* SoilGrids.org 250m soil taxonomy map */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Raster data =&lt;br /&gt;
&lt;br /&gt;
== Elevation data ==&lt;br /&gt;
&lt;br /&gt;
=== ASTER topography (GDEM V1) ===&lt;br /&gt;
&lt;br /&gt;
Improved ASTER GDEM 1 from 2009:&lt;br /&gt;
&lt;br /&gt;
GDEM global 30m elevation calculated from stereo-pair images collected by the Terra satellite.&lt;br /&gt;
''&amp;quot;This is the most complete, consistent global digital elevation data yet made available to the world.&amp;quot;''&lt;br /&gt;
This is a very new dataset, at version 1  (treat as ''experimental''). Accuracy will be improved in forthcoming versions (validation with SRTM, etc.; [http://blog.neteler.org/aster-gdem-30m-quality-assessment/ see assessment here] and [http://www.viewfinderpanoramas.org/reviews.html#aster here]).&lt;br /&gt;
&lt;br /&gt;
* ''[https://lpdaac.usgs.gov/lpdaac/about/news_archive/monday_june_22_20092 pre-release announcement]''&lt;br /&gt;
* [http://www.nasa.gov/home/hqnews/2009/jun/HQ_09-150_ASTER_Topographic_Map.html NASA press release]&lt;br /&gt;
* [https://wist.echo.nasa.gov/~wist/api/imswelcome/ Warehouse Inventory Search Tool] or [http://www.gdem.aster.ersdac.or.jp/search.jsp Easy search tool] (Data download)&lt;br /&gt;
&lt;br /&gt;
'''Tutorial:''' [[ASTER topography]]&lt;br /&gt;
&lt;br /&gt;
''See also: [http://blog.neteler.org/aster-gdem-30m-quality-assessment/ ASTER GDEM 30m quality assessment]''&lt;br /&gt;
&lt;br /&gt;
=== ASTER topography (GDEM V2) ===&lt;br /&gt;
&lt;br /&gt;
Improved ASTER GDEM 2 from 2011:&lt;br /&gt;
* https://lpdaac.usgs.gov/products/aster_products_table/astgtm&lt;br /&gt;
&lt;br /&gt;
The ASTER GDEM covers land surfaces between 83°N and 83°S and is comprised of 22,702 tiles.  Tiles that contain at least 0.01% land area are included.  The ASTER GDEM is distributed as Geographic Tagged Image File Format (GeoTIFF) files with geographic coordinates (latitude, longitude).  The data are posted on a '''1 arc-second''' (approximately '''30–m at the equator''') grid and referenced to the 1984 World Geodetic System (WGS84)/ 1996 Earth Gravitational Model (EGM96) geoid. &lt;br /&gt;
&lt;br /&gt;
'''Notes:''' this DEM can be rather well filtered and smoothed with the [http://personalpages.manchester.ac.uk/staff/neil.mitchell/mdenoise/ Sun's denoising algorithm] (using GDAL and free / open source program &amp;lt;mdenoise&amp;gt; or simply GRASS add-on {{AddonCmd|r.denoise}}.&lt;br /&gt;
&lt;br /&gt;
Experiments showed that the best smoothing of ASTER GDEM 2 is reached with such parameters of &amp;lt;mdenoise&amp;gt;:&lt;br /&gt;
* threshold = 0.8&lt;br /&gt;
* iterations = 10-20&lt;br /&gt;
&lt;br /&gt;
Also filtering with {{cmd|r.neighbors}} by &amp;quot;average&amp;quot; method and window size &amp;gt;=5 is quite useful to remove some noise from DEM.&lt;br /&gt;
&lt;br /&gt;
''See also: [http://www.isprs2012.org/abstract/299.asp Validation of the ASTER Global Digital Elevation Model Version 2 over the Conterminous United States]''&lt;br /&gt;
&lt;br /&gt;
=== ACE2 ===&lt;br /&gt;
&lt;br /&gt;
The ACE2 Global Digital Elevation Model is available at 3&amp;quot;, 30&amp;quot; and 5' spatial resolutions.&lt;br /&gt;
&lt;br /&gt;
* http://tethys.eaprs.cse.dmu.ac.uk/ACE2/&lt;br /&gt;
&lt;br /&gt;
Import example:&lt;br /&gt;
  r.in.bin -f input=&amp;quot;00N105E_3S.ACE2&amp;quot; output=&amp;quot;ACE2_00N105E&amp;quot; bytes=4 \&lt;br /&gt;
           order=&amp;quot;native&amp;quot; north=15 south=0 east=120 west=105 \&lt;br /&gt;
           rows=18000 cols=18000&lt;br /&gt;
&lt;br /&gt;
=== CleanTOPO2 (DEM) ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.shadedrelief.com/cleantopo2/ CleanTOPO2 download]: Edited SRTM30 Plus World Elevation Data&lt;br /&gt;
&lt;br /&gt;
Import in GRASS:&lt;br /&gt;
  r.in.gdal CleanTOPO2.tif out=cleanTOPO2.tmp -l -o&lt;br /&gt;
  g.region rast=cleanTOPO2  -p -g&lt;br /&gt;
  # rescale from odd integer values to true world values&lt;br /&gt;
  r.rescale cleanTOPO2.tmp out=cleanTOPO2 to=-10701,8248&lt;br /&gt;
  r.colors cleanTOPO2_final col=terrain&lt;br /&gt;
&lt;br /&gt;
[[Image:CleanTOPO2_map.png|thumb|center|300px|Rescaled ClearTOPO2 map]]&lt;br /&gt;
&lt;br /&gt;
=== EGM2008 Geoid Data (Earth Gravitational Model) ===&lt;br /&gt;
&lt;br /&gt;
Global 2.5 Minute Geoid Undulations:&lt;br /&gt;
* download GIS Format at http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008/egm08_gis.html&lt;br /&gt;
&lt;br /&gt;
[[Image:Trentino_egm2008_map_5m_resampled.jpg|thumb|center|300px|Geoid undulations in Trentino, Italy]]&lt;br /&gt;
&lt;br /&gt;
Verifications of points can be done with the http://geographiclib.sourceforge.net/cgi-bin/GeoidEval&lt;br /&gt;
&lt;br /&gt;
=== ETOPO (DEM) ===&lt;br /&gt;
&lt;br /&gt;
The ETOPO datasets provide global topography and bathymetry at 1', 2', and 5' per-cell resolutions.&lt;br /&gt;
&lt;br /&gt;
==== ETOPO1 (DEM) ====&lt;br /&gt;
&lt;br /&gt;
* http://www.ngdc.noaa.gov/mgg/global/&lt;br /&gt;
&lt;br /&gt;
* '''The ''cell registered'' version can be loaded directly into a lat/lon location'''. GRASS raster data is cell registered (see the [[GRASS raster semantics]] page)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Special care must be taken with the ''grid registered'' version. It can not be loaded directly into a lat/lon location as the parameters found in the .hdr file exceed the limits of polar coordinate space: they have N,S rows which go 1/2 a cell beyond 90 latitude, when considered in the ''cell registered'' convention.&lt;br /&gt;
: So the data needs to have those 90deg N,S rows cropped away, and while we're at it we crop away a redundant overlapping column at 180 longitude. To do this we have to first tell the GIS a little fib during import to squeeze the data into lat/lon space, then crop away the spurious rows and column, then finally reset the resulting map's bounds to its true extent.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 # Import grid registered binary float, fibbing about its true extent&lt;br /&gt;
 r.in.bin -f in=etopo1_bed_g.flt out=etopo1_bed_g.raw \&lt;br /&gt;
    n=90 s=-90 e=180 w=-180 rows=10801 cols=21601 anull=-9999&lt;br /&gt;
 &lt;br /&gt;
 # reduce the working region by 1 cell&lt;br /&gt;
 g.region rast=etopo1_bed_g.raw&lt;br /&gt;
 eval `g.region -g`&lt;br /&gt;
 g.region n=n-$nsres s=s+$nsres e=e-$ewres -p&lt;br /&gt;
 &lt;br /&gt;
 # save smaller raster and remove original&lt;br /&gt;
 r.mapcalc &amp;quot;etopo1_bed_g.crop = etopo1_bed_g.raw&amp;quot;&lt;br /&gt;
 g.remove etopo1_bed_g.raw&lt;br /&gt;
&lt;br /&gt;
 # re-establish the correct bounds, now that they'll fit&lt;br /&gt;
 r.region etopo1_bed_g.crop n=89:59:30N s=89:59:30S w=179:59:30E e=179:59:30E&lt;br /&gt;
 g.region rast=etopo1_bed_g.crop&lt;br /&gt;
&lt;br /&gt;
 # check that N,S,E,W and Res are all nice and clean:&lt;br /&gt;
 r.info etopo1_bed_g.crop&lt;br /&gt;
&lt;br /&gt;
 # looks good, so accept the results by resetting the map name&lt;br /&gt;
 g.rename etopo1_bed_g.crop,etopo1_bed_g&lt;br /&gt;
&lt;br /&gt;
 # set to use appropriate color rules&lt;br /&gt;
 r.colors etopo1_bed_g color=etopo2&lt;br /&gt;
&lt;br /&gt;
 # set the 'units' metadata field (for elevation data contained within the map)&lt;br /&gt;
 r.support etopo1_bed_g units=meters&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* For the problematic ''grid registered'' version, the resulting {{cmd|r.info}} report should look like:&lt;br /&gt;
 |   Rows:         10799                                                      |&lt;br /&gt;
 |   Columns:      21600                                                      |&lt;br /&gt;
 |   Total Cells:  233258400                                                  |&lt;br /&gt;
 |        Projection: Latitude-Longitude                                      |&lt;br /&gt;
 |            N:  89:59:30N    S:  89:59:30S   Res:  0:01                     |&lt;br /&gt;
 |            E: 179:59:30E    W: 179:59:30E   Res:  0:01                     |&lt;br /&gt;
 |   Range of data:    min = -10898  max = 8271                               |&lt;br /&gt;
(the east and west bounds of the map touch 1/2 a cell west of 180 longitude)&lt;br /&gt;
&lt;br /&gt;
* For the problematic ''grid registered'' version, since the data's grid is 1/2 a cell shifted from nicely rounded 1 arc-minutes (0:01), you'll need to ensure that the mapset's region preserves that alignment after zooming or panning:&lt;br /&gt;
 g.region align=etopo1_bed_g -p&lt;br /&gt;
: (or oversample and set the region resolution to 1/2 arc-minutes (0:00:30), which will be four times as slow)&lt;br /&gt;
&lt;br /&gt;
==== ETOPO2 (DEM) ====&lt;br /&gt;
&lt;br /&gt;
* See the ETOPO2 (2' global) article by M.H. Bowman in the [http://grass.osgeo.org/newsletter/GRASSNews_vol1.pdf GRASS Newsletter, 1:8-11, August 2004].&lt;br /&gt;
: [http://www.ngdc.noaa.gov/mgg/fliers/01mgg04.html ETOPO2v2 data download] (take for example the ETOPO2v2g_f4_LSB.flt file)&lt;br /&gt;
&lt;br /&gt;
=== GTOPO30 (DEM) ===&lt;br /&gt;
&lt;br /&gt;
* Data [http://eros.usgs.gov/#/Find_Data/Products_and_Data_Available/gtopo30_info download] - Import with {{cmd|r.in.gdal}}.&lt;br /&gt;
&lt;br /&gt;
''Note:'' To avoid that the GTOPO30 data are read incorrectly, you can add a new line &amp;quot;PIXELTYPE SIGNEDINT&amp;quot; in the .HDR to force interpretation of the file as signed rather than unsigned integers. Then the .DEM file can be imported. Finally, e.g. the 'terrain' color table can be assigned to the imported map with r.colors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Global Multi-resolution Terrain Elevation Data 2010 (GMTED2010) ===&lt;br /&gt;
&lt;br /&gt;
* Data download: [https://lta.cr.usgs.gov/GMTED2010 Web] and [http://topotools.cr.usgs.gov/GMTED_viewer/gmted2010_global_grids.php FTP] - Import with {{cmd|r.in.gdal}}. See also [https://erouault.blogspot.de/2011/12/seamless-access-to-remote-global-multi.html related GDAL blog post]&lt;br /&gt;
&lt;br /&gt;
Tiles: Import of GMTED2010 tiles in GRASS GIS:&lt;br /&gt;
&lt;br /&gt;
  r.in.gdal 30N000E_20101117_gmted_mea075.tif out=gmted2010_30N000E_20101117&lt;br /&gt;
  r.colors gmted2010_30N000E_20101117 color=elevation&lt;br /&gt;
  g.region rast=gmted2010_30N000E_20101117&lt;br /&gt;
  r.relief input=gmted2010_30N000E_20101117 output=gmted2010_30N000E_20101117.shade&lt;br /&gt;
  r.shade shade=gmted2010_30N000E_20101117.shade color=gmted2010_30N000E_20101117 \&lt;br /&gt;
   output=gmted2010_30N000E_20101117_shaded&lt;br /&gt;
  d.mon wx0&lt;br /&gt;
  d.rast gmted2010_30N000E_20101117_shaded&lt;br /&gt;
  d.grid 1 color=red textcolor=red&lt;br /&gt;
&lt;br /&gt;
[[Image:Gmted2010_30N000E_20101117_shaded.png|thumb|center|300px|GMTED2010 example: Trento - Garda Lake - Verona area (Northern Italy)]]&lt;br /&gt;
&lt;br /&gt;
Full maps:&lt;br /&gt;
&lt;br /&gt;
  # mean elevation global GMTED2010 map, 30 arc-sec&lt;br /&gt;
  wget http://edcintl.cr.usgs.gov/downloads/sciweb1/shared/topo/downloads/GMTED/Grid_ZipFiles/mn30_grd.zip&lt;br /&gt;
  unzip mn30_grd.zip&lt;br /&gt;
  &lt;br /&gt;
Important: the GMTED2010 map exceeds the -180°..+180° range due to the [https://pubs.usgs.gov/of/2011/1073/pdf/of2011-1073.pdf GMTED2010 pixel geometry] (PDF). Note that this cannot be handled in GRASS GIS &amp;lt; 7.4. Please update to GRASS GIS 7.4 or newer.&lt;br /&gt;
&lt;br /&gt;
=== GEBCO Bathymetric Chart ===&lt;br /&gt;
&lt;br /&gt;
* The General Bathymetric Chart of the Oceans (original 1' release 2003, new 1' and 30&amp;quot; releases 2008)&lt;br /&gt;
: http://www.gebco.net/data_and_products/gridded_bathymetry_data/&lt;br /&gt;
: http://www.bodc.ac.uk/data/online_delivery/gebco/&lt;br /&gt;
&lt;br /&gt;
{{cmd|r.in.gdal}} can be used to import the GMT netCDF files directly, or if that doesn't work you can use GMT tools to convert to an old-style native GMT format and import that with {{cmd|r.in.bin}}.&lt;br /&gt;
: example:  (GEBCO 2003 1' data)&lt;br /&gt;
&lt;br /&gt;
 # convert to an old style GMT binary .grd using grdreformat&lt;br /&gt;
 $ grdreformat 3n24s47w14w.grd 3n24s47w14w_Native.grd=bs&lt;br /&gt;
 &lt;br /&gt;
 # then import into GRASS,&lt;br /&gt;
 GRASS&amp;gt; r.in.bin -h -s bytes=2 in=3n24s47w14w_Native.grd out=3n24s47w14w&lt;br /&gt;
 &lt;br /&gt;
 # and set some nice colors&lt;br /&gt;
 GRASS&amp;gt; r.colors 3n24s47w14w rules=- &amp;lt;&amp;lt; EOF&lt;br /&gt;
 nv magenta&lt;br /&gt;
 0% black&lt;br /&gt;
 -7740 0:0:168&lt;br /&gt;
 0 84:176:248&lt;br /&gt;
 0 40:124:0&lt;br /&gt;
 522 68:148:24&lt;br /&gt;
 1407 148:228:108&lt;br /&gt;
 1929 232:228:108&lt;br /&gt;
 2028 232:228:92&lt;br /&gt;
 2550 228:160:32&lt;br /&gt;
 2724 216:116:8&lt;br /&gt;
 2730 grey&lt;br /&gt;
 2754 grey&lt;br /&gt;
 2760 252:252:252&lt;br /&gt;
 2874 252:252:252&lt;br /&gt;
 2883 192:192:192&lt;br /&gt;
 2913 192:192:192&lt;br /&gt;
 100% 252:252:252&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== Global Multi-Resolution Topography (GMRT DEM) ===&lt;br /&gt;
: ''From Columbia University's Lamont-Doherty Earth Observatory''&lt;br /&gt;
(it is reported that this is what Google Maps uses for their global bathymetry)&lt;br /&gt;
&lt;br /&gt;
* Global ~1 arc-second (~90 m) topography using multi-beam and satellite data in the oceans combined with SRTM on land.&lt;br /&gt;
* Full information at: http://www.marine-geo.org/portals/gmrt/&lt;br /&gt;
* Accessible via [http://www.geomapapp.org/ GeoMapApp] or [http://www.virtualocean.org/ Virtual Ocean] software.&lt;br /&gt;
* Very convenient to download into GRASS via wget:&lt;br /&gt;
&lt;br /&gt;
  export `g.region -g`&lt;br /&gt;
  wget &amp;quot;http://www.marine-geo.org/cgi-bin/getgridB?west=${w}&amp;amp;east=${e}&amp;amp;south=${s}&amp;amp;north=${n}&amp;amp;resolution=1&amp;quot; -O /tmp/test.grd&lt;br /&gt;
  r.in.gdal /tmp/test.grd output=GMRT -o&lt;br /&gt;
  rm /tmp/test.grd&lt;br /&gt;
&lt;br /&gt;
* Note: Downloaded file contains no projection information, but is EPSG:4326 (WGS84 Geographic).  The file size is limited, but lower resolution (resolution=2,4,8) data can be downloaded for larger areas.&lt;br /&gt;
&lt;br /&gt;
=== Smith and Sandwell DEM ===&lt;br /&gt;
&lt;br /&gt;
* Merge info here from the [[Marine Science]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SRTM DEM ===&lt;br /&gt;
&lt;br /&gt;
[http://www2.jpl.nasa.gov/srtm/ Space Shuttle Radar Topography Mission] - several SRTM Data Products are available:&lt;br /&gt;
* Original data - SRTM 3 V001 arc-seconds Non-Void Filled elevation data (US: 1 arc-second (approximately 30 meters); outside the US at 3 arc-seconds (approximately 90 meters))&lt;br /&gt;
* SRTM V003 3 Arc-Second Global Void Filled elevation data, with voids filled using interpolation algorithms in conjunction with other sources of elevation data  (US: 1 arc-second (approximately 30 meters); outside the US at 3 arc-seconds (approximately 90 meters))&lt;br /&gt;
** SRTM V3 tiles at 3 arc seconds resolution from: http://e4ftl01.cr.usgs.gov/SRTM/SRTMGL3.003/2000.02.11/ - or simply use {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
* '''SRTM V003 1 Arc-Second Global elevation data''' offer worldwide coverage of '''void filled''' data at a resolution of 1 arc-second (30 meters) and provide open distribution of this high-resolution global data set.&lt;br /&gt;
** [http://earthexplorer.usgs.gov/ EarthExplorer] can be used to search, preview, and download Shuttle Radar Topography Mission (SRTM) 1 Arc-Second Global data. The collections are located under the Digital Elevation category.&lt;br /&gt;
** FTP download: http://e4ftl01.cr.usgs.gov/SRTM/SRTMGL1.003/2000.02.11/ - or simply use {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
** Web-based [http://dwtkns.com/srtm30m/ 30-Meter SRTM Tile Downloader] (select from map)&lt;br /&gt;
&lt;br /&gt;
Import:&lt;br /&gt;
* Using {{cmd|r.in.gdal}} or {{cmd|r.import}} or {{cmd|r.in.srtm}} or {{AddonCmd|r.in.srtm.region}}&lt;br /&gt;
* see [[HOWTO import SRTM elevation data]], focused on the SRTM 3 arc-seconds Non-Void Filled elevation data&lt;br /&gt;
&lt;br /&gt;
=== SRTM30plus data DEM ===&lt;br /&gt;
&lt;br /&gt;
SRTM30plus data consists of 33 files of global topography in the same format as the SRTM30 products distributed by the USGS EROS data center. The grid resolution is 30 seconds which is roughly one kilometer (1 km).&lt;br /&gt;
&lt;br /&gt;
Land data are based on the 1-km averages of topography derived from the USGS SRTM30 grided DEM data product created with data from the NASA Shuttle Radar Topography Mission. GTOPO30 data are used for high latitudes where SRTM data are not available.&lt;br /&gt;
&lt;br /&gt;
Ocean data are based on the Smith and Sandwell global 2-minute grid between latitudes +/- 72 degrees. Higher resolution grids have been added from the LDEO Ridge Multibeam Synthesis Project and the NGDC Coastal Relief Model. Arctic bathymetry is from the International Bathymetric Chart of the Oceans (IBCAO).&lt;br /&gt;
&lt;br /&gt;
All data are derived from public domain sources and these data are also in the public domain.&lt;br /&gt;
&lt;br /&gt;
GRASS 6 script {{{cmd|r.in.srtm}}} described in GRASSNews vol. 3 won't work with this dataset (as it was made for the original SRTM HGT files). But you can import SRTM30plus tiles into GRASS this way:&lt;br /&gt;
&lt;br /&gt;
 r.in.bin -sb input=e020n40.Bathymetry.srtm output=e020n40_topex bytes=2 \&lt;br /&gt;
  north=40 south=-10 east=60 west=20 r=6000 c=4800&lt;br /&gt;
 r.colors e020n40_topex rules=etopo2&lt;br /&gt;
&lt;br /&gt;
; Source&lt;br /&gt;
: GRASS Users Mailing List http://lists.osgeo.org/pipermail/grass-user/2005-August/030063.html&lt;br /&gt;
; Getting as SRTM30plus tiles: ftp://topex.ucsd.edu/pub/srtm30_plus/srtm30/data/&lt;br /&gt;
; Getting as SRTM30plus huge file: ftp://topex.ucsd.edu/pub/srtm30_plus/topo30/&lt;br /&gt;
; SRTMPLUS WCS server: http://svn.osgeo.org/gdal/trunk/autotest/gdrivers/data/srtmplus.wcs (read with {{cmd|r.external}})&lt;br /&gt;
&lt;br /&gt;
=== SRTM Water Body Database SRTMSWBD V003 ===&lt;br /&gt;
&lt;br /&gt;
SRTM Water Body Database V003&lt;br /&gt;
* Format documentation: https://lpdaac.usgs.gov/dataset_discovery/measures/measures_products_table/srtmswbd_v003&lt;br /&gt;
* FTP raster data (30m res water bodies): http://e4ftl01.cr.usgs.gov/SRTM/SRTMSWBD.003/&lt;br /&gt;
&lt;br /&gt;
Import into GRASS GIS 7 (lat-long location):&lt;br /&gt;
 r.in.bin -sb input=N00E108.raw output=N00E108_swbd bytes=1 north=0 south=-10 east=108 west=98 r=3601 c=3601   &amp;lt;&amp;lt;= DRAFT - TODO fix n,s,e,w - calculate from filename&lt;br /&gt;
&lt;br /&gt;
== Soil data ==&lt;br /&gt;
&lt;br /&gt;
=== Harmonized World Soil Database (HWSD Database) ===&lt;br /&gt;
&lt;br /&gt;
Download: http://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/&lt;br /&gt;
&lt;br /&gt;
[http://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/DataDesc.html?sb=12 Spatial reference system:] [http://spatialreference.org/ref/epsg/4326/ EPSG:4326] (LatLong WGS84)&lt;br /&gt;
&lt;br /&gt;
Import:&lt;br /&gt;
 grass70 -c EPSG:4326 ~/grassdata/hwsd&lt;br /&gt;
 # -e: expand location to dataset; -o: override (missing) projection in input dataset:&lt;br /&gt;
 r.in.gdal input=hwsd.bil output=hwSoil -e -o&lt;br /&gt;
 g.region raster=hwSoil -p&lt;br /&gt;
 r.category hwSoil&lt;br /&gt;
&lt;br /&gt;
The data is distributed with an MSAccess .mdb which contains additional data for each of the categories in the raster file. Opening the file in access, the data is found in the query &amp;quot;HWSD_Q&amp;quot;. Save this query in .csv format (with a name like &amp;quot;HWSD_Q.csv&amp;quot;) so that it may then be imported into GRASS. After that, it is necessary to replace the commas with dots (find &amp;amp; replace) in the .csv file. Before you can import it, you also need a file &amp;quot;HWSD_Q.csvt&amp;quot;, which contains a single line listing the type for each column in the database:&lt;br /&gt;
 &amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;String&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Integer&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;,&amp;quot;Real&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With both the .csv and the .csvt file in the same directory, you can then import them into GRASS:&lt;br /&gt;
 db.in.ogr input=~/grassdata/hwsd/HWSD_Q.csv output=hwsdData&lt;br /&gt;
&lt;br /&gt;
The data cannot be connected directly to the raster, it must be converted to a vector first:&lt;br /&gt;
 g.region raster=hwSoil&lt;br /&gt;
 r.to.vect -v input=hwSoil output=hwSoil feature=area&lt;br /&gt;
 v.db.droptable hwSoil&lt;br /&gt;
 db.droptable -f hwSoil # delete the table completely&lt;br /&gt;
&lt;br /&gt;
Note that the table includes multiple rows for each polygon, corresponding&lt;br /&gt;
to the dominant and various numbers of subdominant soils. To select only&lt;br /&gt;
the dominant soil layer:&lt;br /&gt;
&lt;br /&gt;
 db.select table=hwsdData sql='select * from hwsdData where SEQ = 1' \&lt;br /&gt;
          output=domSoil.csv separator=,&lt;br /&gt;
&lt;br /&gt;
This saves a copy of the table that contains only the dominant soil type for each polygon as domSoil.csv. This needs to be reloaded into the GRASS database. Since it has the same columns as HWSD_Q.csv, we can use the labels for that file:&lt;br /&gt;
&lt;br /&gt;
 cp HWSD_Q.csvt domSoil.csvt&lt;br /&gt;
&lt;br /&gt;
Then we can load domSoil.csv:&lt;br /&gt;
&lt;br /&gt;
 db.in.ogr \&lt;br /&gt;
    input=~/grassdata/downloads/harmonized_world_soil_database/domSoil.csv \&lt;br /&gt;
    output=domSoil &lt;br /&gt;
&lt;br /&gt;
Now at last we can connect the database to the vector file:&lt;br /&gt;
&lt;br /&gt;
 v.db.connect -o map=hwsd table=domSoil driver=sqlite key=MU_GLOBAL&lt;br /&gt;
&lt;br /&gt;
To create a new raster map taking the values from the table:&lt;br /&gt;
 g.region raster=hwSoil  ## make sure we get the whole map&lt;br /&gt;
 v.to.rast in=hwSoil out=T_SAND col=T_SAND&lt;br /&gt;
&lt;br /&gt;
=== SoilGrids.org 250m soil taxonomy map ===&lt;br /&gt;
&lt;br /&gt;
SoilGrids is a system for automated soil mapping based on global soil profile and environmental covariate data. SoilGrids represents a collection of updatable soil property and class maps of the world at 1 km and 250 m spatial resolution produced using automated soil mapping based on machine learning algorithms. It aims at becoming OpenStreetMap and/or OpenWeatherMap for soil data. SoilGrids predictions are updated on a regular basis (at least every few months). For more details about the SoilGrids system, please refer to the SoilGrids project site: https://www.soilgrids.org/#/?layer=geonode:taxnwrb_250m&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
URL=ftp://ftp.soilgrids.org/data/recent/TAXNWRB_250m_ll.tif&lt;br /&gt;
&lt;br /&gt;
# the Soilgrids GeoTIFF data suffer from a resolution precision problem:&lt;br /&gt;
# resolution is stored as 0.002083333000000 while it should be 0.002083333333333, hence the geometry is not fully correct&lt;br /&gt;
# this likely originates from Soilgrids being processed in SAGA which cuts decimals after the 10th decimal place, hence comes with a precision problem &lt;br /&gt;
&lt;br /&gt;
export NAME=`basename $URL .tif`&lt;br /&gt;
wget $URL&lt;br /&gt;
&lt;br /&gt;
gdal_translate --config GDAL_CACHEMAX 2000 -a_ullr $COORDS -co &amp;quot;COMPRESS=DEFLATE&amp;quot; $NAME.tif ${NAME}_fixed.tif&lt;br /&gt;
gdalinfo ${NAME}_fixed.tif&lt;br /&gt;
&lt;br /&gt;
grass72 -c ${NAME}_fixed.tif ~/grassdata/latlong --exec r.import input=${NAME}_fixed.tif output=${NAME}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Starting with GRASS GIS 7.4.x, there is new flag in [https://grass.osgeo.org/grass74/manuals/r.in.gdal.html r.in.gdal] to auto-adjust such small resolution precision issues:&lt;br /&gt;
&lt;br /&gt;
== Landcover data ==&lt;br /&gt;
&lt;br /&gt;
=== ESA Globcover dataset ===&lt;br /&gt;
&lt;br /&gt;
Download: http://due.esrin.esa.int/page_globcover.php&lt;br /&gt;
&lt;br /&gt;
Or via command line:&lt;br /&gt;
 wget http://due.esrin.esa.int/files/Globcover2009_V2.3_Global_.zip&lt;br /&gt;
 unzip Globcover2009_V2.3_Global_.zip&lt;br /&gt;
 # rm -f Globcover2009_V2.3_Global_.zip&lt;br /&gt;
&lt;br /&gt;
Note, also a coloured version of the map in GeoTIFF format is available at: http://due.esrin.esa.int/files/GLOBCOVER_L4_200901_200912_V2.3.color.tif&lt;br /&gt;
&lt;br /&gt;
Unfortunately the Globcover map exceeds the -180°..+180° range etc, indicating a shift of the map (see also [http://www.cosmo-model.org/content/tasks/workGroups/wg3b/meetings/2012-soilveg/EXTPAR-GLOBCOVER.pdf this assessment by DWD]):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gdalinfo GLOBCOVER_L4_200901_200912_V2.3.tif&lt;br /&gt;
Driver: GTiff/GeoTIFF&lt;br /&gt;
Files: GLOBCOVER_L4_200901_200912_V2.3.tif&lt;br /&gt;
Size is 129600, 55800&lt;br /&gt;
Coordinate System is:&lt;br /&gt;
GEOGCS[&amp;quot;WGS 84&amp;quot;,&lt;br /&gt;
...&lt;br /&gt;
Origin = (-180.001388888888897,90.001388888888883)&lt;br /&gt;
...&lt;br /&gt;
Corner Coordinates:&lt;br /&gt;
Upper Left  (-180.0013889,  90.0013889) (180d 0' 5.00&amp;quot;W, 90d 0' 5.00&amp;quot;N)&lt;br /&gt;
Lower Left  (-180.0013889, -64.9986111) (180d 0' 5.00&amp;quot;W, 64d59'55.00&amp;quot;S)&lt;br /&gt;
Upper Right ( 179.9986111,  90.0013889) (179d59'55.00&amp;quot;E, 90d 0' 5.00&amp;quot;N)&lt;br /&gt;
Lower Right ( 179.9986111, -64.9986111) (179d59'55.00&amp;quot;E, 64d59'55.00&amp;quot;S)&lt;br /&gt;
Center      (  -0.0013889,  12.5013889) (  0d 0' 5.00&amp;quot;W, 12d30' 5.00&amp;quot;N)&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
How to fix this?&lt;br /&gt;
&lt;br /&gt;
'''Option 1:''' You can use the -l flag of {{cmd|r.in.gdal}} to constrain the map coordinates to legal values ([https://pvanb.wordpress.com/2011/05/10/importing-global-rasters-in-grass-gives-me-illegal-latitude-for-north-message/ ref]. But the resulting pixels will no longer have the original resolution. We will not do that.&lt;br /&gt;
&lt;br /&gt;
'''Option 2:''' Shift the Globcover map slightly into the right position using [http://www.gdal.org/gdal_translate.html gdal_translate]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# coords are shifted, fix raster map&lt;br /&gt;
# -a_ullr Assign/override the georeferenced bounds of the output file&lt;br /&gt;
# use larger cache and compress result&lt;br /&gt;
gdal_translate --config GDAL_CACHEMAX 1200 -a_ullr -180 90 180 -65 \&lt;br /&gt;
     -co &amp;quot;COMPRESS=LZW&amp;quot; GLOBCOVER_L4_200901_200912_V2.3.tif GLOBCOVER_L4_200901_200912_V2.3_fixed.tif&lt;br /&gt;
&lt;br /&gt;
# result:&lt;br /&gt;
gdalinfo GLOBCOVER_L4_200901_200912_V2.3_fixed.tif&lt;br /&gt;
...&lt;br /&gt;
Origin = (-180.000000000000000,90.000000000000000)&lt;br /&gt;
Pixel Size = (0.002777777777778,-0.002777777777778)&lt;br /&gt;
...&lt;br /&gt;
Corner Coordinates:&lt;br /&gt;
Upper Left  (-180.0000000,  90.0000000) (180d 0' 0.00&amp;quot;W, 90d 0' 0.00&amp;quot;N)&lt;br /&gt;
Lower Left  (-180.0000000, -65.0000000) (180d 0' 0.00&amp;quot;W, 65d 0' 0.00&amp;quot;S)&lt;br /&gt;
Upper Right ( 180.0000000,  90.0000000) (180d 0' 0.00&amp;quot;E, 90d 0' 0.00&amp;quot;N)&lt;br /&gt;
Lower Right ( 180.0000000, -65.0000000) (180d 0' 0.00&amp;quot;E, 65d 0' 0.00&amp;quot;S)&lt;br /&gt;
Center      (   0.0000000,  12.5000000) (  0d 0' 0.01&amp;quot;E, 12d30' 0.00&amp;quot;N)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voilà! Now we can import the map into GRASS GIS:&lt;br /&gt;
&lt;br /&gt;
 r.in.gdal input=GLOBCOVER_L4_200901_200912_V2.3_fixed.tif output=esa_globcover2009&lt;br /&gt;
&lt;br /&gt;
'''Legend conversion''': The ZIP file contains a XLS table describing the classes and the RGB colors. Using ogr2ogr can directly convert XLS --&amp;gt; CSV:&lt;br /&gt;
&lt;br /&gt;
 ogr2ogr -f CSV Globcover2009_Legend.csv Globcover2009_Legend.xls&lt;br /&gt;
&lt;br /&gt;
'''Applying the legend:'''&lt;br /&gt;
&lt;br /&gt;
 # suppress table header and only consider category value and label, apply on the fly:&lt;br /&gt;
 cat Globcover2009_Legend.csv | grep -v '^Value' | cut -d',' -f1-2 | r.category esa_globcover2009 separator=comma rules=-&lt;br /&gt;
 # verify (0E, 0N is the Atlantic Ocean)&lt;br /&gt;
 r.what esa_globcover2009 coor=0,0 -f&lt;br /&gt;
 0|0||210|Water bodies&lt;br /&gt;
&lt;br /&gt;
=== Global Forest Change ===&lt;br /&gt;
&lt;br /&gt;
* http://earthenginepartners.appspot.com/science-2013-global-forest &lt;br /&gt;
* Download info on: http://earthenginepartners.appspot.com/science-2013-global-forest/download_v1.3.html&lt;br /&gt;
&lt;br /&gt;
== Imagery ==&lt;br /&gt;
&lt;br /&gt;
=== AVHRR ===&lt;br /&gt;
&lt;br /&gt;
* see the [[AVHRR]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== Blue Marble imagery ===&lt;br /&gt;
&lt;br /&gt;
NASA's Blue Marble is a 500m-8 degree per-cell world wide visual image of the Earth from space, with the clouds removed.&lt;br /&gt;
&lt;br /&gt;
* see the [[Blue Marble]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== EO-1 imagery ===&lt;br /&gt;
&lt;br /&gt;
(Earth Observing-1)&lt;br /&gt;
* &amp;quot;''Advanced Land Imager (ALI) provides image data from ten spectral bands (band designations). The instrument operates in a pushbroom fashion, with a spatial resolution of 30 meters for the multispectral bands and 10 meters for the panchromatic band.''&amp;quot;&lt;br /&gt;
:-- http://eros.usgs.gov/products/satellite/eo1.php&lt;br /&gt;
* On-board Atmospheric Corrections&lt;br /&gt;
&lt;br /&gt;
=== Global Land Cover Characteristics ===&lt;br /&gt;
&lt;br /&gt;
USGS ''et al.'' generated dataset at 1km resolution. Provides global landcover characteristics.&lt;br /&gt;
&lt;br /&gt;
* see the [[Global Land Cover Characteristics]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== LANDSAT imagery ===&lt;br /&gt;
&lt;br /&gt;
Since October 1, 2008 all Landsat 7 ETM+ scenes held in the [http://landsat.usgs.gov/ USGS EROS archive] are available for download at no charge.&lt;br /&gt;
* Download via the [http://glovis.usgs.gov/ Glovis] online search tool (req. Java)&lt;br /&gt;
* Download via the USGS's [http://edcsns17.cr.usgs.gov/EarthExplorer/ EarthExplorer] interface&lt;br /&gt;
&lt;br /&gt;
==== Import Modules ====&lt;br /&gt;
&lt;br /&gt;
* {{cmd|r.in.gdal}} - Main import tool for complete multiband scenes&lt;br /&gt;
* {{cmd|r.in.wms}} - Download data covering current map region via WMS server&lt;br /&gt;
* [[GRASS_AddOns#r.in.onearth|r.in.onearth]] - WMS frontend for NASA's OnEarth Global Landsat Mosaic&lt;br /&gt;
&lt;br /&gt;
==== Color balancing modules ====&lt;br /&gt;
* {{cmd|i.landsat.rgb}} (GRASS 6.x) | {{cmd|i.colors.enhance|version=70}} (GRASS 7.x)  - Color balancing/enhancement tool&lt;br /&gt;
&lt;br /&gt;
==== See also ====&lt;br /&gt;
&lt;br /&gt;
* Processing tips can be found on the [[LANDSAT]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== ESA Sentinel imagery ===&lt;br /&gt;
&lt;br /&gt;
All Sentinel 1 and 2 data is available for download from the [https://scihub.copernicus.eu/ Open Access Hub]&lt;br /&gt;
&lt;br /&gt;
* via the [https://scihub.copernicus.eu/dhus/#/home online interactive interface]&lt;br /&gt;
* via the [https://scihub.copernicus.eu/twiki/do/view/SciHubWebPortal/APIHubDescription API]&lt;br /&gt;
&lt;br /&gt;
For pre-processing, different tools are available at&lt;br /&gt;
* http://step.esa.int/main/ Scientific Toolbox Exploitation Platform&lt;br /&gt;
* https://github.com/Fernerkundung/awesome-sentinel (&amp;quot;Awesome Sentinel&amp;quot; - list of tools)&lt;br /&gt;
&lt;br /&gt;
=== Miscellaneous ===&lt;br /&gt;
&lt;br /&gt;
==== Data sources ====&lt;br /&gt;
&lt;br /&gt;
* Some datasource links: http://www.ruf.rice.edu/~ben/gmt.html&lt;br /&gt;
* [http://www.geotorrent.org/browse.php Geotorrent.org]&lt;br /&gt;
&lt;br /&gt;
==== Import Modules ====&lt;br /&gt;
* The {{cmd|r.in.gdal}} modules may be used to import data of [http://www.gdal.org/formats_list.html many formats], including GMT netCDF&lt;br /&gt;
* The {{cmd|r.in.bin}} module may be used to import raw binary files&lt;br /&gt;
&lt;br /&gt;
=== MODIS imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the [[MODIS]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== Natural Earth imagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.naturalearthdata.com/ Natural Earth II]:  World environment map in natural color. GeoTIFF (use the {{cmd|r.in.gdal}} module)&lt;br /&gt;
* see also 1:10 million, 1:50 million and 1:110million scale maps from  http://www.naturalearthdata.com/&lt;br /&gt;
&lt;br /&gt;
=== Orthoimagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://worldwindcentral.com/wiki/Sources_of_free_orthoimagery Sources of free orthoimagery]&lt;br /&gt;
&lt;br /&gt;
=== Pathfinder AVHRR SST imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the Pathfinder [[AVHRR]] SST wiki page&lt;br /&gt;
&lt;br /&gt;
=== QuickBird imagery ===&lt;br /&gt;
&lt;br /&gt;
* See the [[QuickBird]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SeaWiFS imagery ===&lt;br /&gt;
&lt;br /&gt;
* see the [[SeaWiFS]] wiki page&lt;br /&gt;
&lt;br /&gt;
=== SPOT Vegetation imagery ===&lt;br /&gt;
&lt;br /&gt;
SPOT Vegetation (1km) global: NDVI data sets&lt;br /&gt;
&lt;br /&gt;
* [http://free.vgt.vito.be/ SPOT Vegetation (1km, global) NDVI data set server]&lt;br /&gt;
* for import, see {{cmd|i.in.spotvgt}}&lt;br /&gt;
&lt;br /&gt;
=== True Marble imagery ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.unearthedoutdoors.net/global_data/true_marble/download True Marble]: 250m world wide visual image of the Earth from space, with the clouds removed. GeoTIFF (use the {{cmd|r.in.gdal}} module)&lt;br /&gt;
&lt;br /&gt;
== Climatic data ==&lt;br /&gt;
&lt;br /&gt;
=== OGC WCS - Albedo example ===&lt;br /&gt;
&lt;br /&gt;
TODO: update this example e.g. to http://demo.mapserver.org/cgi-bin/wcs?SERVICE=wcs&amp;amp;VERSION=1.0.0&amp;amp;REQUEST=GetCapabilities&lt;br /&gt;
&lt;br /&gt;
GRASS imports OGC Web Coverage Service data. Example server (please suggest a better one!)&lt;br /&gt;
  &amp;lt;WCS_GDAL&amp;gt;&lt;br /&gt;
  &amp;lt;ServiceURL&amp;gt;http://laits.gmu.edu/cgi-bin/NWGISS/NWGISS?&amp;lt;/ServiceURL&amp;gt;&lt;br /&gt;
  &amp;lt;CoverageName&amp;gt;AUTUMN.hdf&amp;lt;/CoverageName&amp;gt;&lt;br /&gt;
  &amp;lt;Timeout&amp;gt;90&amp;lt;/Timeout&amp;gt;&lt;br /&gt;
  &amp;lt;Resample&amp;gt;nearest&amp;lt;/Resample&amp;gt;&lt;br /&gt;
  &amp;lt;/WCS_GDAL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save this as albedo.xml. Import into a LatLong WGS84 location:&lt;br /&gt;
  r.in.gdal albedo.xml out=albedo&lt;br /&gt;
&lt;br /&gt;
Unfortunately this server sends out the map shifted by 0.5 pixel. This requires a fix to the map boundary coordinates:&lt;br /&gt;
  r.region albedo n=90 s=-90 w=-180 e=180&lt;br /&gt;
&lt;br /&gt;
Now apply color table and look at the map:&lt;br /&gt;
  r.colors albedo color=byr&lt;br /&gt;
  d.mon x0&lt;br /&gt;
  d.rast albedo&lt;br /&gt;
&lt;br /&gt;
=== SNODAS maps ===&lt;br /&gt;
&lt;br /&gt;
[http://nsidc.org/data/docs/noaa/g02158_snodas_snow_cover_model/index.html Snow Data Assimilation System] data that support hydrological modeling and analysis. First download the data, and untar them (once for each month, and once for each day), and you should get pairs of “.dat” and “.Hdr” files. The data files are stored in flat 16-bit binary format, so assuming that “snowdas_in.dat” is the name of the input file, at the GRASS prompt:&lt;br /&gt;
&lt;br /&gt;
   r.in.bin -bs bytes=2 rows=3351 cols=6935 north=52.874583333332339 \&lt;br /&gt;
   south=24.949583333333454 east=-66.942083333334011 west=-124.733749999998366 \&lt;br /&gt;
   anull=-9999 input=snowdas_input.dat output=snowdas&lt;br /&gt;
&lt;br /&gt;
=== CHELSA climate maps ===&lt;br /&gt;
	&lt;br /&gt;
CHELSA – Climatologies at high resolution for the earth’s land surface areas is a high resolution (30 arc sec) climate data set for the earth land surface areas currently under development, see http://chelsa-climate.org/&lt;br /&gt;
&lt;br /&gt;
Version 1.1 has some coordinate issues originating from SAGA being used (coordinate precision issue), see http://chelsa-climate.org/known-issues/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;shell&amp;quot;&amp;gt;&lt;br /&gt;
# WARNING: dirty hack - Better wait for the new release V1.2 of CHELSA!&lt;br /&gt;
&lt;br /&gt;
for i in `ls /scratch/chelsa_climate/*.zip` ; do&lt;br /&gt;
   unzip $i&lt;br /&gt;
   NAME=`basename $i .zip`&lt;br /&gt;
   gdal_translate --config GDAL_CACHEMAX 2000 -a_ullr -180 84 180 -90 -co &amp;quot;COMPRESS=DEFLATE&amp;quot; $NAME.tif ${NAME}_fixed.tif&lt;br /&gt;
   rm -f $NAME.tif&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== WorldClim maps ===&lt;br /&gt;
&lt;br /&gt;
[http://www.worldclim.org/ WorldClim] is a set of global climate layers (climate grids) with a spatial resolution of a square kilometer. Besides long-term average climate layers (representing the period 1950 - 2000) it also includes projections for future conditions based on downscaled global climate model (GCM) data from CMIP5 (IPPC Fifth Assessment) and projections of past conditions (downscaled global climate model output).&lt;br /&gt;
* Load into a Lat/Lon WGS84 location (EPSG:4326)&lt;br /&gt;
* The data set is provided in two formats: BIL and ESRI Grd. Import with {{cmd|r.in.bin}} or {{cmd|r.in.gdal}}. Version 1.4 has some coordinate issues:&lt;br /&gt;
&lt;br /&gt;
a) BIL: binary format is 2 byte integer. Multiply by 10 using {{cmd|r.mapcalc}} to convert units. See http://www.worldclim.org/format.htm for more information and the [[MODIS]] help page for example of converting raw to data units. Note that the file header is missing a line. To fix:&lt;br /&gt;
&lt;br /&gt;
 # fix WorldClim's BIL; tmean example&lt;br /&gt;
 for i in $(seq 1 12); do echo “PIXELTYPE SIGNEDINT” &amp;gt;&amp;gt;tmean$i.hdr; done&lt;br /&gt;
&lt;br /&gt;
b) ESRI grd files: Note that the WorldClim ESRI grd files suffer from a quality issue of coordinate precision. See [https://lists.osgeo.org/pipermail/grass-user/2011-January/059358.html here] for a solution.&lt;br /&gt;
&lt;br /&gt;
 # fix WorldClim's ESRI Grd; tmean example&lt;br /&gt;
 export GDAL_CACHEMAX=2000&lt;br /&gt;
 mkdir -p ~/tmp/&lt;br /&gt;
 # fix broken WorldClim files, see https://lists.osgeo.org/pipermail/grass-user/2011-January/059358.html&lt;br /&gt;
 # note: 60S, not 90S&lt;br /&gt;
 for i in $(seq 1 12); do gdal_translate -a_ullr -180 90 180 -60 tmean_$i $HOME/tmp/tmean_${i}_fixed.tif; done&lt;br /&gt;
 #&lt;br /&gt;
 # import&lt;br /&gt;
 for i in $(seq 1 12) ; do r.in.gdal input=$HOME/tmp/tmean_${i}_fixed.tif out=tmp --o ; g.region raster=tmp -p ; r.mapcalc &amp;quot;tmean_${i} = 0.1 * tmp&amp;quot; --o ; r.colors tmean_${i} color=celsius ; done&lt;br /&gt;
 #&lt;br /&gt;
 # clean up&lt;br /&gt;
 g.remove raster name=tmp -f&lt;br /&gt;
 rm -f ~/tmp/tmean_?_fixed.tif ; rm -f ~/tmp/tmean_??_fixed.tif&lt;br /&gt;
&lt;br /&gt;
=== Africlim maps ===&lt;br /&gt;
&lt;br /&gt;
[https://www.york.ac.uk/environment/research/kite/resources/ Africlim] provides four baseline data sets for current climate, including:&lt;br /&gt;
* CRU CL 2.0&lt;br /&gt;
* WorldClim v1.4&lt;br /&gt;
* TAMSAT TARCAT v2.0 (rainfall only)&lt;br /&gt;
* CHIRPS v1.8 (rainfall only). &lt;br /&gt;
&lt;br /&gt;
It furthermore provides data sets with projections of future climates based on combinations of ten general circulation models (GCMs), downscaled using five regional climate models (RCMs) and the four above mentioned contemporary baselines, under two representative concentration pathways of the IPCC-AR5 (RCP4.5 and RCP8.5). The data layers are available as GeoTIF files at spatial resolutions of 10', 5', 2.5', 1' and 30&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Population maps ==&lt;br /&gt;
&lt;br /&gt;
=== WorldPop ===&lt;br /&gt;
&lt;br /&gt;
* http://www.worldpop.org.uk/&lt;br /&gt;
&lt;br /&gt;
=== Gridded Population of the World ===&lt;br /&gt;
&lt;br /&gt;
* http://sedac.ciesin.columbia.edu/gpw/global.jsp&lt;br /&gt;
&lt;br /&gt;
Import with {{cmd|r.in.gdal}}, assign population color table with {{cmd|r.colors}}&lt;br /&gt;
&lt;br /&gt;
== Topographic maps ==&lt;br /&gt;
=== Soviet topographic maps ===&lt;br /&gt;
&lt;br /&gt;
* [http://en.poehali.org/maps Soviet topographic maps] as geocoded GeoTIFFs&lt;br /&gt;
&lt;br /&gt;
= Vector data =&lt;br /&gt;
&lt;br /&gt;
=== Natural Earth ===&lt;br /&gt;
&lt;br /&gt;
*  http://www.naturalearthdata.com/ data scaled for 1:10 million, 1:50 million and 1:110million&lt;br /&gt;
&lt;br /&gt;
=== CDC Geographic Boundary and Public Health Maps ===&lt;br /&gt;
&lt;br /&gt;
* http://www.cdc.gov/epiinfo/maps.htm&lt;br /&gt;
&lt;br /&gt;
=== Global Administrative Areas ===&lt;br /&gt;
&lt;br /&gt;
* GADM is a database of the location of the world's administrative areas (boundaries) available in shapefiles.&lt;br /&gt;
: http://gadm.org (extracted by country [http://gadm.org/country here])&lt;br /&gt;
&lt;br /&gt;
* World Borders Dataset including ISO 3166-1 Country codes available in shapefiles.&lt;br /&gt;
: http://thematicmapping.org/downloads/world_borders.php&lt;br /&gt;
* Free GIS data from Mapping Hacks&lt;br /&gt;
: http://mappinghacks.com/data/&lt;br /&gt;
&lt;br /&gt;
=== GSHHS World Coastline ===&lt;br /&gt;
&lt;br /&gt;
GSHHS is a high resolution shoreline dataset. It is derived from data in the public domain and licensed as GPL. The shorelines are constructed entirely from hierarchically arranged closed polygons. It is closely linked to the [[GMT]] project.&lt;br /&gt;
&lt;br /&gt;
==== Availability ====&lt;br /&gt;
&lt;br /&gt;
* Download the original data set from http://www.soest.hawaii.edu/pwessel/gshhg/index.html. Also available at http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhg/latest/.&lt;br /&gt;
&lt;br /&gt;
* The data set, or parts from it, can be extracted from [http://www.ngdc.noaa.gov/mgg/shorelines/shorelines.html NOAA's shoreline extractor].&lt;br /&gt;
:For GRASS 6 you can download 1:250,000 shoreline data from NOAA's site in Mapgen format, which can be imported with the {{cmd|v.in.mapgen}} module.&lt;br /&gt;
&lt;br /&gt;
* '''ESRI Shapefiles''' of the latest version are available at http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhg/latest/. The old 1.6 version is available at ftp://ftp.ihg.uni-duisburg.de/GIS/GISData/GSHHS/.&lt;br /&gt;
&lt;br /&gt;
==== Import ====&lt;br /&gt;
&lt;br /&gt;
* Import with the GRASS6 add-on module {{AddonCmd|v.in.gshhs}}&lt;br /&gt;
&lt;br /&gt;
=== OpenStreetMap ===&lt;br /&gt;
&lt;br /&gt;
See the [[OpenStreetMap]] wiki page.&lt;br /&gt;
&lt;br /&gt;
=== SALB ===&lt;br /&gt;
&lt;br /&gt;
Second Administrative Level Boundaries: ''&amp;quot;The SALB dataset is a global digital dataset consisting of digital maps and codes that can be downloaded on a country by country basis.&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
* http://www.who.int/whosis/database/gis/salb/salb_home.htm&lt;br /&gt;
&lt;br /&gt;
=== VMap0 ===&lt;br /&gt;
&lt;br /&gt;
1:1 million vector data. Formerly known as ''Digital Chart of the World''&lt;br /&gt;
&lt;br /&gt;
* see the two articles in [http://grass.osgeo.org/newsletter/index.php ''GRASS Newsletter vol. 3 (June 2005)'']&lt;br /&gt;
&lt;br /&gt;
Check the [http://en.wikipedia.org/wiki/Vector_Map Wikipedia page] on VMAP, see the links at the bottom of that article to shapefile versions of VMAP0 and VMAP1.  Those look like the versions that were, several years ago, on a NIMA (predecessor to NGA, and successor to the Defense Mapping Agency that managed the Digital Chart of the World and VMAP project) Website.  Many GRASS users may prefer the shapefiles to the original Vector Product Format data.&lt;br /&gt;
&lt;br /&gt;
* [http://gis-lab.info/qa/vmap0-eng.html VMap0 data in ESRI shape format]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [http://spatial-analyst.net/wiki/index.php?title=Global_datasets Global datasets] list by T. Hengl (with dataset download)&lt;br /&gt;
* http://freegisdata.rtwilson.com/&lt;br /&gt;
* The FreeGIS.org database:  http://www.freegis.org/database/&lt;br /&gt;
* http://finder.geocommons.com/&lt;br /&gt;
* http://wiki.openstreetmap.org/wiki/Potential_Datasources&lt;br /&gt;
* http://www.geonames.org/data-sources.html&lt;br /&gt;
* [http://ckan.net/tag/read/geo Open Knowledge Foundation link collection]&lt;br /&gt;
* [http://openweathermap.org/ Open Weather Map]  free weather data and forecast API suitable for any cartographic services like web and smartphones applications. Ideology is inspired by OpenStreetMap and Wikipedia that make information free and available for everybody. &lt;br /&gt;
&lt;br /&gt;
=== Metadata Catalogues ===&lt;br /&gt;
Catalog Service for the Web (CSW) is an OGC standard for offering access to catalogues of geospatial information over the Internet (HTTP). CSW allow for discovering, browsing, and querying metadata about data, services, and similar resources. A list of Metadata Catalogues / CSW services from member states of the European Union can be found here:&amp;lt;br /&amp;gt;&lt;br /&gt;
* [http://inspire-geoportal.ec.europa.eu/INSPIRERegistry/ http://inspire-geoportal.ec.europa.eu/INSPIRERegistry/]&amp;lt;br /&amp;gt;&lt;br /&gt;
And here: [http://inspire-geoportal.ec.europa.eu/discovery/ http://inspire-geoportal.ec.europa.eu/discovery/] one can search European Metadata Catalogues online.&lt;br /&gt;
&lt;br /&gt;
=== European datasets ===&lt;br /&gt;
&lt;br /&gt;
* [[European datasets]]&lt;br /&gt;
* [http://preview.grid.unep.ch/index3.php?preview=data&amp;amp;lang=eng Global Risk Data Platform]&lt;br /&gt;
* [http://open-data.europa.eu/open-data/data/ European Commission Opendata Portal]: 5800+ datasets&lt;br /&gt;
* [http://eca.knmi.nl/download/ensembles/download.php E-OBS] This is the download page for the ENSEMBLES daily gridded observational dataset for precipitation, temperature and sea level pressure in Europe&lt;br /&gt;
* [http://mars.jrc.ec.europa.eu/mars/About-us/AGRI4CAST/Data-distribution MARS @ JRC] Temperature, vapour pressure, rainfall, relative humidity, cloud cover, solar radiation, wind speed.&lt;br /&gt;
* [http://www.efas.eu/ EFAS @ JRC] is a High resolution pan-European dataset for hydrologic modelling.&lt;br /&gt;
* [http://data.jrc.ec.europa.eu/ JRC Data Portal] In this catalogue, you can find an inventory of data that produced by the JRC in accordance with the JRC data policy. The content is continuously updated and shall not be seen as a complete inventory of JRC data. Currently, the inventory describes only a small subset of JRC data.&lt;br /&gt;
&lt;br /&gt;
=== National datasets ===&lt;br /&gt;
&lt;br /&gt;
* [http://asdd.ga.gov.au/asdd/tech/zap/basic.html Australian Spatial Data Directory]&lt;br /&gt;
* [http://aekos.org.au/home Australian Ecological Knowledge and Observation System]&lt;br /&gt;
* [http://wiki.gfoss.it/index.php/GIS_Open_Data Italian Geodata collection]&lt;br /&gt;
* [http://koordinates.com/ New Zealand] data from Koordinates.com&lt;br /&gt;
* United States from NOAA/USGSs data portal (FIXME: link?)&lt;br /&gt;
* [http://geodata.gov.gr/geodata/ Greek Public Geodata] (in Greek)&lt;br /&gt;
&lt;br /&gt;
=== Various datasets worldwide ===&lt;br /&gt;
&lt;br /&gt;
* [http://geospatial.edublogs.org/ GEOSPATIAL DATA REPORT]: Finding and Using GIS Data&lt;br /&gt;
* [http://www.edenextdata.com/?q=data Edenext data portal]: Land Cover, Transport networks, Elevation, Orthoimagery, Human health and safety, Species Distribution, Atmospheric Conditions and Meteorological Geographical Features, Training Program Presentations and Data, Utility and governmental services, Hydrography, Soil, Bio geographical regions, Population distribution and Demographics&lt;br /&gt;
* [http://gdex.cr.usgs.gov/gdex/ Global Data Explorer USGS]: ASTER, SRTM, GTOPO etc&lt;br /&gt;
* [http://www.landcover.org/ landcover]&lt;br /&gt;
* [http://www.gripweb.org/gripweb/?q=data-information GRIPWEB’s Data &amp;amp; Informational Portal]: hazard &amp;amp; risk&lt;br /&gt;
* [http://sedac.ciesin.columbia.edu/data/sets/browse SEDAC]: Agriculture, Climate, Conservation, Framework Data, Governance, Hazards, Health, Infrastructure, Land Use, Marine and Coastal, Population, Poverty, Remote Sensing, Sustainability, Urban, Water&lt;br /&gt;
* [http://www.preventionweb.net/english/professional/maps/?pid:6&amp;amp;pih:2 Prevention Web]: hazard &amp;amp; risk&lt;br /&gt;
* [http://data.un.org/Default.aspx UNdata]: UN database&lt;br /&gt;
* [http://www.undp.org/content/undp/en/home.html UNDP home page]&lt;br /&gt;
* [http://www.cgiar-csi.org/data global climatic data]&lt;br /&gt;
* [http://csi.cgiar.org/cgiargeospatialtools.asp cosortium for spatial information CGIAR-CSI GeoSpatial Toolkits]&lt;br /&gt;
* [http://freegisdata.rtwilson.com/ Links to over 300 sites providing freely available geographic datasets]&lt;br /&gt;
* [http://www.diva-gis.org/Data Free Spatial Data]&lt;br /&gt;
* [http://edc2.usgs.gov/glcc/globe_int.php Global Land Cover Characteristics Data Base Version 2.0]&lt;br /&gt;
* [http://opentopo.sdsc.edu/gridsphere/gridsphere?cid=datasets A Portal to High-Resolution Topography Data and Tools]&lt;br /&gt;
* [http://www.metoffice.gov.uk/hadobs/hadghcnd/ HadGHCND] is a gridded daily temperature dataset based upon near-surface maximum (TX) and minimum (TN) temperature observations.&lt;br /&gt;
&lt;br /&gt;
=== WMS servers ===&lt;br /&gt;
&lt;br /&gt;
* See [[WMS]] page&lt;br /&gt;
&lt;br /&gt;
=== River discharge data ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.bafg.de/GRDC/EN/Home/homepage_node.html Global Runoff Data Centre]&lt;br /&gt;
* [http://www.sage.wisc.edu/riverdata/ Global River Discharge Database]&lt;br /&gt;
* [http://csdms.colorado.edu/wiki/River_discharge_data CSDMS]&lt;br /&gt;
&lt;br /&gt;
[[Category: Geodata]]&lt;br /&gt;
[[Category: Import]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_GIS_Community_Sprint_Bonn_2018&amp;diff=25059</id>
		<title>GRASS GIS Community Sprint Bonn 2018</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_GIS_Community_Sprint_Bonn_2018&amp;diff=25059"/>
		<updated>2018-02-28T19:35:59Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Via IRC chat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{toc|right}}&lt;br /&gt;
&lt;br /&gt;
The '''GRASS GIS community''' will join the general '''OSGeo Code Sprint''' at BaseCamp in Bonn, following the annual FOSSGIS conference (German Speaking OSGeo Local Chapter conference in Bonn, Germany)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:GRASS_GIS_Code_Sprint_2018.png|320px]] &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Timing, Venue  ==&lt;br /&gt;
&lt;br /&gt;
OSGeo Code Sprint: '''March 18 - 25, 2018 at BaseCamp. Bonn, Germany'''.&lt;br /&gt;
&lt;br /&gt;
== Sponsors ==&lt;br /&gt;
&lt;br /&gt;
Please check more info on the Bonn Code Sprint 2018 [https://wiki.osgeo.org/wiki/OSGeo_Code_Sprint_2018 here].&lt;br /&gt;
&lt;br /&gt;
We also welcome direct '''financial contributions''' to help reducing travelling and accommodation expenses for GRASS developers with far arrival If you are interested to sponsor the GRASS Community Sprint, please read about&lt;br /&gt;
&lt;br /&gt;
:::'''sponsoring the GRASS project''' at '''[http://grass.osgeo.org/donations http://grass.osgeo.org/donations]'''&lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to &amp;lt;b&amp;gt;buy a round of beer for the developers with a quick click&amp;lt;/b&amp;gt; using the PayPal &amp;quot;Buy [pizza/beer/...] Now&amp;quot; button [[Image:Btn_donate_SM.gif|center|link=http://grass.osgeo.org/donations/]]&lt;br /&gt;
&lt;br /&gt;
For any questions, please contact [[User:Neteler|Markus Neteler]] &amp;lt;tt&amp;gt;&amp;lt;neteler at osgeo.org&amp;gt;&amp;lt;/tt&amp;gt;. Any surplus at the end of the event will be turned over to the GRASS GIS project.&lt;br /&gt;
&lt;br /&gt;
This GRASS GIS Community Sprint is a great occasion for you to support the development of GRASS. With your contribution you'll enable more developers to meet. The community sprint is an important opportunity for the GRASS developers to discuss and collaboratively resolve bugs, plan the direction for the project and work on new features. Please see below for the more detailed agenda. The developers and contributors are donating their valuable time, so it would be great if in-kind funding can be made available from within the community to cover out-of-pocket expenses. All of the work that takes place at the community sprint will be directly contributed back into the GRASS project to the benefit of everyone who uses it.&lt;br /&gt;
This Bonn event is especially interesting since '''important OSGeo projects come together'''!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Agenda - What we plan to do ==&lt;br /&gt;
&lt;br /&gt;
=== Move to Git ===&lt;br /&gt;
&lt;br /&gt;
* Choose among different options: OSGeo Git, Github, GitLab&lt;br /&gt;
* Participants are invited to study Git in advance :-)&lt;br /&gt;
&lt;br /&gt;
=== New website ===&lt;br /&gt;
&lt;br /&gt;
* Choose among different options: Wordpress, Sphinx, ... ? At time we want to explore a docker based WP installation.&lt;br /&gt;
&lt;br /&gt;
=== Integration with QGIS Processing ===&lt;br /&gt;
&lt;br /&gt;
After some intensive discussions the decision of the QGIS devs is to continue with the &amp;quot;Processing&amp;quot; support (see [https://lists.osgeo.org/pipermail/grass-dev/2018-February/087557.html summary email by P Cavallini])&lt;br /&gt;
&lt;br /&gt;
Action item: update the GRASS GIS processing provider. A boilerplate could be the new [https://github.com/alexbruy/processing-saga SAGA processing provider].&lt;br /&gt;
&lt;br /&gt;
=== Port wxGUI to wxPython 4 ===&lt;br /&gt;
&lt;br /&gt;
* Finish porting wxGUI code to the new wxPython 4&lt;br /&gt;
* It also includes porting code to Python 3&lt;br /&gt;
&lt;br /&gt;
=== Finish the full Python 3 support === &lt;br /&gt;
&lt;br /&gt;
* Includes also wxGUI support for wxPython 4&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
== Planned participation ==&lt;br /&gt;
&lt;br /&gt;
For organizational reasons, please '''additionally register''' at: https://wiki.osgeo.org/wiki/OSGeo_Code_Sprint_2018#Participants  &amp;lt;&amp;lt;--- important!&lt;br /&gt;
&lt;br /&gt;
=== In person ===&lt;br /&gt;
&lt;br /&gt;
Please add your name here or contact [[User:Lucadelu|Luca Delucchi]] &amp;lt;tt&amp;gt;&amp;lt;lucadeluge at gmail com&amp;gt;&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;   border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#edf9c7; font-size:95%; empty-cells:show;&amp;quot; &lt;br /&gt;
|width=50px|'''No'''&lt;br /&gt;
|width=130px|'''Participant '''&lt;br /&gt;
|width=100px|'''Country'''&lt;br /&gt;
|width=100px|'''Arrival'''&lt;br /&gt;
|width=100px|'''Departure'''&lt;br /&gt;
|'''Topic'''&lt;br /&gt;
|width=75px|'''T-Shirt'''&lt;br /&gt;
|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|[[User:Neteler|Markus Neteler]]&lt;br /&gt;
|Germany&lt;br /&gt;
|18.3.&lt;br /&gt;
|25.3.&lt;br /&gt;
|Migration to git discussion, GRASS GIS 8, new GRASS GIS startup&lt;br /&gt;
|M&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|[[User:Landa|Martin Landa]]&lt;br /&gt;
|Czech Republic&lt;br /&gt;
|18.3.&lt;br /&gt;
|25.3.&lt;br /&gt;
|Migration to git discussion, website discussion, GRASS GIS 8&lt;br /&gt;
|L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Stefan Blumentrath&lt;br /&gt;
|Germany/Norway&lt;br /&gt;
|20.03.&lt;br /&gt;
|25.03.&lt;br /&gt;
|Flexible&lt;br /&gt;
|L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|[[User:Veroandreo|Veronica Andreo]]&lt;br /&gt;
|Argentina/Netherlands&lt;br /&gt;
|18.3&lt;br /&gt;
|??.??&lt;br /&gt;
|TGRASS, Documentation, website discussion&lt;br /&gt;
|S&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|[[User:Lucadelu|Luca Delucchi]]&lt;br /&gt;
|Italy&lt;br /&gt;
|18.3&lt;br /&gt;
|??.??&lt;br /&gt;
|Migration to git discussion, TGRASS, testsuite, website discussion&lt;br /&gt;
|L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|[[User:Mlennert|Moritz Lennert]]&lt;br /&gt;
|Belgium&lt;br /&gt;
|18.3&lt;br /&gt;
|21.3&lt;br /&gt;
|Migration to git discussion, website discussion, GRASS 8, new GRASS GIS startup, work on OBIA addons, ...&lt;br /&gt;
|M&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Markus Metz&lt;br /&gt;
|Germany&lt;br /&gt;
|18.3.&lt;br /&gt;
|22.3.&lt;br /&gt;
|Migration to git discussion, website discussion, GRASS 8, new GRASS GIS startup&lt;br /&gt;
|M&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|#&lt;br /&gt;
|... &lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Via IRC chat ===&lt;br /&gt;
&lt;br /&gt;
(IRC is a nice archaic chat system, see [[IRC]])&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;   border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#edf9c7; font-size:95%; empty-cells:show;&amp;quot; &lt;br /&gt;
|width=50px|'''No'''&lt;br /&gt;
|width=130px|'''Participant '''&lt;br /&gt;
|width=100px|'''Country'''&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Yann Chemin&lt;br /&gt;
|Sri Lanka&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|[[User:hellik|Helmut Kudrnovsky]]&lt;br /&gt;
|Austria&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Individual Preparation ==&lt;br /&gt;
&lt;br /&gt;
* Bring your own computer&lt;br /&gt;
* Bring [http://en.wikipedia.org/wiki/Mains_electricity_by_country your power connector adapter] if needed (photo: [https://en.wikipedia.org/wiki/File:Schuko_plug_and_socket.png Germany]). See also http://www.power-plugs-sockets.com/&lt;br /&gt;
* Install subversion and the compiler tools, and come with a working GRASS development environment if possible.&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&lt;br /&gt;
We have to remember to take at least one group photo! :-)&lt;br /&gt;
&lt;br /&gt;
== Reports ==&lt;br /&gt;
&lt;br /&gt;
See [[Talk:GRASS_Community_Sprint_Bonn_2018]]&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
* ''Is the GRASS Community Sprint just a coding event?''&lt;br /&gt;
** It is mainly a coding and documentation event. It is a working session for people who are already participants in the GRASS project and/or are committed to improving the GRASS project.&lt;br /&gt;
** On demand we can do some presentations of current working GRASS implementation and new upcoming features to spread the idea of Open Source GIS software&lt;br /&gt;
* ''Is the GRASS Community Sprint for developers only?''&lt;br /&gt;
** No: anybody can help, with testing, checking out bugs and fixes, documentation and more.&lt;br /&gt;
* ''Where can I get help and more information about the community sprint?''&lt;br /&gt;
** Contact [[User:Lucadelu|Luca Delucchi]] &amp;lt;tt&amp;gt;&amp;lt;lucadeluge at gmail com&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Workshops]]&lt;br /&gt;
[[Category: Code Sprint]]&lt;br /&gt;
[[Category: 2018]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_GIS_Community_Sprint_Bonn_2018&amp;diff=25058</id>
		<title>GRASS GIS Community Sprint Bonn 2018</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_GIS_Community_Sprint_Bonn_2018&amp;diff=25058"/>
		<updated>2018-02-28T19:31:03Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* Via IRC chat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{toc|right}}&lt;br /&gt;
&lt;br /&gt;
The '''GRASS GIS community''' will join the general '''OSGeo Code Sprint''' at BaseCamp in Bonn, following the annual FOSSGIS conference (German Speaking OSGeo Local Chapter conference in Bonn, Germany)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:GRASS_GIS_Code_Sprint_2018.png|320px]] &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Timing, Venue  ==&lt;br /&gt;
&lt;br /&gt;
OSGeo Code Sprint: '''March 18 - 25, 2018 at BaseCamp. Bonn, Germany'''.&lt;br /&gt;
&lt;br /&gt;
== Sponsors ==&lt;br /&gt;
&lt;br /&gt;
Please check more info on the Bonn Code Sprint 2018 [https://wiki.osgeo.org/wiki/OSGeo_Code_Sprint_2018 here].&lt;br /&gt;
&lt;br /&gt;
We also welcome direct '''financial contributions''' to help reducing travelling and accommodation expenses for GRASS developers with far arrival If you are interested to sponsor the GRASS Community Sprint, please read about&lt;br /&gt;
&lt;br /&gt;
:::'''sponsoring the GRASS project''' at '''[http://grass.osgeo.org/donations http://grass.osgeo.org/donations]'''&lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to &amp;lt;b&amp;gt;buy a round of beer for the developers with a quick click&amp;lt;/b&amp;gt; using the PayPal &amp;quot;Buy [pizza/beer/...] Now&amp;quot; button [[Image:Btn_donate_SM.gif|center|link=http://grass.osgeo.org/donations/]]&lt;br /&gt;
&lt;br /&gt;
For any questions, please contact [[User:Neteler|Markus Neteler]] &amp;lt;tt&amp;gt;&amp;lt;neteler at osgeo.org&amp;gt;&amp;lt;/tt&amp;gt;. Any surplus at the end of the event will be turned over to the GRASS GIS project.&lt;br /&gt;
&lt;br /&gt;
This GRASS GIS Community Sprint is a great occasion for you to support the development of GRASS. With your contribution you'll enable more developers to meet. The community sprint is an important opportunity for the GRASS developers to discuss and collaboratively resolve bugs, plan the direction for the project and work on new features. Please see below for the more detailed agenda. The developers and contributors are donating their valuable time, so it would be great if in-kind funding can be made available from within the community to cover out-of-pocket expenses. All of the work that takes place at the community sprint will be directly contributed back into the GRASS project to the benefit of everyone who uses it.&lt;br /&gt;
This Bonn event is especially interesting since '''important OSGeo projects come together'''!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Agenda - What we plan to do ==&lt;br /&gt;
&lt;br /&gt;
=== Move to Git ===&lt;br /&gt;
&lt;br /&gt;
* Choose among different options: OSGeo Git, Github, GitLab&lt;br /&gt;
* Participants are invited to study Git in advance :-)&lt;br /&gt;
&lt;br /&gt;
=== New website ===&lt;br /&gt;
&lt;br /&gt;
* Choose among different options: Wordpress, Sphinx, ... ? At time we want to explore a docker based WP installation.&lt;br /&gt;
&lt;br /&gt;
=== Integration with QGIS Processing ===&lt;br /&gt;
&lt;br /&gt;
After some intensive discussions the decision of the QGIS devs is to continue with the &amp;quot;Processing&amp;quot; support (see [https://lists.osgeo.org/pipermail/grass-dev/2018-February/087557.html summary email by P Cavallini])&lt;br /&gt;
&lt;br /&gt;
Action item: update the GRASS GIS processing provider. A boilerplate could be the new [https://github.com/alexbruy/processing-saga SAGA processing provider].&lt;br /&gt;
&lt;br /&gt;
=== Port wxGUI to wxPython 4 ===&lt;br /&gt;
&lt;br /&gt;
* Finish porting wxGUI code to the new wxPython 4&lt;br /&gt;
* It also includes porting code to Python 3&lt;br /&gt;
&lt;br /&gt;
=== Finish the full Python 3 support === &lt;br /&gt;
&lt;br /&gt;
* Includes also wxGUI support for wxPython 4&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
== Planned participation ==&lt;br /&gt;
&lt;br /&gt;
For organizational reasons, please '''additionally register''' at: https://wiki.osgeo.org/wiki/OSGeo_Code_Sprint_2018#Participants  &amp;lt;&amp;lt;--- important!&lt;br /&gt;
&lt;br /&gt;
=== In person ===&lt;br /&gt;
&lt;br /&gt;
Please add your name here or contact [[User:Lucadelu|Luca Delucchi]] &amp;lt;tt&amp;gt;&amp;lt;lucadeluge at gmail com&amp;gt;&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;   border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#edf9c7; font-size:95%; empty-cells:show;&amp;quot; &lt;br /&gt;
|width=50px|'''No'''&lt;br /&gt;
|width=130px|'''Participant '''&lt;br /&gt;
|width=100px|'''Country'''&lt;br /&gt;
|width=100px|'''Arrival'''&lt;br /&gt;
|width=100px|'''Departure'''&lt;br /&gt;
|'''Topic'''&lt;br /&gt;
|width=75px|'''T-Shirt'''&lt;br /&gt;
|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|[[User:Neteler|Markus Neteler]]&lt;br /&gt;
|Germany&lt;br /&gt;
|18.3.&lt;br /&gt;
|25.3.&lt;br /&gt;
|Migration to git discussion, GRASS GIS 8, new GRASS GIS startup&lt;br /&gt;
|M&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|[[User:Landa|Martin Landa]]&lt;br /&gt;
|Czech Republic&lt;br /&gt;
|18.3.&lt;br /&gt;
|25.3.&lt;br /&gt;
|Migration to git discussion, website discussion, GRASS GIS 8&lt;br /&gt;
|L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Stefan Blumentrath&lt;br /&gt;
|Germany/Norway&lt;br /&gt;
|20.03.&lt;br /&gt;
|25.03.&lt;br /&gt;
|Flexible&lt;br /&gt;
|L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|[[User:Veroandreo|Veronica Andreo]]&lt;br /&gt;
|Argentina/Netherlands&lt;br /&gt;
|18.3&lt;br /&gt;
|??.??&lt;br /&gt;
|TGRASS, Documentation, website discussion&lt;br /&gt;
|S&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|[[User:Lucadelu|Luca Delucchi]]&lt;br /&gt;
|Italy&lt;br /&gt;
|18.3&lt;br /&gt;
|??.??&lt;br /&gt;
|Migration to git discussion, TGRASS, testsuite, website discussion&lt;br /&gt;
|L&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|[[User:Mlennert|Moritz Lennert]]&lt;br /&gt;
|Belgium&lt;br /&gt;
|18.3&lt;br /&gt;
|21.3&lt;br /&gt;
|Migration to git discussion, website discussion, GRASS 8, new GRASS GIS startup, work on OBIA addons, ...&lt;br /&gt;
|M&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Markus Metz&lt;br /&gt;
|Germany&lt;br /&gt;
|18.3.&lt;br /&gt;
|22.3.&lt;br /&gt;
|Migration to git discussion, website discussion, GRASS 8, new GRASS GIS startup&lt;br /&gt;
|M&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|#&lt;br /&gt;
|... &lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Via IRC chat ===&lt;br /&gt;
&lt;br /&gt;
(IRC is a nice archaic chat system, see [[IRC]])&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;   border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#edf9c7; font-size:95%; empty-cells:show;&amp;quot; &lt;br /&gt;
|width=50px|'''No'''&lt;br /&gt;
|width=130px|'''Participant '''&lt;br /&gt;
|width=100px|'''Country'''&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Yann Chemin&lt;br /&gt;
|Sri Lanka&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|Helmut Kudrnovsky&lt;br /&gt;
|Austria&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Individual Preparation ==&lt;br /&gt;
&lt;br /&gt;
* Bring your own computer&lt;br /&gt;
* Bring [http://en.wikipedia.org/wiki/Mains_electricity_by_country your power connector adapter] if needed (photo: [https://en.wikipedia.org/wiki/File:Schuko_plug_and_socket.png Germany]). See also http://www.power-plugs-sockets.com/&lt;br /&gt;
* Install subversion and the compiler tools, and come with a working GRASS development environment if possible.&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
&lt;br /&gt;
We have to remember to take at least one group photo! :-)&lt;br /&gt;
&lt;br /&gt;
== Reports ==&lt;br /&gt;
&lt;br /&gt;
See [[Talk:GRASS_Community_Sprint_Bonn_2018]]&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
* ''Is the GRASS Community Sprint just a coding event?''&lt;br /&gt;
** It is mainly a coding and documentation event. It is a working session for people who are already participants in the GRASS project and/or are committed to improving the GRASS project.&lt;br /&gt;
** On demand we can do some presentations of current working GRASS implementation and new upcoming features to spread the idea of Open Source GIS software&lt;br /&gt;
* ''Is the GRASS Community Sprint for developers only?''&lt;br /&gt;
** No: anybody can help, with testing, checking out bugs and fixes, documentation and more.&lt;br /&gt;
* ''Where can I get help and more information about the community sprint?''&lt;br /&gt;
** Contact [[User:Lucadelu|Luca Delucchi]] &amp;lt;tt&amp;gt;&amp;lt;lucadeluge at gmail com&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Workshops]]&lt;br /&gt;
[[Category: Code Sprint]]&lt;br /&gt;
[[Category: 2018]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25041</id>
		<title>WinGRASS errors</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25041"/>
		<updated>2018-02-17T23:01:56Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS exits when started with g.list CalledModuleError and -1073741511 return code ==&lt;br /&gt;
&lt;br /&gt;
If GRASS GIS graphical user interface fails to start with error which ends like this:&lt;br /&gt;
&lt;br /&gt;
 grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error&lt;br /&gt;
 Process ended with non-zero return code -1073741511. See errors in the (error) output.&lt;br /&gt;
&lt;br /&gt;
you can try to run the following command manually from the command line (the &amp;quot;black&amp;quot; system command line which was started with GRASS GIS).&lt;br /&gt;
&lt;br /&gt;
 g.list -m type=raster&lt;br /&gt;
&lt;br /&gt;
If you run the command, you might get the following error:&lt;br /&gt;
&lt;br /&gt;
 The procedure entry point sqlite3_vfs_register could not be located in the dynamic link library sqlite3.dll.&lt;br /&gt;
&lt;br /&gt;
The issue is caused by different &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files accessible &amp;quot;on path&amp;quot; to all application. In case of GRASS GIS, some incompatible sqlite3 DLL is picked up by the system rather than using the correct one shipped with GRASS GIS.&lt;br /&gt;
&lt;br /&gt;
Solution: search for all &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files on your computer and &amp;lt;strike&amp;gt;remove&amp;lt;/strike&amp;gt; rename them one by one while trying at the same time to start GRASS GIS successfully. Note that removing some of the other &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files may break the applications which use them (say, while this is possible it has never actually been reported by any user). So, it is a good idea to just rename the DLL file in case you discover that another application needs that particular sqlite3 DLL and you have to reverse the process.&lt;br /&gt;
&lt;br /&gt;
== Legend and scale bar do not show any text ==&lt;br /&gt;
If you add legend (&amp;lt;tt&amp;gt;d.legend&amp;lt;/tt&amp;gt;) or scale bar (&amp;lt;tt&amp;gt;d.barscale&amp;lt;/tt&amp;gt;) to the Map Display and you see only the colors or the bar but no text:&lt;br /&gt;
&lt;br /&gt;
1. Try to run this command within a GRASS session:&lt;br /&gt;
    g.mkfontcap -o&lt;br /&gt;
&lt;br /&gt;
Redraw, the text should appear.&lt;br /&gt;
&lt;br /&gt;
2. Alternatively, in the menu go to ''Settings'' &amp;gt; ''Preferences'', then select ''Map Display'' tab. Use ''Set font'' button to set ''Default font for GRASS displays''. From the list choose &amp;lt;tt&amp;gt;arial&amp;lt;/tt&amp;gt; or another font you wish to use.&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS (winGRASS) exits immediately after I start it complaining about MSVCR DLL ==&lt;br /&gt;
&lt;br /&gt;
'''''Problem: WinGRASS complains about a missing MSVCR71.dll, MSCVP100.dll or similar on startup or exits immediately.'''''&lt;br /&gt;
&lt;br /&gt;
First note that GRASS GIS 6.4.3 and later '''suggest to install the needed &amp;quot;Important Microsoft runtime libraries&amp;quot; already during the installation process'' (on the same install wizard page offering to download sample datasets), so you should make sure that you check this option during installation. If you are sure about that or the step ended with error (e.g. when proxy settings were not recognized), follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
=== Solution A ===&lt;br /&gt;
&lt;br /&gt;
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].&lt;br /&gt;
&lt;br /&gt;
If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=5555 download it here].&lt;br /&gt;
&lt;br /&gt;
=== Solution B ===&lt;br /&gt;
&lt;br /&gt;
If the above ''Solution A'' does not help, or ends with an error, or if it says that you already have everything, you can reproduce steps which the installer is doing:&lt;br /&gt;
# You do not need to uninstall GRASS GIS to fix it. But be sure to close any GRASS windows you have still open.&lt;br /&gt;
# Download [http://download.osgeo.org/osgeo4w/x86/release/msvcrt/msvcrt-1.0.1-12.tar.bz2 msvcrt-1.0.1-12.tar.bz2 archive]&lt;br /&gt;
# Uncompress the archive. Note that it is &amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt;, so to uncompress it use [http://www.7-zip.org 7-Zip] or Winzip or something else that can handle it. It will unzip 3 folders. Keep those 3 folders together (it doesn't matter where).&lt;br /&gt;
# Open the &amp;quot;bin&amp;quot; folder (it is in one of the 3 folders from above) and run the following programs (just double click on them) in the indicated order, following the directions in each wizard:&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2005_x86.exe&amp;lt;/tt&amp;gt; (first screen might be in German, just click left button (&amp;quot;Ja&amp;quot;); then it switches to English)&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2008_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2010_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Once you installed each of these programs, copy the following files (they are in the same &amp;quot;bin&amp;quot; folder) to the &amp;lt;tt&amp;gt;&amp;quot;extrabin&amp;quot;&amp;lt;/tt&amp;gt; folder in the GRASS GIS installation directory (the one you chose during the installation):&lt;br /&gt;
#* &amp;lt;tt&amp;gt;msvcp60.dll, msvcp70.dll, msvcp71.dll, msvcr71.dll, msvcrt.dll&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; So: paste them into e.g. &amp;lt;tt&amp;gt;C:\Program Files (x86)\GRASS GIS 7.0.0beta3\extrabin\&amp;lt;/tt&amp;gt; (assuming you used the default install location).&lt;br /&gt;
# Try GRASS GIS again! It should be running now. If not make sure that you have tried all the steps and try again. If this still does not help, please write to the [http://lists.osgeo.org/pipermail/grass-user/ grass-user] mailing list.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;ImportError: cannot import name MAXREPEAT&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4 (or newer 2.7.x), instead of 2.7.2, solves the problem.&lt;br /&gt;
&lt;br /&gt;
A variant of the problem is also seen with &amp;quot;import re&amp;quot; appearing in the error message. The solution is the same: upgrade the system-wide installed version.&lt;br /&gt;
&lt;br /&gt;
Note that you can also try to remove the system-wide installation but this has a higher risk of breaking some (part) other applciation which depends on the system-wide Python.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 63 could not be located in the dynamic link libexpat.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;libexpat.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 32 could not be located in the dynamic link library proj.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;proj.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== The winGRASS user interface shows up in the wrong language for me! ==&lt;br /&gt;
&lt;br /&gt;
MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.&lt;br /&gt;
&lt;br /&gt;
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==&lt;br /&gt;
&lt;br /&gt;
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;This application has failed to start because libintl3.dll was not found&amp;quot;. (or libiconv2.dll and/or regex2.dll) ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling of the &amp;quot;msys&amp;quot; package in the OSGeo4W installer will bring it back.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;libfreetype-6.dll not installed&amp;quot; (similar wording) ==&lt;br /&gt;
&lt;br /&gt;
You may need to install &amp;quot;libfreetype-6.dll&amp;quot; on your system. For this, launch the OSGeo4W Network Installer &amp;gt; Advanced Install, type freetype in the search box and do the freetype packages installation.&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a GISDBASE not defined error ==&lt;br /&gt;
&lt;br /&gt;
Maybe there is junk in the GRASS session configuration file. To see if this is true and to remove the issue. Rename configuration and a new one will be created next time you run GRASS GIS. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Find where &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; directory is; usually it is &amp;lt;tt&amp;gt;C:\Users\&amp;lt;username&amp;gt;\AppData&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** Note that &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; is a hidden folder&lt;br /&gt;
* Find the GRASS session configuration file.&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS6\grassrc6&amp;lt;/tt&amp;gt; for GRASS GIS 6&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS7\rc&amp;lt;/tt&amp;gt; for GRASS GIS 7&lt;br /&gt;
* Rename session configuration file, e.g. to &amp;lt;tt&amp;gt;grassrc6.old&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rc.old&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Now restart GRASS GIS and the error should be gone (if it was caused by bad configuration file).&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a IOerror: [Errno 2] No such file or directory : 'nul' ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' At startup, I get&lt;br /&gt;
  nul=open &amp;lt;os.devnull, 'w'&amp;gt;&lt;br /&gt;
  IOerror: [Errno 2] No such file or directory : 'nul'&lt;br /&gt;
&lt;br /&gt;
'''A:''' Apparently, it's possible for the service implementing the null device ('nul' pseudo-file) to be stopped or to malfunction.&lt;br /&gt;
&lt;br /&gt;
The status can be checked via the control panel. Start the Device Manager (Control Panel &amp;gt; Hardware and Sound &amp;gt; Device Manager), select View &amp;gt; Show hidden devices, then under Non-Plug and Play Drivers, there should be an entry for &amp;quot;Null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The corresponding registry key is&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null&lt;br /&gt;
&lt;br /&gt;
The Start and Type values should both be 1.&lt;br /&gt;
&lt;br /&gt;
== ERROR: G_realloc: unable to allocate xxx bytes of memory at ... ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' When processing a large dataset, I get something like&lt;br /&gt;
&lt;br /&gt;
  Current region rows: rrrrr, cols: ccccc&lt;br /&gt;
  ERROR: G_realloc: unable to allocate XXX bytes of memory at ...&lt;br /&gt;
&lt;br /&gt;
'''A:''' In general GRASS GIS 7 is able to manage huge datasets in the multi-GB size. For hints, see [[Large raster data processing]]&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;Process ended with non-zero return code -1073741571&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This error message may indicate that the [[Computational region]] region is containing too many pixels.&lt;br /&gt;
&lt;br /&gt;
Background: according to [http://stackoverflow.com/a/26311584/452464 StackOverflow] this number &amp;quot;''is the signed integer representation of Microsoft's 'stack overflow/stack exhaustion' error code 0xC00000FD.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To verify:&lt;br /&gt;
  g.region -p&lt;br /&gt;
&lt;br /&gt;
The mount of &amp;quot;cells&amp;quot; main exceed that being manageable by your computer: in case if this error message the number of rows/columns is likely too high. Either reduce the extent or lower the resolution.&lt;br /&gt;
&lt;br /&gt;
== startup of winGRASS and wxGUI very slow/freezed ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' The startup, location wizzard and wxGUI of winGRASS is very slow, how come?&lt;br /&gt;
&lt;br /&gt;
'''A:''' Some firewall/anti-virus software may be very restrictive regarding new winGRASS version; just update the rules of the firewall/anti-virus software; as all winGRASS release packages are tested for malicious code/virus, they are considered to be secure when originating from the GRASS GIS Web site hosted at OSGeo.&lt;br /&gt;
&lt;br /&gt;
== GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails with an error that an entry point in the sqlite3 dll can't be found, then it is very likely that there is another SQLite library in %PATH% on that windows machine.&lt;br /&gt;
&lt;br /&gt;
First steps are:&lt;br /&gt;
&lt;br /&gt;
* typing in a windows console: where &amp;quot;$path:sqlite3*&amp;quot;&lt;br /&gt;
* search in C:\Windows in the explorer for sqlite3*&lt;br /&gt;
&lt;br /&gt;
Windows operating systems don't install natively a SQLite dll in any directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
If one of results of the steps above are positive, another software installed the dll in a directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
For a successful installation, following steps should be done:&lt;br /&gt;
&lt;br /&gt;
* rename the found dll (e.g. in C:\Windows\System32\sqlite3.dll) to something like xxxsqlite3.dll&lt;br /&gt;
* check if installation of winGRASS (OSGeo4W or standalone) works&lt;br /&gt;
* if it works, then the software which installed the dll in %PATH% will be broken&lt;br /&gt;
* start other installed software on that machine step by step and see which one is now broken&lt;br /&gt;
* if the broken software is found, move xxxsqlite3.dll to the installation directory of that software (e.g. e.g. c:\Programs\YourSoftwareBreakingGrass) and rename it back to sqlite3.dll&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[WinGRASS Current Status#Known_Issues|Known Issues in winGRASS]]&lt;br /&gt;
* [[MacOSX GRASS errors]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: winGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25040</id>
		<title>WinGRASS errors</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25040"/>
		<updated>2018-02-17T23:01:24Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS exits when started with g.list CalledModuleError and -1073741511 return code ==&lt;br /&gt;
&lt;br /&gt;
If GRASS GIS graphical user interface fails to start with error which ends like this:&lt;br /&gt;
&lt;br /&gt;
 grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error&lt;br /&gt;
 Process ended with non-zero return code -1073741511. See errors in the (error) output.&lt;br /&gt;
&lt;br /&gt;
you can try to run the following command manually from the command line (the &amp;quot;black&amp;quot; system command line which was started with GRASS GIS).&lt;br /&gt;
&lt;br /&gt;
 g.list -m type=raster&lt;br /&gt;
&lt;br /&gt;
If you run the command, you might get the following error:&lt;br /&gt;
&lt;br /&gt;
 The procedure entry point sqlite3_vfs_register could not be located in the dynamic link library sqlite3.dll.&lt;br /&gt;
&lt;br /&gt;
The issue is caused by different &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files accessible &amp;quot;on path&amp;quot; to all application. In case of GRASS GIS, some incompatible sqlite3 DLL is picked up by the system rather than using the correct one shipped with GRASS GIS.&lt;br /&gt;
&lt;br /&gt;
Solution: search for all &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files on your computer and &amp;lt;strike&amp;gt;remove&amp;lt;/strike&amp;gt; rename them one by one while trying at the same time to start GRASS GIS successfully. Note that removing some of the other &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files may break the applications which use them (say, while this is possible it has never actually been reported by any user). So, it is a good idea to just rename the DLL file in case you discover that another application needs that particular sqlite3 DLL and you have to reverse the process.&lt;br /&gt;
&lt;br /&gt;
== Legend and scale bar do not show any text ==&lt;br /&gt;
If you add legend (&amp;lt;tt&amp;gt;d.legend&amp;lt;/tt&amp;gt;) or scale bar (&amp;lt;tt&amp;gt;d.barscale&amp;lt;/tt&amp;gt;) to the Map Display and you see only the colors or the bar but no text:&lt;br /&gt;
&lt;br /&gt;
1. Try to run this command within a GRASS session:&lt;br /&gt;
    g.mkfontcap -o&lt;br /&gt;
&lt;br /&gt;
Redraw, the text should appear.&lt;br /&gt;
&lt;br /&gt;
2. Alternatively, in the menu go to ''Settings'' &amp;gt; ''Preferences'', then select ''Map Display'' tab. Use ''Set font'' button to set ''Default font for GRASS displays''. From the list choose &amp;lt;tt&amp;gt;arial&amp;lt;/tt&amp;gt; or another font you wish to use.&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS (winGRASS) exits immediately after I start it complaining about MSVCR DLL ==&lt;br /&gt;
&lt;br /&gt;
'''''Problem: WinGRASS complains about a missing MSVCR71.dll, MSCVP100.dll or similar on startup or exits immediately.'''''&lt;br /&gt;
&lt;br /&gt;
First note that GRASS GIS 6.4.3 and later '''suggest to install the needed &amp;quot;Important Microsoft runtime libraries&amp;quot; already during the installation process'' (on the same install wizard page offering to download sample datasets), so you should make sure that you check this option during installation. If you are sure about that or the step ended with error (e.g. when proxy settings were not recognized), follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
=== Solution A ===&lt;br /&gt;
&lt;br /&gt;
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].&lt;br /&gt;
&lt;br /&gt;
If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=5555 download it here].&lt;br /&gt;
&lt;br /&gt;
=== Solution B ===&lt;br /&gt;
&lt;br /&gt;
If the above ''Solution A'' does not help, or ends with an error, or if it says that you already have everything, you can reproduce steps which the installer is doing:&lt;br /&gt;
# You do not need to uninstall GRASS GIS to fix it. But be sure to close any GRASS windows you have still open.&lt;br /&gt;
# Download [http://download.osgeo.org/osgeo4w/x86/release/msvcrt/msvcrt-1.0.1-12.tar.bz2 msvcrt-1.0.1-12.tar.bz2 archive]&lt;br /&gt;
# Uncompress the archive. Note that it is &amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt;, so to uncompress it use [http://www.7-zip.org 7-Zip] or Winzip or something else that can handle it. It will unzip 3 folders. Keep those 3 folders together (it doesn't matter where).&lt;br /&gt;
# Open the &amp;quot;bin&amp;quot; folder (it is in one of the 3 folders from above) and run the following programs (just double click on them) in the indicated order, following the directions in each wizard:&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2005_x86.exe&amp;lt;/tt&amp;gt; (first screen might be in German, just click left button (&amp;quot;Ja&amp;quot;); then it switches to English)&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2008_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2010_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Once you installed each of these programs, copy the following files (they are in the same &amp;quot;bin&amp;quot; folder) to the &amp;lt;tt&amp;gt;&amp;quot;extrabin&amp;quot;&amp;lt;/tt&amp;gt; folder in the GRASS GIS installation directory (the one you chose during the installation):&lt;br /&gt;
#* &amp;lt;tt&amp;gt;msvcp60.dll, msvcp70.dll, msvcp71.dll, msvcr71.dll, msvcrt.dll&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; So: paste them into e.g. &amp;lt;tt&amp;gt;C:\Program Files (x86)\GRASS GIS 7.0.0beta3\extrabin\&amp;lt;/tt&amp;gt; (assuming you used the default install location).&lt;br /&gt;
# Try GRASS GIS again! It should be running now. If not make sure that you have tried all the steps and try again. If this still does not help, please write to the [http://lists.osgeo.org/pipermail/grass-user/ grass-user] mailing list.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;ImportError: cannot import name MAXREPEAT&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4 (or newer 2.7.x), instead of 2.7.2, solves the problem.&lt;br /&gt;
&lt;br /&gt;
A variant of the problem is also seen with &amp;quot;import re&amp;quot; appearing in the error message. The solution is the same: upgrade the system-wide installed version.&lt;br /&gt;
&lt;br /&gt;
Note that you can also try to remove the system-wide installation but this has a higher risk of breaking some (part) other applciation which depends on the system-wide Python.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 63 could not be located in the dynamic link libexpat.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;libexpat.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 32 could not be located in the dynamic link library proj.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;proj.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== The winGRASS user interface shows up in the wrong language for me! ==&lt;br /&gt;
&lt;br /&gt;
MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.&lt;br /&gt;
&lt;br /&gt;
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==&lt;br /&gt;
&lt;br /&gt;
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;This application has failed to start because libintl3.dll was not found&amp;quot;. (or libiconv2.dll and/or regex2.dll) ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling of the &amp;quot;msys&amp;quot; package in the OSGeo4W installer will bring it back.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;libfreetype-6.dll not installed&amp;quot; (similar wording) ==&lt;br /&gt;
&lt;br /&gt;
You may need to install &amp;quot;libfreetype-6.dll&amp;quot; on your system. For this, launch the OSGeo4W Network Installer &amp;gt; Advanced Install, type freetype in the search box and do the freetype packages installation.&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a GISDBASE not defined error ==&lt;br /&gt;
&lt;br /&gt;
Maybe there is junk in the GRASS session configuration file. To see if this is true and to remove the issue. Rename configuration and a new one will be created next time you run GRASS GIS. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Find where &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; directory is; usually it is &amp;lt;tt&amp;gt;C:\Users\&amp;lt;username&amp;gt;\AppData&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** Note that &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; is a hidden folder&lt;br /&gt;
* Find the GRASS session configuration file.&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS6\grassrc6&amp;lt;/tt&amp;gt; for GRASS GIS 6&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS7\rc&amp;lt;/tt&amp;gt; for GRASS GIS 7&lt;br /&gt;
* Rename session configuration file, e.g. to &amp;lt;tt&amp;gt;grassrc6.old&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rc.old&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Now restart GRASS GIS and the error should be gone (if it was caused by bad configuration file).&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a IOerror: [Errno 2] No such file or directory : 'nul' ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' At startup, I get&lt;br /&gt;
  nul=open &amp;lt;os.devnull, 'w'&amp;gt;&lt;br /&gt;
  IOerror: [Errno 2] No such file or directory : 'nul'&lt;br /&gt;
&lt;br /&gt;
'''A:''' Apparently, it's possible for the service implementing the null device ('nul' pseudo-file) to be stopped or to malfunction.&lt;br /&gt;
&lt;br /&gt;
The status can be checked via the control panel. Start the Device Manager (Control Panel &amp;gt; Hardware and Sound &amp;gt; Device Manager), select View &amp;gt; Show hidden devices, then under Non-Plug and Play Drivers, there should be an entry for &amp;quot;Null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The corresponding registry key is&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null&lt;br /&gt;
&lt;br /&gt;
The Start and Type values should both be 1.&lt;br /&gt;
&lt;br /&gt;
== ERROR: G_realloc: unable to allocate xxx bytes of memory at ... ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' When processing a large dataset, I get something like&lt;br /&gt;
&lt;br /&gt;
  Current region rows: rrrrr, cols: ccccc&lt;br /&gt;
  ERROR: G_realloc: unable to allocate XXX bytes of memory at ...&lt;br /&gt;
&lt;br /&gt;
'''A:''' In general GRASS GIS 7 is able to manage huge datasets in the multi-GB size. For hints, see [[Large raster data processing]]&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;Process ended with non-zero return code -1073741571&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This error message may indicate that the [[Computational region]] region is containing too many pixels.&lt;br /&gt;
&lt;br /&gt;
Background: according to [http://stackoverflow.com/a/26311584/452464 StackOverflow] this number &amp;quot;''is the signed integer representation of Microsoft's 'stack overflow/stack exhaustion' error code 0xC00000FD.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To verify:&lt;br /&gt;
  g.region -p&lt;br /&gt;
&lt;br /&gt;
The mount of &amp;quot;cells&amp;quot; main exceed that being manageable by your computer: in case if this error message the number of rows/columns is likely too high. Either reduce the extent or lower the resolution.&lt;br /&gt;
&lt;br /&gt;
== startup of winGRASS and wxGUI very slow/freezed ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' The startup, location wizzard and wxGUI of winGRASS is very slow, how come?&lt;br /&gt;
&lt;br /&gt;
'''A:''' Some firewall/anti-virus software may be very restrictive regarding new winGRASS version; just update the rules of the firewall/anti-virus software; as all winGRASS release packages are tested for malicious code/virus, they are considered to be secure when originating from the GRASS GIS Web site hosted at OSGeo.&lt;br /&gt;
&lt;br /&gt;
== GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails with an error that an entry point in the sqlite3 dll can't be found, then it is very likely that there is another SQLite library in %PATH% on that windows machine.&lt;br /&gt;
&lt;br /&gt;
First steps are:&lt;br /&gt;
&lt;br /&gt;
* typing in a wondows console: where &amp;quot;$path:sqlite3*&amp;quot;&lt;br /&gt;
* search in C:\Windows in the explorer for sqlite3*&lt;br /&gt;
&lt;br /&gt;
Windows operating systems don't install natively a SQLite dll in any directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
If one of results of the steps above are positive, another software installed the dll in a directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
For a successful installation, following steps should be done:&lt;br /&gt;
&lt;br /&gt;
* rename the found dll (e.g. in C:\Windows\System32\sqlite3.dll) to something like xxxsqlite3.dll&lt;br /&gt;
* check if installation of winGRASS (OSGeo4W or standalone) works&lt;br /&gt;
* if it works, then the software which installed the dll in %PATH% will be broken&lt;br /&gt;
* start other installed software on that machine step by step and see which one is now broken&lt;br /&gt;
* if the broken software is found, move xxxsqlite3.dll to the installation directory of that software (e.g. e.g. c:\Programs\YourSoftwareBreakingGrass) and rename it back to sqlite3.dll&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[WinGRASS Current Status#Known_Issues|Known Issues in winGRASS]]&lt;br /&gt;
* [[MacOSX GRASS errors]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: winGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25039</id>
		<title>WinGRASS errors</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=WinGRASS_errors&amp;diff=25039"/>
		<updated>2018-02-17T23:01:11Z</updated>

		<summary type="html">&lt;p&gt;⚠️Hellik: /* GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Due to the varieties of MS-Windows versions existing, a series of problems with the [[WinGRASS Installation]] have been identified (and solved):&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS exits when started with g.list CalledModuleError and -1073741511 return code ==&lt;br /&gt;
&lt;br /&gt;
If GRASS GIS graphical user interface fails to start with error which ends like this:&lt;br /&gt;
&lt;br /&gt;
 grass.exceptions.CalledModuleError: Module run None ['g.list', '--q', '-m', 'type=raster'] ended with error&lt;br /&gt;
 Process ended with non-zero return code -1073741511. See errors in the (error) output.&lt;br /&gt;
&lt;br /&gt;
you can try to run the following command manually from the command line (the &amp;quot;black&amp;quot; system command line which was started with GRASS GIS).&lt;br /&gt;
&lt;br /&gt;
 g.list -m type=raster&lt;br /&gt;
&lt;br /&gt;
If you run the command, you might get the following error:&lt;br /&gt;
&lt;br /&gt;
 The procedure entry point sqlite3_vfs_register could not be located in the dynamic link library sqlite3.dll.&lt;br /&gt;
&lt;br /&gt;
The issue is caused by different &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files accessible &amp;quot;on path&amp;quot; to all application. In case of GRASS GIS, some incompatible sqlite3 DLL is picked up by the system rather than using the correct one shipped with GRASS GIS.&lt;br /&gt;
&lt;br /&gt;
Solution: search for all &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files on your computer and &amp;lt;strike&amp;gt;remove&amp;lt;/strike&amp;gt; rename them one by one while trying at the same time to start GRASS GIS successfully. Note that removing some of the other &amp;lt;tt&amp;gt;sqlite3.dll&amp;lt;/tt&amp;gt; files may break the applications which use them (say, while this is possible it has never actually been reported by any user). So, it is a good idea to just rename the DLL file in case you discover that another application needs that particular sqlite3 DLL and you have to reverse the process.&lt;br /&gt;
&lt;br /&gt;
== Legend and scale bar do not show any text ==&lt;br /&gt;
If you add legend (&amp;lt;tt&amp;gt;d.legend&amp;lt;/tt&amp;gt;) or scale bar (&amp;lt;tt&amp;gt;d.barscale&amp;lt;/tt&amp;gt;) to the Map Display and you see only the colors or the bar but no text:&lt;br /&gt;
&lt;br /&gt;
1. Try to run this command within a GRASS session:&lt;br /&gt;
    g.mkfontcap -o&lt;br /&gt;
&lt;br /&gt;
Redraw, the text should appear.&lt;br /&gt;
&lt;br /&gt;
2. Alternatively, in the menu go to ''Settings'' &amp;gt; ''Preferences'', then select ''Map Display'' tab. Use ''Set font'' button to set ''Default font for GRASS displays''. From the list choose &amp;lt;tt&amp;gt;arial&amp;lt;/tt&amp;gt; or another font you wish to use.&lt;br /&gt;
&lt;br /&gt;
== The GRASS GIS (winGRASS) exits immediately after I start it complaining about MSVCR DLL ==&lt;br /&gt;
&lt;br /&gt;
'''''Problem: WinGRASS complains about a missing MSVCR71.dll, MSCVP100.dll or similar on startup or exits immediately.'''''&lt;br /&gt;
&lt;br /&gt;
First note that GRASS GIS 6.4.3 and later '''suggest to install the needed &amp;quot;Important Microsoft runtime libraries&amp;quot; already during the installation process'' (on the same install wizard page offering to download sample datasets), so you should make sure that you check this option during installation. If you are sure about that or the step ended with error (e.g. when proxy settings were not recognized), follow the instructions below.&lt;br /&gt;
&lt;br /&gt;
=== Solution A ===&lt;br /&gt;
&lt;br /&gt;
You may need to install Microsoft's .NET Framework. You can [http://msdn.microsoft.com/en-us/netframework/aa569263 download it here].&lt;br /&gt;
&lt;br /&gt;
If it still asks for MSVCP100.dll, [http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=5555 download it here].&lt;br /&gt;
&lt;br /&gt;
=== Solution B ===&lt;br /&gt;
&lt;br /&gt;
If the above ''Solution A'' does not help, or ends with an error, or if it says that you already have everything, you can reproduce steps which the installer is doing:&lt;br /&gt;
# You do not need to uninstall GRASS GIS to fix it. But be sure to close any GRASS windows you have still open.&lt;br /&gt;
# Download [http://download.osgeo.org/osgeo4w/x86/release/msvcrt/msvcrt-1.0.1-12.tar.bz2 msvcrt-1.0.1-12.tar.bz2 archive]&lt;br /&gt;
# Uncompress the archive. Note that it is &amp;lt;tt&amp;gt;tar.bz2&amp;lt;/tt&amp;gt;, so to uncompress it use [http://www.7-zip.org 7-Zip] or Winzip or something else that can handle it. It will unzip 3 folders. Keep those 3 folders together (it doesn't matter where).&lt;br /&gt;
# Open the &amp;quot;bin&amp;quot; folder (it is in one of the 3 folders from above) and run the following programs (just double click on them) in the indicated order, following the directions in each wizard:&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2005_x86.exe&amp;lt;/tt&amp;gt; (first screen might be in German, just click left button (&amp;quot;Ja&amp;quot;); then it switches to English)&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2008_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* &amp;lt;tt&amp;gt;vcredist_2010_x86.exe&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Once you installed each of these programs, copy the following files (they are in the same &amp;quot;bin&amp;quot; folder) to the &amp;lt;tt&amp;gt;&amp;quot;extrabin&amp;quot;&amp;lt;/tt&amp;gt; folder in the GRASS GIS installation directory (the one you chose during the installation):&lt;br /&gt;
#* &amp;lt;tt&amp;gt;msvcp60.dll, msvcp70.dll, msvcp71.dll, msvcr71.dll, msvcrt.dll&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt; So: paste them into e.g. &amp;lt;tt&amp;gt;C:\Program Files (x86)\GRASS GIS 7.0.0beta3\extrabin\&amp;lt;/tt&amp;gt; (assuming you used the default install location).&lt;br /&gt;
# Try GRASS GIS again! It should be running now. If not make sure that you have tried all the steps and try again. If this still does not help, please write to the [http://lists.osgeo.org/pipermail/grass-user/ grass-user] mailing list.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;ImportError: cannot import name MAXREPEAT&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
A system-wide Python installation (2.7.2, independent of GRASS) may cause the trouble. Replacing this system-wide Python installation with version 2.7.4 (or newer 2.7.x), instead of 2.7.2, solves the problem.&lt;br /&gt;
&lt;br /&gt;
A variant of the problem is also seen with &amp;quot;import re&amp;quot; appearing in the error message. The solution is the same: upgrade the system-wide installed version.&lt;br /&gt;
&lt;br /&gt;
Note that you can also try to remove the system-wide installation but this has a higher risk of breaking some (part) other applciation which depends on the system-wide Python.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 63 could not be located in the dynamic link libexpat.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;libexpat.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;The ordinal 32 could not be located in the dynamic link library proj.dll.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
You have likely an old &amp;quot;proj.dll&amp;quot; in your directory %WINDIR%\system32 (or %WINDIR%\sysWOW64). Try to rename that file (or delete after backup). Then winGRASS should work.&lt;br /&gt;
&lt;br /&gt;
== The winGRASS user interface shows up in the wrong language for me! ==&lt;br /&gt;
&lt;br /&gt;
MSys users should be setting the LANG, LC_MESSAGES etc. variables in ~/.bash_profile (etc) if they want it set to a specific locale other than the default locale of the system.&lt;br /&gt;
&lt;br /&gt;
== ''This'' and ''that'' is not functioning in my winGRASS installation! ==&lt;br /&gt;
&lt;br /&gt;
May happen, we are working on it :) Please visit the [http://trac.osgeo.org/grass/wiki/CompileOnWindows#Errata Errata page] and the [[WinGRASS_Current_Status#Known_Issues|WinGRASS Current Status]] page&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;This application has failed to start because libintl3.dll was not found&amp;quot;. (or libiconv2.dll and/or regex2.dll) ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling of the &amp;quot;msys&amp;quot; package in the OSGeo4W installer will bring it back.&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;libfreetype-6.dll not installed&amp;quot; (similar wording) ==&lt;br /&gt;
&lt;br /&gt;
You may need to install &amp;quot;libfreetype-6.dll&amp;quot; on your system. For this, launch the OSGeo4W Network Installer &amp;gt; Advanced Install, type freetype in the search box and do the freetype packages installation.&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a GISDBASE not defined error ==&lt;br /&gt;
&lt;br /&gt;
Maybe there is junk in the GRASS session configuration file. To see if this is true and to remove the issue. Rename configuration and a new one will be created next time you run GRASS GIS. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Find where &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; directory is; usually it is &amp;lt;tt&amp;gt;C:\Users\&amp;lt;username&amp;gt;\AppData&amp;lt;/tt&amp;gt;.&lt;br /&gt;
** Note that &amp;lt;tt&amp;gt;%APPDATA%&amp;lt;/tt&amp;gt; is a hidden folder&lt;br /&gt;
* Find the GRASS session configuration file.&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS6\grassrc6&amp;lt;/tt&amp;gt; for GRASS GIS 6&lt;br /&gt;
** &amp;lt;tt&amp;gt;%APPDATA%\GRASS7\rc&amp;lt;/tt&amp;gt; for GRASS GIS 7&lt;br /&gt;
* Rename session configuration file, e.g. to &amp;lt;tt&amp;gt;grassrc6.old&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rc.old&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Now restart GRASS GIS and the error should be gone (if it was caused by bad configuration file).&lt;br /&gt;
&lt;br /&gt;
== The startup fails with a IOerror: [Errno 2] No such file or directory : 'nul' ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' At startup, I get&lt;br /&gt;
  nul=open &amp;lt;os.devnull, 'w'&amp;gt;&lt;br /&gt;
  IOerror: [Errno 2] No such file or directory : 'nul'&lt;br /&gt;
&lt;br /&gt;
'''A:''' Apparently, it's possible for the service implementing the null device ('nul' pseudo-file) to be stopped or to malfunction.&lt;br /&gt;
&lt;br /&gt;
The status can be checked via the control panel. Start the Device Manager (Control Panel &amp;gt; Hardware and Sound &amp;gt; Device Manager), select View &amp;gt; Show hidden devices, then under Non-Plug and Play Drivers, there should be an entry for &amp;quot;Null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The corresponding registry key is&lt;br /&gt;
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null&lt;br /&gt;
&lt;br /&gt;
The Start and Type values should both be 1.&lt;br /&gt;
&lt;br /&gt;
== ERROR: G_realloc: unable to allocate xxx bytes of memory at ... ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' When processing a large dataset, I get something like&lt;br /&gt;
&lt;br /&gt;
  Current region rows: rrrrr, cols: ccccc&lt;br /&gt;
  ERROR: G_realloc: unable to allocate XXX bytes of memory at ...&lt;br /&gt;
&lt;br /&gt;
'''A:''' In general GRASS GIS 7 is able to manage huge datasets in the multi-GB size. For hints, see [[Large raster data processing]]&lt;br /&gt;
&lt;br /&gt;
== Error message &amp;quot;Process ended with non-zero return code -1073741571&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This error message may indicate that the [[Computational region]] region is containing too many pixels.&lt;br /&gt;
&lt;br /&gt;
Background: according to [http://stackoverflow.com/a/26311584/452464 StackOverflow] this number &amp;quot;''is the signed integer representation of Microsoft's 'stack overflow/stack exhaustion' error code 0xC00000FD.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To verify:&lt;br /&gt;
  g.region -p&lt;br /&gt;
&lt;br /&gt;
The mount of &amp;quot;cells&amp;quot; main exceed that being manageable by your computer: in case if this error message the number of rows/columns is likely too high. Either reduce the extent or lower the resolution.&lt;br /&gt;
&lt;br /&gt;
== startup of winGRASS and wxGUI very slow/freezed ==&lt;br /&gt;
&lt;br /&gt;
'''Q:''' The startup, location wizzard and wxGUI of winGRASS is very slow, how come?&lt;br /&gt;
&lt;br /&gt;
'''A:''' Some firewall/anti-virus software may be very restrictive regarding new winGRASS version; just update the rules of the firewall/anti-virus software; as all winGRASS release packages are tested for malicious code/virus, they are considered to be secure when originating from the GRASS GIS Web site hosted at OSGeo.&lt;br /&gt;
&lt;br /&gt;
== GRASS GIS installation (OSGeo4W or standalone) fails with a sqlite3 error ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails with an error that an entry point in the sqlite3 dll can't be found, then it is very likely that there is another SQLite library in %PATH% on that windows machine.&lt;br /&gt;
&lt;br /&gt;
First steps are:&lt;br /&gt;
&lt;br /&gt;
* typing in a wondows console: where &amp;quot;$path:sqlite3*&amp;quot;&lt;br /&gt;
* search in C:\Windows in the explorer for sqlite3*&lt;br /&gt;
&lt;br /&gt;
Windows operating systems don't install natively a SQLite dll in any directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
If one of results of the steps above are positive, another software installed the dll in a directory available in %PATH%.&lt;br /&gt;
&lt;br /&gt;
For a successful installation, following steps should be done:&lt;br /&gt;
&lt;br /&gt;
* rename the found dll (e.g. in C:\Windows\System32\sqlite3.dll) to something like xxxsqlite3.dll&lt;br /&gt;
* check if installation of winGRASS (OSGeo4W or standalone) works&lt;br /&gt;
* if it works, then the software which installed the dll in %PATH% will be broken&lt;br /&gt;
* start other installed software on that machine step by step and see which one is now broken&lt;br /&gt;
* if the broken software is found, move xxxsqlite3.dll to the installation directory of that software (e.g. e.g. c:\Programs\YourSoftwareBreakingGrass) and rename it back&lt;br /&gt;
to sqlite3.dll&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[WinGRASS Current Status#Known_Issues|Known Issues in winGRASS]]&lt;br /&gt;
* [[MacOSX GRASS errors]]&lt;br /&gt;
&lt;br /&gt;
[[Category: FAQ]]&lt;br /&gt;
[[Category: winGRASS]]&lt;/div&gt;</summary>
		<author><name>⚠️Hellik</name></author>
	</entry>
</feed>