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

1
vote
1answer
105 views

Use of Grass and R w.r.t. Land Use Prediction

In my data mining term project I need to conduct a work on geospatial data related to a big city to show possible urbanization fields in next years. I've used GRASS lately on other projects so I'm a ...
0
votes
1answer
177 views

Sextante grass folder incorrect?

What is the correct grass folder in Sextante? I alway get this message: The specified GRASS folder does not contain a valid set of GRASS modules. Please, go to the SEXTANTE settings dialog, and ...
1
vote
2answers
122 views

r.regression.multi - ERROR: Not enough valid cells available

I am running a few analyses with r.regression.multi in Grass 7. For a few rasters that I try to correlate, the following error comes up, however: "ERROR: Not enough valid cells available". I cannot ...
15
votes
3answers
3k views

Visual Impact Assessment in QGIS or GRASS

Is it possible using QGIS or GRASS to perform a Zone of Visual Impact assessment? E.g. where can a 100m high structure be seen at a viewing height of 1.8m within 30km, taking into account elevation ...
0
votes
0answers
202 views

How can I calculate raster cell area for upslope contributing area

I am new to spatial analysis, and urgently trying to follow this tutorial to generate a topographic wetness index for my area of interest: ...
2
votes
1answer
475 views

Grass v.clean.snap with Polygons

I am doing some topology testing using Grass in QGIS. I am hoping to snap nodes to eliminate gaps between polygons. When I use the v.clean.snap function in Grass it does not work on polygons. When I ...
0
votes
1answer
133 views

How to setup and use GRASS?

Previously I've asked an question and Micha gave me a helpful advice:How to find the watershed area for each point in the river network using DEM? After getting the useful DEM file, I began to setup ...
4
votes
2answers
236 views

Autocorrelated DEM with QGIS or Grass

I was wondering if there is a way to make an Autocorrelated DEM within QGIS or Grass. I am looking to do this with stereo aerial photography. I am able to do this with a number of COTS tools, but I ...
1
vote
1answer
214 views

how to loop grass command in python and put variable in output file

anyone, first day Grass programming with python scripting; first prob; simple I want to reclass the same raster several times; and save the file with the value loop variable at the end ... can not ...
0
votes
1answer
194 views

How to estimate distance from points to line feature with v.distance?

I'm trying to use the v.distance module in GRASS 6.4.3 to estimate the distance from a series of point features (animal tracking locations) to the nearest point along a line feature (a coastline). I ...
4
votes
0answers
212 views

How to create a topologically correct dataset in PostGIS (with GRASS)?

I have shapefiles which I have loaded in postgis and now i am trying to use geometric function in postgis like ST_intersect and they fail because the data is not topological correct. I have tried to ...
2
votes
2answers
613 views

r.mapcalculator and python again

I've been trying to write a script creating binary maps: a=raw_input ("enter a threshold") b=float(a) grass.run_command('r.mapcalculator', formula="**'base_map'>=b**", outfile='map'+str(a), ...
3
votes
2answers
338 views

run r.stats as a quiet module in GRASS-Python script

Has anyone else used r.stats as a quiet module in a GRASS-python script? As part of my program I'm using: grass.run_command("r.stats", flags='l', input=<file>, output=<*.csv file>, ...
0
votes
2answers
84 views

How to align directions of connected lines?

I have a vector line made of different pieces of lines with different directions. I merged the lines to one. But this merged line still have different direction in its "invisible" parts. I want to ...
0
votes
0answers
131 views

Grass won't import shapefiles

I have a problem involving the import vector data command, specifically importing shape files. I installed QGIS on a pc at work and there I could import shape files into GRASS GIS 6.4.3RC2 (which is ...
1
vote
1answer
79 views

Grass7 - r.regression.multi and new raster

I am on the learning curve with Grass7. I managed to make r.regression.multi work, but there is one thing that would be of high interest for me: it is possible to create a new raster showing the ...
0
votes
0answers
59 views

Why don't libgrass.so.1.8.0 and libqgissqlantconnection.so.1.8.0 load?

I have compiled Qgis 1.8 at Ubuntu 12.10, but some phyton plugins does'nt work, like sextante. Trying to solve this problem, some files don't have been load. They are: libgrass.so.1.8.0 and ...
1
vote
1answer
582 views

Is there any pseudocode for MFD (multiple flow direction) algorithm available?

Still stuck with the simulation system, is there any good pseudocode for the multiple flow direction (MFD) algorithm? I read a pseudocode example and implemented it, however the simulation was linear: ...
1
vote
0answers
111 views

GRASS v.overlay.or Error when trying to split a polygon with a line

I am using the Grass plugin in QGIS for Windows (1.8.0). I am trying to split a polygon with a line feature. I am using the v.overlay.or function within the QGIS Grass plugin. I have the line layer ...
1
vote
2answers
138 views

contour lines from point shape attribute

I have a point shape file and one of the attribute refers to the altitude. Is is possible to obtain a contour lines shape file in GRASS?
0
votes
2answers
574 views

Grass 7 / ArcGIS 9.3 - tiff to raster

Again a Grass 7 question. I have the output of a modelling run as matlab file, which I can export as tiff and load as geotiff. OK - now can I extract the data/convert this tiff into a raster proper? ...
4
votes
1answer
473 views

How to repair and clean contours from high data resolution (lidar)?

I'm unsuccessfully trying to make a bathymetric map with contours extracted from Lidar data at 1 m resolution. The extracted contours have a lot of artifacts like dangles and islands. First I used ...
3
votes
3answers
467 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. ...
0
votes
2answers
186 views

GRASS: populating attribute table with specific values

I have a vector map that includes 100 points. These points were created using v.extract to randomly sample a larger map of 10k points. As such, the 'cat' values range from 1 to more than 10k. What ...
0
votes
2answers
1k views

How to resolve missing Python module (importlib) for GRASS/Sextante?

I have installed the nightly build of QGIS 1.9 from Larry's Dakota Cartography site, and have downloaded the latest Frameworks from William's Kyng Chaos site. However, I am unable to install the ...
5
votes
5answers
2k views

How to calculate distances in a point sequence?

I'm looking for help calculating the distance between a sequence of points that are in a single Shapefile in QGIS. Below is what my data look like and a blank distance column I've added to show how ...
6
votes
2answers
1k views

How to compile QGIS with GRASS on Ubuntu?

I am on Ubuntu building qgis with grass plugin. I have build grass code separately and used --prefix to provide the path GRASS_PREFIX is /usr/local/grass-6.4.2 and GRASS_INCLUDE_DIR is ...
7
votes
4answers
1k views

Calculate polygon field based on neigboring polygon attribute

I have a vector shape with many different sized polygons each possessing an own class name (for instance "houses", "houses with offices", etc ...) I want to assign a new field to each polygon ...
3
votes
1answer
201 views

How to get started with GRASS shell?

I'm a beginner in programming but i have to work with GRASS at work, and do it quickly. I'm completely lost with all the variety of tutorials that are existing and to me, don't look the same...and ...
1
vote
1answer
53 views

GRASS: shift point locations in a random direction

I have a vector map that contains 100 points. For each point, I would like to shift it 250 units in a random location. It's easy enough to shift all points in a specified direction using v.edit ...
8
votes
3answers
859 views

Howto setup and use a remote GIS workstation (QGIS,GRASS,PostGIS)?

I'm using QGIS (and sometimes GRASS and PostGIS) on my 2009 MacBookPro for my thesis project. I was wondering (during an endless batch generalizing in QGIS) if I can set up a server so I can work from ...
0
votes
1answer
36 views

GRASS GIS: red square around node topology information?

I've been using GRASS since 2005, but I cannot find an explanation to the square boxes that appear around the nodes of a lines layers, when I display topological informations on the map. I thought ...
0
votes
0answers
270 views

HELP! Starting up GRASS - Error messages.

I am just trying to start using GRASS, but am having problems setting up. This is the error message I get: WELCOME TO GRASS Version 6.4.2 2012 1) Have at your side all ...
0
votes
1answer
76 views

Full Easting and Northing coordinates values cannot be encoded in GRASS r.water.outlet in SEXTANTE-QGIS

The Easting or Northing coordinate parameter accepts only 5 digits. The Easting and Northing values for my outlet are 6 and 7 digits long (integer). How can they be encoded in r.water.outlet? Can ...
3
votes
1answer
109 views

Wrong direction in r.watershed slope length calculation?

Or have I completely misunderstood something now? As a programmer I took it for granted that the row number would change if I traversed the map up and down in the program along the North-South axis ...
0
votes
2answers
181 views

Handling MODIS NoData cells with gdalwarp

I'm using the gdalwarp tool to convert MODIS .hdf into GeoTiff files. I want to set the value of the nodata cells so that when I import the .tif image into Grass there is no black edge. I'm using the ...
1
vote
1answer
423 views

import grass.script as grass under windows 7

OS: Windows 7 64bit GIS: QGIS 1.8 (qgis.org/downloads/QGIS-OSGeo4W-1.8.0-2-Setup.exe) I have created a plugin for QGIS, with the QGIS plugin builder. Now i would like to import grass.script into ...
2
votes
1answer
107 views

Help with GRASS V.Net.Path

GRASS has extensive and brilliant documentation, but I still have a bit of trouble using v.net.path. in the example for shortest path, it says: " #Shortest path: ID as first number, then cat1 and ...
1
vote
0answers
370 views

GRASS Plugin to QGIS error

I am installing QGIS and GRASS as part of an FOSS GIS class I'll be teaching this summer. I used the OsGeo4W installer. This installer has always worked flawlessly for me except on the machines at the ...
3
votes
1answer
824 views

How to split line at a specified distance and getting coordinates of start and end points of each line segment?

I tried v.split in GRASS: and my notebook ran a lot of time but showed this error:bad allocation, then I click "OK", and got nothing. Are there other ways to split lines?and I hope to get 2 new ...
0
votes
1answer
73 views

Grass 7 - where is r.regression.multi hiding?

I compiled Grass 7 on Ubuntu and all works fine - except, I cannot find r.regression.multi. I installed it, yet it is nowhere to be found in the drop-down menus; r.regression.line is there and works, ...
7
votes
1answer
298 views

Can I use GRASS algorithms in Sextante under ArcGIS?

Sextante for ArcGIS comes with SAGA modules. I know that I can use GRASS algorithms in Sextante under gvSIG. But how can I use GRASS algorithms in Sextante under ArcGIS? I tried to look for any ...
2
votes
0answers
97 views

How to create the fuel models & live fuel moisture rasters for Wildfire simulation?

Has anybody done wildfire modelling in GRASS? Where could I obtain / how do I create the fuel models and live fuel moisture rasters to determine rate of spread (r.ros)?
1
vote
1answer
198 views

v.dissolve renames the attribute table column and does not produce a dbf

When I run v.dissolve on my vector... v.dissolve --o input=pass2@mapset1 layer=1 column=fttcp output=pass3 The dissolving appears to work but the column name in the attribute table has changed from ...
1
vote
1answer
138 views

How to remove terracing from Civil3D GeoTIFF export?

I've received a GeoTIFF DEM that was exported from Civil3D and at every contour there is a distinct terrace created when I process an aspect or slope in QGIS with the GRASS plugins. I've looked ...
0
votes
3answers
957 views

How to rasterize a vector map?

I am looking for a way to create a raster grid from a vector map. I have a map consisting of shapefiles which I want to export as a raster with UTM coordinates. I was thinking of something using the ...
4
votes
3answers
414 views

query raster cell values by point

I have a binary raster (0s and 1s) that I need to query given a set of point coordinates. This is easy enough to do with gdal (gdallocationinfo), but where it get's complicated is that I also need to ...
0
votes
0answers
175 views

Help in GRASS/QGIS/Python

I have Idea about ArcGIS, and a bit of QGIS and zero programming knowledge, which I am trying for thesedays. I saw GRASS GIS and have started working with shapefiles, which are not being loaded... :( ...
3
votes
2answers
188 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 ...
1
vote
1answer
203 views

Data management in GRASS from command line?

I'm trying to import a large set of raster files into GRASS. The GUI import tool works fine for a handful of files, but it appears to require that I click the "Layer id" checkbox for each individual ...