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

6
votes
1answer
6k 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
142 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 ...
2
votes
1answer
166 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
74 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
205 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
73 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
50 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
146 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
142 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
87 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
26 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
22 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
393 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
57 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
167 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
43 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
18 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
179 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
98 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
26 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
3k 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
22 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
151 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
569 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
46 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
505 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
165 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
268 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
539 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 ...
1
vote
1answer
148 views

Which DOS method use to convert at-sensor radiance to at-surface values in GRASS (landsat data, i.landsat.toar modul)?

I am trying to calculate surface reflectance values from raw Landsat DN data downloaded from GLOVIS. I have imported Landsat data in GRASS 6 with header by i.landsat.import and reprojected the scene ...
2
votes
1answer
46 views

Appending map to another map using GRASS?

I'm trying to simply append a map to other map, without any sort of geometric operations as merge or intersects, just the original geometries with theirs attributes. This is what I already tried: # ...
1
vote
0answers
78 views

GRASS GIS G_malloc error

I am new to GIS. I downloaded GRASS and the sample data sets and am attempting to use the tutorial at: http://grasswiki.osgeo.org/wiki/Quick_wxGUI_tutorial. During the step, "Create a random ...
0
votes
1answer
119 views

grass - add on problem

I can't install the addon in grass 6.4.3 to my linux mint. i've already installed the SVN and than it says: GRASS 6.4.3 (fabian_idrisi):~ > g.extension r.fuzzy Fetching from GRASS-Addons SVN (be ...
0
votes
0answers
31 views

Changing tracks to vectors in a grid

This is a version of a question that I posted on the GRASS list, but I didn't get any suggestions there. I would like to overlay a grid (cell size about 500 m x 500m) over an animal track created from ...
4
votes
3answers
2k views

How to open/display and extract NetCDF files info?

I am working with NetCDF files using R & Matlab and I would like to know if the GIS community is using them. I know that ArcGIS can open & display, however most of the times the results are ...
1
vote
1answer
371 views

How to debug “Unable to load GDAL library” error in QGIS 2.0?

I have a problem with r.surf.contour. I create a DTM with v.to.rast.attribute and then use the r.surf.contour and it works fine in QGIS 1.9 but with QGIS 2.0 doesn't work. I have a contour shapefile ...
2
votes
0answers
64 views

GRASS 6.4.4 vector command in crashes QGIS 2.4 (g.gisenv.exe has stopped working)

I am running Windows 8.1 64 bit, and have QGIS 2.4 and 2.6 installed. When I try to use a GRASS 6.4.4 vector command (specifically v.clean), I receive an error message in an endless loop, and the only ...
0
votes
1answer
85 views

GRASS GIS v.in.ply

I'm trying to import a .ply file from MeshLab 1.33 into GRASS GIS 7.0 using v.in.ply addon, but I get the error message: ERROR: List index must be integer, is uchar This appears to be referring to ...
1
vote
1answer
36 views

Cost Surface No sense Results. GRASS

I have some doubts with the generation of a cost surface with r.walk of GRASS. It's assumed that the resulting layer is measured in seconds, but when I try to convert seconds in days march (6h per ...
1
vote
0answers
25 views

Distance between each feature from and every feature to in GRASS

In GRASS, v.distance calculate the minimum distance from each point feature in the 'from'-layer to the nearest feature in the 'to'-layer. I should instead calculate the minimum distance from each ...
1
vote
1answer
72 views

Grass GIS “v.in.ogr”: How to prevent crossing lines from beeing split where they don't share a common node?

I want to import a road network into grass gis to run network analyses. I use "v.in.ogr" to import my road shapefile. The problem is that Grass GIS seems to split every crossing line no matter if they ...
4
votes
2answers
1k views

Is there a Focal Statistics (spatial analyst) tool in ArcGIS equivalent in QGIS?

I'm attempting to use QGIS v2.0.1 to accomplish the same tasks that I can do using ArcMap v10.1 and I'm running into some trouble finding equivalent tools. In ArcMap I am using the Focal Statistics ...
0
votes
0answers
36 views

6s parameters used in grass gis

I am working on grass gis 6.4.4 , i.atcorr module. There is no clear document for the parameters used for the calculation of 6s output parameters. I want to know about the parameters such as ti.sast, ...
3
votes
2answers
527 views

How to determine aerosol model value for i.atcorr in GRASS?

The i.atcorr module in GRASS requires aerosol model data to perform atmospheric correction using the 6S algorithm. It seems like I need a value from one of these parameters to continue: Estimate ...
1
vote
1answer
109 views

grass gis i.atcorr input should be reflectance or radiance

My question is what should be the input image in i.atcorr for grass 6.4.4 version? I tried giving both reflectance (DN) and radiance as input but values are coming properly. I read some where, it ...
0
votes
0answers
32 views

GRASS: How to remove several categories from a geometry?

I am totally new to GRASS (and have found it difficult to get into that way of thinking and its terminology). I use grass70 under Ubuntu 14.04. I have the following problem which I have tried to ...
0
votes
1answer
111 views

Qgis map composer shows a huge red cross

I can show this best by a picture: This cross also shows when I export it as raster or pdf. What is it and how can I get rid of it? I am using Qgis 2.4 and the map was done with the help of the ...