Questions tagged [grass]

GRASS GIS, commonly referred to as GRASS (Geographic Resources Analysis Support System), is a free and open source Geographic Information System (GIS) software suite used for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization.

GRASS GIS, commonly referred to as GRASS (Geographic Resources Analysis Support System), is a free and open source Geographic Information System (GIS) software suite used for geospatial data management and analysis, image processing, graphics and maps production, spatial modeling, and visualization. GRASS GIS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies. It is a founding member of the Open Source Geospatial Foundation (OSGeo).

http://grass.osgeo.org/

84 questions
9
votes
3 answers

"Missing" lib for rpm install when it is present in rpm file

I'm generating an rpm file for centos but when I try to install it on a clean machine it fails with: --> Running transaction check ---> Package grass.x86_64 0:6.4.4-1.el6 will be installed --> Processing Dependency: libgrass_rli.so()(64bit) for…
Ian Turton
  • 10,018
  • 1
  • 28
  • 47
7
votes
1 answer

Copying the neo4j browser visualisations with d3.js

I'm looking to create some visualisations for my neo4j data, and there are some really nice settings in use in the browser that's bundled with it, but there seem less than straightforward to emulate when using d3 - my setup was based on the neo4j…
Olly B
  • 137
  • 7
4
votes
0 answers

GRASS GIS: v.vect.stats aborts when working on a large(2GB) shapefile

I have a bunch of point shapefiles, each ~2-3GB, which I upload into GRASS GIS, to find the diversity of points in each cell of a gridded shapefile using 'v.vect.stats'. This operation worked fine for smaller datasets(<2 GB). I'm not sure if it's…
4
votes
3 answers

Fill raster holes in R or Grass GIS

Sample data x <- raster(x=matrix(data=1:36, nrow=6), xmn=-1000, xmx=1000, ymn=-100, ymx=900) x[c(8, 15, 16, 17, 22, 25, 26, 30, 31)] <- NA plot(x) The problem How do I distinguish (algorithmically) the holes in the raster i.e., the area bounded by…
shekeine
  • 1,445
  • 10
  • 22
3
votes
2 answers

I am trying to run the r.reclass on QGIS and keep getting an indentation error?

I am trying to reclassify a raster on QGIS 3.4 and I keep getting this error: File "/Applications/QGIS3.app/Contents/MacOS/grass/grass74", line 1697 sys.stdout.write("%s\n" % grass_version) ^ TabError: inconsistent use of tabs and spaces in…
CharlotteJ
  • 31
  • 1
3
votes
1 answer

How to Display a Node Label Using CSS / GRASS

I'm trying to include the node label in the visualisation so that the reader can immediately see the type of each node. I've modified the stylesheet / GRASS to that a node of type 'Requirement' is: node.Requirement { color: #CCCCFF; …
wikitect
  • 437
  • 4
  • 12
3
votes
2 answers

Python: script to import multiple LANDSAT images to Grass GIS

I'm trying to write a Python code that will import LANDSAT satellite images into Grass GIS by adapting this code: http://grass.osgeo.org/wiki/LANDSAT LANDSAT tiles are downloaded as folders, each containing 7 tiff images (Band 1-7). I therefore have…
si_2012
  • 649
  • 1
  • 6
  • 11
2
votes
3 answers

Parse geojson files with C

I can't find any simple C source file or library to parse geojson files (implementing rfc7946 standard). Maybe such parsers exist in projects like GRASS or GDAL? But I still have a little trouble navigating the world of C libraries. Some tracks ?
ce.teuf
  • 746
  • 6
  • 13
2
votes
1 answer

GRASS fails to start

I get the following error when trying to start grass for the first time $ grass -text ERROR: Unable to start GRASS GIS. You have the choice to: - Launch the graphical user interface with the '-gui' switch grass74 -gui - Launch with path to…
Mittenchops
  • 18,633
  • 33
  • 128
  • 246
2
votes
0 answers

Alternative method to perform 'r.contour.step'

I would like to know what algorithm has been used in 'r.contour.step' in QGIS processing Toolbox. What is the method incorporated ? I was thinking on not making use of QGIS or GRASS packages in python (i.e. "import grass.script as grass","import…
roshualine
  • 81
  • 1
  • 11
2
votes
1 answer

Converting strings to number inside python dictionary parsed from Grass

After parsing a Grass GIS modules inside Python, I am trying to use this dictionary on my next step of raster calculation. But everything from the parsed dictionary is passed as strings. # original grass command used: # r.stat=…
2
votes
1 answer

How to delete a layer from a Grass 7 mapset? (Grass 7 plugin in QGIS 14.9)

I'm using the Grass 7 plugin in QGIS 2.14.9 and I can't find how delete a layer from the Grass mapset. This function doesn't exist in the file management module.
user29366
  • 21
  • 1
2
votes
1 answer

Rmarkdown does not reproduce bash code properly

I'm using Rmarkdown to show some bash code: --- title: "Untitled" author: "JPD" date: "20 December 2016" output: html_document --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE) ``` ```{r gp.setup, engine= 'bash',…
JPD
  • 2,561
  • 5
  • 22
  • 26
2
votes
0 answers

Running GRASS GIS 7 from R

I am trying to run GRASS GIS version 7.0.3 from R version 3.2.3 using Windows 7. I installed the R package rgrass7 (which provides the interface between GRASS GIS 7 and R) from the CRAN repository. In R running as Administrator, I tried to…
khajlk
  • 791
  • 1
  • 12
  • 32
2
votes
1 answer

Trouble getting started with Grass and Ipython notebook

I am trying to get started with GRASS scripting using Python and I figured that I would use Ipython notebooks, since I'm familiar with them. I follow this tutorial on youtube, but Python crashes when I try to start Ipython notebook in the grass…
Johan
  • 406
  • 6
  • 20
1
2 3 4 5 6