GRASS GIS (Geographic Resources Analysis Support System) is a free, open source geographical information system (GIS) capable of handling raster, topological vector, image processing, and graphic data.

learn more… | top users | synonyms

0
votes
1answer
55 views

Raster import from GRASS to R - handling nan/NA

I have several doubts, so I will try to be as clear as possible... thanks for your understanding. I am generating a regression model using several environmental covariates. Before importing the GIS ...
1
vote
0answers
45 views

Displaying a Digitial Elevation Model using GRASS GIS draped by an RGB Raster

I have the following: Digital Elevation Model from SRTM LANDSAT Imagery from the same area I wish to display the DEM draped with the raster band combination (3,2,1) using GRASS GIS. My ...
3
votes
1answer
235 views

Pan sharpen Landsat 8 using Grass 7

I have followed this great tutorial on pan sharpening using Grass GIS 7 (I'm using beta 3). Everything in the tutorial seemed to have worked, but my final output is not as expected (pictured below). ...
1
vote
1answer
58 views

i.landsat.toar doesn't Work With Band 6 of Landsat 7 in Grass 7

I'm facing an issue when running i.landsat.toar with a Landsat 7 image, here's the list of files: LE70010752014040CUB00_B1 LE70010752014040CUB00_B2 LE70010752014040CUB00_B3 LE70010752014040CUB00_B4 ...
1
vote
1answer
38 views

Unable to find a specific GRASS add-on in QGIS

I would like to use the r.xtent add-on made for GRASS GIS (http://svn.osgeo.org/grass/grass-addons/grass6/raster/r.xtent/description.html) in QGIS using the GRASS plugin, but I can't seem to find it. ...
3
votes
1answer
93 views

It is possible to verify landsat reflectance values?

My question is really wide today, as I am still beginner in Remote sensing. I´ve asked a GRASS programmer to prepare for me Landsat reflectance values from raw DN values (1 scene per year from 1987 to ...
5
votes
3answers
4k views

New QGIS install can't find GISBASE

At QGIS startup I get the message: "QGIS couldn't find your GRASS installation. Would you like to specify path (GISBASE) to your GRASS installation?" (Windows 7) No amount of rooting around the ...
0
votes
1answer
98 views

Why can't I load more than 12 elevation files into NVIZ?

I have a large set of rasters in a GRASS mapset, which I would like to use as frames in an animation, visualizing the raster data as elevation. NVIZ is an obvious tool for this, but I'm having trouble ...
0
votes
1answer
54 views

Calculate shortest path not on land but over sea

I wonder if someone can give me some advice on how to calculate the shortest path between two points, not over land but over sea. I know that I will have to take in to account the magnitude of sea ...
2
votes
3answers
1k views

How to access vector coordinates in GRASS GIS from python?

Is there a way to iterate over lines and their vertices using python? I'm new to GRASS GIS, and it looks like there are ways to read raster (for numpy), but I don't see a direct way to access ...
2
votes
1answer
446 views

libgdal1 and libgdal1h conflict

I am on Ubuntu 14.04. When I am installing PostGIS-2.1, it's asking for libgdal1 library. But when I am installing libgdal1, it's removing grass and gdal. Can someone please guide me how to install ...
4
votes
1answer
340 views

Snap points to line and calculate chainage using Open source GIS

I have a line layer (representing a pipeline) and a points layer (representing valves) and I would like to calculate the chainage of the valves along the pipeline. I assume that I would first need ...
2
votes
0answers
91 views

Error when using r.watershed

When i am calculating LS Factor using Grass r.watershed the error "Raster map or group not found" (image below) keeps turning on. I don´t understand why this error happens if i am using a elevation ...
2
votes
0answers
44 views

3D interpolating

Our final year project domain is soil contamination modeling. We collected soil samples at the depths of 0.3 cm ,0.5cm , 1cm , 1.5 cm in about 25 locations. We considered 8 contaminants- p h, sodium, ...
1
vote
1answer
240 views

QGIS 2.6.1 Brighton/ Grass pluggin r.stream.xxxx

I just updated my OSGeo4W and now have QGIS 2.6.1 and GRASS 6.4.4 and am trying to get strahler stream order. I am figuring out GRASS 6.4.4 GUI by itself but GRASS is easier withing QGIS, however, I ...
5
votes
3answers
3k views

How to reclassify a float raster?

I have three rasters which represent distance (in metres) from certain things (bus stops, parks, libraries). I would like to reclassify these rasters so that they get integer values based on the ...
1
vote
0answers
63 views

QGIS and GRASS r.fill.dir processing times

I am new to the open source software and have performed analysis in ArcGIS in the past. I am learning as I go on this processes for OS. I am trying to calculate stream order (strahler) on a 1 gig ...
6
votes
1answer
5k views

Converting Shapefile to MySQL?

I have used Grass GIS imported a .shp file; I now want to export this file to MySQL. I understood that MySQL will contain the function of all three the files necessary in a Shape file system (.shp - ...
7
votes
1answer
1k views

GRASS v.Overlay/QGIS Intersect Speed intersecting line and polygon

Im currently trying to convert my scripts from ArcGIS to QGIS but one aspect that is extremely slow (imo) is trying to intersect a polygon with a line feature. I feel as though there must be a better ...
1
vote
0answers
136 views

r.stream.* commands do not work in qgis environment

I have been working for a while with some grass commands in QGIS environment (r.watershed, r.terraflow, r.thin, r.to.vect etc) with out any problem. I haven't been able to get any results at all from ...
8
votes
2answers
2k views

How to compute parameters for QGIS Affine transformation?

I have a vector floorplan (DXF) that I've added to a blank project in QGIS using the Dxf2Shp plugin. I've been reading tutorials and StackExchange threads, but I can't seem to find out how to ...
2
votes
1answer
118 views

GRASS plugin absent from QGIS 2.6 OSGeo4W install

I've just installed QGIS 2.6 Brighton using the OSGeo4W installation. The GRASS toolbox plugin has not, however installed as it had been with previous versions. Before, I was able to access the GRASS ...
1
vote
1answer
69 views

How to reposition a polygon Shapefile using ground control points and v.rectify?

I'm new to Grass. I would like to reposition a polygon shapefile using ground control points and v.rectify seemed just the perfect tool to do that. The raster from which the shapefile comes from was ...
4
votes
1answer
2k views

Convert shapefile lines to a polygon in GRASS

I have a shapefile of a map that is the outline of a number of islands. I would like to convert the lines into polygons (ie all islands filled in) using GRASS. I searched on how to do this with GRASS ...
3
votes
2answers
161 views

QGIS GRASS shell commands not working in Yosemite

First time asking a question here. Running GRASS 6.4.3 within QGIS 2.4.0 on Mac OS 10.10 Yosemite. I'm trying to run v.net.iso within the GRASS shell, but the following error is returned every time: ...
2
votes
1answer
60 views

Python library for geometrical calculations using with GRASS GIS?

I have to do some geometrical calculations in 2D(point, lines, line segments and intersection points) in Python, and then use it in GRASS GIS. What is the best library to use for it? I'm trying with ...
0
votes
1answer
38 views

to remove location of grass

i wan to delete the Location of a data set in grass gis 6.4.4 using grass command. For customizing grass for our data set, i need to load different location and mapsets of different regions of ...
1
vote
1answer
132 views

Empty signature file after i.gensig in GRASS

I'm trying to make a supervised classification in Grass 6.4.3 under Linuxmint 16. After digitizing the training areas, I transformed them from vector to raster. Then I've done the following: just in ...
2
votes
0answers
119 views

Import vtk file in grass gis

last summer I made the relief of a cave, and at this time I returned with Therion software. This survey is in 3d and I can save it in the formats .Lox, .3d, vtk. I would like to import it in grass or ...
3
votes
0answers
75 views

Extract representative slope profiles from hillslope polygons

With the help of the Whitebox Geospatial Analysis Tools I was able to easily extract hillslopes from a river network in combination with a flow direction map. Now I would like to extract ...
0
votes
0answers
25 views

r.massmov GRASS Addon execution error

I'm a rookie Grass7.0 user, and I am having a problem in executing the r.massmov addon. After installing r.massmov through the graphical user interface (Menu - Settings - Addons Extension - Install), ...
0
votes
0answers
19 views

importing to tif

i am working on grass 6.4.4. i want to know the details of which GDAL version grass is using.i want to use r.in.gdal.exe which is giving "no dlls found in water fall model" error message.remaining ...
3
votes
1answer
363 views

how can i correct atmospherically landsat 8 images?

I am trying to correct atmospherically an image from Landsat 8 with 6s model from grass 7 and 6.4. Because there are no parameters for Landsat 8 yet, I am trying to give parameters from Landsat 7 ...
2
votes
1answer
48 views

Delination of half basins or hillslopes from a flow direction map or/and a stream network

I am using the GrassGIS r.stream.extract extension to delineate a stream network with the options 'mexp' (Montgomery exponent) and 'd8cut' (Use SFD above this threshold). It works perfect so far and ...
2
votes
1answer
106 views

Problems using r.reclass in QGIS: invalid reclass rule error?

I need to reclass some rasters, but i am having a couple of problems, i can´t generate a new raster with the reclassification using the r.reclass of GRASS. For the question here i´m using as example ...
1
vote
1answer
38 views

Calculate raster mode with r.mode - problem with decimals

I am working with a raster file that represents the percentage of vinyards by commune (e.g., municipality) in a region in France. The statistics were calculated for each commune based on surveys from ...
0
votes
0answers
16 views

Calculate r.mode and r.univar with active MASK

This may be a very stupid question, but I am new in GRASS. I am calculating summary statistics with r.univar and the mode with r.mode. I have an active mask which differentiates agricultural from non ...
2
votes
2answers
133 views

GRASS tutorials, spec r.walk, r.cost

Recently got enamored with the idea of doing a time-based and an energy-based least cost path analysis. After doing some research, I see that GRASS is the best for executing time-based given the ...
1
vote
1answer
79 views

Use r.mapcalculator in Python console

I'm trying to use the r.mapcalculator algorithim in a python script, but I'm having problems in using the r.mapcalculator to tranform a raster layer with float values into integers. Using the ...
3
votes
0answers
22 views

execute binary from grass shell?

I am new to grass and could really use some help with my problem. I am using hydrologic modeling software, and it include a grass program that I need to run from the grass shell. My question is, how ...
3
votes
3answers
2k views

How to set all pixels with value <= 0 to “nodata” in DEM raster?

I have a DEM raster with pixel values between about 3000 and -0.0003. I need to set all pixel with a value of 0 and smaler (<=0) to "nodata" (for later raster calculations and to reduce the ...
1
vote
1answer
20 views

adding new sensor

i want to add new sensor in grass. i followed the link http://trac.osgeo.org/grass/browser/grass/trunk/imagery/i.atcorr/README and created the .csv for our sensor.but where should i incorporate this ...
18
votes
5answers
1k views

How to simplify a routable network?

I have a network graph that I need to simplify in the sense of reducing the number of edges. The idea would be to merge nodes that are located close together and remove the connecting short edges. ...
1
vote
0answers
97 views

How to extract percentage of land cover from a raster according to multiple shapefiles?

I have a raster map that represents land cover of a region, and different shapefiles (total 120) in the same region. I want to know the percentage of every land cover for each shapefile. For example, ...
2
votes
2answers
502 views

minimum distance from the shore (how to retrieve the “shore vertices”)

I am student of Statistics, this is my first time using GIS., I am sorry for the stupidity of the question but I browsed online and could not find a satisfactory answer. I have some spatial data in ...
1
vote
1answer
42 views

How to fix this “Sorry <1> is not a valid option” in GRASS-Ubuntu using r.water.outlet?

I am working with this .sh code (a while loop, extracted from: http://www.surfaces.co.il/) to create watersheds from drainage raster and outlet point of every watershed, but I obtain this error: ...
2
votes
1answer
316 views

What am I doing wrong with QGIS v.clean?

I thought I understood how the GRASS v.clean tool worked in QGIS (in 2.6.1 Brighton) but I keep getting unexpected results and errors with a polygon ShapeFile. I've run the QGIS TopologyChecker with ...
1
vote
0answers
146 views

Defining the boundary of a catchment area

I digitized contour lines from topographic maps and created a DEM. With the DEM, I estimated the boundary of a catchment area. Estimated positional accuracy of topographic maps is RMSE = 65 m, with a ...
1
vote
1answer
238 views

GRASS 7 - raster calculator “and”

I am struggling with one thing in the raster calculator in GRASS GIS 7: I want to create a raster_b from raster_a, with raster_a values between >=-0.15 and <=0.15. The raster containing values ...
3
votes
3answers
487 views

How to calculate peaks in a DEM

How could I extract all peaks from a DEM (large mountainous area)? Peak means something like: a pixel which is sourrounded by other pixels with smaler elevation numbers in a area arround the ...