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

3
votes
4answers
948 views

GRASS 6.4.3 Crashes on Startup; libintl-8.dll cited

I recently installed QGIS 2. I used the advanced OSGeo4W installer that I downloaded from the QGIS download page. GRASS is included in the stack. When I attempt to open GRASS, I receive the following ...
3
votes
2answers
283 views

How do I tell GRASS where to find Python?

For some reason, when I start GRASS on my Mac it says that it has found Python 2.6.7. However, /usr/bin/python version is 2.7.2 and I can't find a lower version anywhere on my system. Potentially ...
3
votes
2answers
829 views

Using 'gdalwarp' in Python script for Grass

I'm writing a Python script that aims to re-project various LANDSAT tiles into a common projection and then import the tiles into Grass. The script at present is shown below: #!/usr/bin/python ...
3
votes
2answers
3k views

How to calculate LS Factor of Watershed for RUSLE Calculation?

I managed to get subbasins for my catchment (7 km^2) with their areas but I haven't figured out how to get the LS factor (see Revised Universal Soil Loss Equation) from it. I have the vector file ...
3
votes
1answer
121 views

Can two versions of GRASS be installed in a computer and still run independently?

GRASS 6.4.0 is currently installed in my computer. The script that I am trying to run is present in 6.4.1. It is stated in my previous post. If I installed 6.4.1, will my 6.4.0 still run? I don't want ...
3
votes
2answers
1k views

How to delete a base map in GRASS?

I'm trying to delete a map that I used as a mask before, but I cannot delete it using g.remove. It displays this: g.remove rast=raster_Mnorzagaray@PERMANENT [raster_Mnorzagaray@PERMANENT@PERMANENT] ...
3
votes
2answers
225 views

How to make the arrows in d.rast.arrow GRASS script visible?

I'm trying to create a Flow or directional raster map (with arrows) from an SRTM elevation map that I downloaded from CGIAR. I already created an aspectMap to be used for the d.rast.arrow. I used ...
3
votes
2answers
142 views

Least cost path between various points QGIS

Is there an easy way to find the least cost path (LCP) between various points in an open source GIS? This question has actually already been asked here: How to find a least cost path through several ...
3
votes
2answers
468 views

How to fix unreachable nodes in QGIS GRASS network?

I have created a network with the GRASS module v.net. But when I try to create the travelling salesman path with v.net.salesman, I get: Destination node 9383 is unreachable from node 9398 If I ...
3
votes
3answers
800 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 ...
3
votes
1answer
1k views

How to get custom colormap onto 3D NVIZ in QGIS GRASS

I am trying to create a 3D version of my 2D raster using QGIS GRASS NVIZ. I have been following these steps: ...
3
votes
1answer
2k views

GRASS GIS: How do I run a batch (bash?) script?

I am in a GRASS database (in command shell), where I want to run a loop function. For example, I want to do an operation on many raster files that are in the database. I know this must be done through ...
3
votes
3answers
813 views

Topographic correction (for land use classification) with SAGA or GRASS

Is there a module in GRASS or SAGA (or a alternative open program) to do a topographic correction of a landsat image to enhance the land use classification? Thanks! Martin
3
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 ...
3
votes
1answer
657 views

Correct ASTER with SRTM or Topographic Map

I have a problem with my DEM again. I decided to use ASTER GDEM2 (for different reasons). ASTER GDEM2 have its problems, I know, and I dont want to discuss that again. I have to use it, because SRTM ...
3
votes
1answer
730 views

Cell calculations; QGIS,GRASS,GDAL,SAGA

I recently asked a question about trying to calculate the slope over distance (manually) using QGIS, but then I came up with another way of solving the problem, but I would have to get some help for ...
3
votes
1answer
537 views

Change raster value for an area based on a class of another raster

I would like to change all raster values in raster A that fall into the locations of category/class 1 of raster B. Here, some more details. I did a calculation on a DEM resulting in different ...
3
votes
2answers
262 views

Can GRASS v.net.iso split between nodes?

Can GRASS's v.net.iso module split networks between nodes on the network, i.e., if I am finding the area within a cost of 400, and there is a line segment with a cost of 800 leaving the center node, ...
3
votes
3answers
815 views

How do I draw on a vector map in GRASS?

I have a vector map that has two lines. I want to have the two connected. Is there a way for me to draw a line to connect the two? I am using GRASS gis by the way. The two lines that I want to connect ...
3
votes
1answer
586 views

spgrass6 and GIS_LOCK

I would like to thank's everyone first, i learn a lot here (gis.stackexchange) about GIS. I have one question about the use of GRASS within R session, i'm able to do some basic task, but i have one ...
3
votes
1answer
495 views

Slope, aspect and beam in R.Sun (GRASS)

I'm starting to mess about with the solar radiation packages of GRASS and ArcGIS and have become rather stuck on the GRASS side of matters. I have a DSM area, and that is feeding into GRASS well ...
3
votes
1answer
579 views

How to get the Flow or directional raster map using GRASS?

Aside from using r.fill.dir in GRASS, is this the script to produce the Flow or directional raster map? Is the output for the script the following graphic? ...
3
votes
1answer
71 views

Get results from using GRASS algorithms with the QGIS processing tool

I am trying to write a plugin in QGIS that uses at some point a GRASS algorithm : "v.split.length", accessible by using the processing class, and here is how I am using it : ...
3
votes
1answer
81 views

How to add my own GRASS algorithms to Processing?

I need to use algorithm r.bioclimatic from GRASS in QGIS but I see that this algorithm don't exist in Processing Toolbox. A search a way of add this algorithm to Processing and in GRASS and Sextante ...
3
votes
1answer
45 views

Generate a raster with a uniform value using QGis

I'm working on a project using the qgis-modeler and i want generate a raster with a uniform value. i'm using r.surf.random function of GRASS which need min and max value but i want have only one ...
3
votes
1answer
368 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 ...
3
votes
2answers
297 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: ...
3
votes
1answer
209 views

Practical tools to delineate large scale watershed?

I would like to do some watershed delineation at national/regional level (using SRTM-90 data). I have experimented with r.watershed (GRASS 6.4.3) but it fell over when I tried to do big stuff. I ...
3
votes
3answers
331 views

Can a shapefile, or other file, be made from Excel without coordinates

I have two Excel spreadsheets I'd like to make into shapefiles, or some equivalent. I have access to ArcGIS at work and want to try using GRASS as well. I have seen the help on doing so, but only if I ...
3
votes
1answer
365 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). ...
3
votes
1answer
685 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 ...
3
votes
2answers
2k views

QGIS GISBASE specify location

I am just a beginner at this QGIS and GRASS and I am using this QGIS 2.0.1 Dufour which throws a error at the startup that "QGIS couldn't find your GRASS installation. Would you like to ...
3
votes
1answer
541 views

How to define correctly the Grass region in Qgis

I know that my question could be pretty basic for some of you. I am trying to learn GRASS. I have some raster layers and a vector file in EPSG 32614. Using the grass plugin I defined a new map set, ...
3
votes
1answer
1k views

How to cluster Raster data

I have thousands of Raster data concerning the ice coverage at the pole at different times (days) over several years. Now I would like to perform a cluster analysis. I want to split the data into ...
3
votes
3answers
802 views

How to clean layers from non topological databases?

I'm doing my internship in a consulting office which is switching from MapInfo to QGIS/GRASS 1.8.0. I posted here a few days ago about the way to clean a polyline from a Lidar data with v.clean. ...
3
votes
2answers
710 views

Flow modeling and FOSS GIS; lahars and HEC-RAS

What are the options for FOSS flow modeling of dilute debris flows in QGIS or GRASS? Have you, or can you refer me to studies where the authors, tested these models/plugins/functions/etc. for use in ...
3
votes
1answer
157 views

Temporal GRASS GIS framework

I am trying to follow the tutorial posted here. When I get to this part "Extraction of seasonal mean temperature" and run this code: t.rast.extract \ input=temperature_mean_1950_2011_seasonal \ ...
3
votes
1answer
184 views

v.dissolve to multipolygon

Using v.dissolve in GRASS, I'd like to get a multipolyon as a result. However, I end up with distinct polygons with the same 'dissolve value.' For example; lets assume I have two polygon features ...
3
votes
1answer
120 views

Is there an easy way to taper huge amounts of drainage vectors?

I've performed hydrological analysis using r.watershed using GRASS and now I have some stream vectors for a large area. Next, I'm planning to taper these streams to varying width to make them appear ...
3
votes
1answer
582 views

How to reproject a raster to Winkel Tripel projection?

I'm trying to project a raster map (in ASCII grid format) from longlat to the Winkel Tripel projection. But I'm running into errors, for instance gdalwarp won't accept the proj-string. $ gdalwarp ...
3
votes
1answer
665 views

Where to change GRASS GIS wxGUI language?

I use GRASS 6.4.2 on Russian version of Windows 7 x64. As I start wxGUI it is shown in Russian. But I don't like its translation and want to work with English interface. I have no clues how to solve ...
3
votes
1answer
1k views

Is there a way of cutting a raster map that is displayed in the GRASS GIS Map Display?

I have a raster map that I generated from cropping/masking from a bigger raster map. It produced a map with only a portion of not null values. I only want to have a map that is zoomed in to the ...
3
votes
1answer
42 views

Looking for spatial analyst tool between raster and vector layers in QGIS

I'm aiming to do a similarity analysis between a raster layer and a vector layer. The raster layer is a 5-class ice map and the vector layer (points) contains ice jam events data. The goal here is to ...
3
votes
1answer
113 views

Get ID for each single v.to.points point in GRASS?

How do I get for each v.to.points point an ID in the database (DB). So far I splited the line (each 10m) but it returns only one DB entry for each original line. v.db.select line cat|Id|Name ...
3
votes
1answer
69 views

QGIS GRASS raster to GeoTiff

First of all: Windows 8.1 QGIS 2.8.2 Wien My problem is that I used the GRASS module r.watershed to delineate watersheds and get flows with a DEM. It worked fine so everything is OK so far. But ...
3
votes
1answer
79 views

How can I change the way r.cost and r.drain modules work?

Look at the picture #1. This is my cost surface raster that has only 2 values. Area restricted for path to cross (red one) and area that is free to go (yellow one). As I need it and as I undestand how ...
3
votes
1answer
80 views

Is it possible to have v.in.lidar without compiling GRASS?

I already have installed libLAS like this: sudo apt-get install liblas-bin And Ì have installed GRASS GIS 7 from the ubuntugis-unstable repository. Is it possible v.in.lidar without compiling ...
3
votes
1answer
47 views

QGIS Convert bathymetry shapefile from fillable to strokeable

In Java I would like to stroke the bathymetry depth lines instead of filling the area. I'm starting with the Natural Earth Bathymetric Data: ...
3
votes
1answer
56 views

Simplify / generalization of flow lines

I'm trying to make a model of surface runoff of rain water. I'm using GRASS GIS function r.flow, which generates nice smooth lines of runoff. What I need is edit these flowlines someway to avoid ...
3
votes
1answer
121 views

To make a map of sinkholes on grass gis

I would like to make a map of sinkholes. I have a DTM ARC/INFO ASCII GRID of Asiago Plateau and and I'm using grass gis. Does anyone know what is the correct form in grass gis?