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
0answers
15 views

GRASS7. Parallel import shapefiles failed

I am trying to import a 8 ShapeFile to GRASS V7.0.0. Each shapefile's size is between 80 Mb and 300 Mb. For this purpose, I've used multiprocessing in python. I run 4 parallel processes, each one ...
4
votes
1answer
55 views

How do I count the number of vector lines that pass though a given raster cell?

I am working on a project (currently in GRASS7 though I'm not against exporting to Arc or R or other software if necessary) where I am generating thousands of shortest cost paths (using the r.walk and ...
2
votes
1answer
47 views

How to calculate the 3D length of line segment in QGIS?

I've been looking through all of the GRASS commands in the QGIS 2.10 processing toolbox and it seems like one of these must be able to do this but I haven't found one yet. There is 'v.sample' which ...
3
votes
1answer
36 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 ...
0
votes
1answer
17 views

GRASS r.inund.fluv example of input files

Does anyone have an example of input files for the GRASS r.inund.fluv add-on that can be shared. I am asking because I am getting some errors when I am trying to run an the files that I created and I ...
3
votes
1answer
373 views

How to begin with tool development for GRASS gis or QGIS GRASS

I wanted to begin with customized tool development in Grass GIS or QGIS grass. How should i begin in to develop the tool. I search a lot in google search engine for begin with tool development in ...
-1
votes
1answer
76 views

Is it possible to import/run AML script into GRASS?

I have an AML script that has instructions to import tmp files of (grid, network, basin...) is there any way to run the script in GRASS? I tried to converted to Python but I couldn't do it for the ...
0
votes
0answers
46 views

Raster Not Loading into Map Display - GRASS

I am very new to GRASS and I have been trying to load a raster using just the GUI. I have set my project to the projection of my .tiff file and extents. Using file > import raster I select the .tiff ...
1
vote
1answer
300 views

How to interact with GRASS GIS vector map topology “level/layers” from terminal/command line?

Is there anybody out there that can maybe assist in the most simplest form of code to call on command line to "export topology" (which is level 2 information in GRASS) as separate spatial data, as ...
4
votes
1answer
42 views

What is the “t” in i.landsat.toar

I'm using GrassGis 7.0.0 for Landsat imagery. In the description of i.Landsat.toar under dos3 and dos4 is: TAUz = exp[-t/sin(e)] What is "t"? I cannot find any description about what it is. Can ...
2
votes
2answers
298 views

How to keep (complex) color table when exporting from GRASS

I understand how to work with color tables within GRASS - but is there any way to preserve color tables when opening the raster in a different program? For example, I created a color table in GRASS ...
0
votes
1answer
41 views

Using GRASS7 algorithms via WPS - best practices

I need to set up Linux server (Debian or Ubuntu), which provide GRASS7 algorithms via WPS. I have some attempts with 52°North WPS, but without any success. Also there are many other ways how to do it, ...
2
votes
1answer
58 views

Processing algorithm fails from Python script

I'm trying to write a Python script performing a geoalgorithm. What is surprising me is the following: I first test the algorithm by QGIS (2.8) interface. In my case, the GRASS interpolator ...
4
votes
3answers
201 views

3d vector and geometry operations in open-source GIS

There is some really good open-source software available to work with 2D vectors. For example QGIS has operations like buffer / clip / dissolve / select by location / join attributes by location... ...
3
votes
1answer
56 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 ...
2
votes
2answers
96 views

GDAL/QGIS broken Ubuntu 14.04

I think I've managed to bust GDAL after (I think) installing Grass7. I had previously built GDAL (1.10) from source with a bunch of additional drivers. When installing Grass7 GDAL 1.11 was installed. ...
0
votes
1answer
41 views

How can i import raster image to GRASS GIS without losing RGB Values?

I am using GrassGIS 6.4.2, How can I import raster data to GrassGIS without losing RGB Values? The raster image format is TIFF, the below commmand is using to import raster image: r.in.gdal ...
5
votes
1answer
228 views

Create raster with grid cells values based on area covered by polygons

I have a polygon data with area covered by the forests (data is here - https://www.dropbox.com/s/zgckliydalljw6a/sp_data.zip?dl=0). I want to convert polygons to raster. The value of each grid cell ...
2
votes
0answers
48 views

how to orthogonalize building outlines

I'm looking for a way to orthogonalize building outlines which I've extracted from a high-res DEM. I'm using the FOSS GIS stack (QGIS, GRASS, SAGA, PostgrSQL, PostGIS) and can code in Python (or ...
2
votes
2answers
79 views

Suitable Raster processing methods to extract field boundaries from images

I'm trying to extract field boundaries and features from a lot of aerial images of agricultural land - and avoid digitizing these features manually. I've managed to get a crude raster file of the ...
1
vote
1answer
56 views

What's difference between Topology and Check Validity in QGIS?

I would like to know what the difference is between the Topology Checker and Check Validity tools? Is there anyone who knows of a good document or tutorial that explains functions of these tools? ...
1
vote
1answer
124 views

Unable to start modules in QGIS GRASS plugin (GNU/Linux Debian)

Recently, the Toolbox of QGIS GRASS plugin can't find modules in my GNU/Linux Debian. When I click on any module, the toolbox reports the message: Cannot find module x.xxx and, after, I have the ...
3
votes
1answer
33 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: ...
0
votes
0answers
22 views

QGIS Training Manual - Lesson 12.2.1 (GRASS GIS) - r.colors.table module does not color raster

I am going through the QGIS Training Manual, Lesson 12.2.1 ("Follow Along: Set Raster Colors) and noticed that the 'r.colors.table' GRASS module did not color my DEM raster layer which I imported via ...
1
vote
1answer
18 views

Creating input node file for V.net.salesman in GRASS?

I have imported line vector layer and point vector layer(12 points) to grass using v.in.ogr. Now i want to use v.in.salesman to find shortest path between these 12 points, but i couldnt input ...
0
votes
0answers
13 views

GRASS problem - r.viewshed.cva addon

I'm a very beginner at GRASS. I'm using GRASS 7.0 and I tried to install r.vieshed.cva extension. When installed, if I type it in the command line, it appears "r.viewshed.cva" is not recognized as ...
2
votes
1answer
241 views

How to iterate GRASS region definition?

I am using GRASS r.skyview command (v.7, Windows) to determine "urban canyon effect" on pollution due to the presence of buildings. The command nicely works, unfortunately I need to process a very ...
1
vote
0answers
67 views

Removing pseudo-nodes using QGIS Sextante plugin?

I have a road network (vector) that i'm interested in carrying out some space syntax analysis on. Predictably my GIS data is in a pretty terrible state. For example, there are a bunch of roads on the ...
0
votes
0answers
13 views

Grass 7 import shapefile problems

I'm just messing about with Grass 7 (installed fine on Ubuntu 14.04 - well no errors at least). I'm trying to import a shapefile using v.in.ogr and when presented with the dialog box, browse for my ...
0
votes
0answers
44 views

Converting a (WAsP) vector map to a raster map with GRASS GIS

i'm quite new to GIS and i need to convert roughness data which is available in a vector format to a raster format. The final data should be on a simple 2-dimensional uniform grid with a constant grid ...
0
votes
0answers
48 views

registering MODIS in GRASS as space-time dataset

I have a problem using the space time module in GRASS GIS (7.1 for Ubuntu). I have a MODIS time series with 8 day interval, so 46 images per year. So I created a file (filelist_grass.txt) containing ...
3
votes
0answers
52 views

Drawing “proportional” buffer using QGIS or GRASS?

I'm working on aquatic vegetation and have a shapefile representing floating vegetation in a lake. By some studies, we know that submerged vegetation extends for a certain extension based on floating ...
1
vote
1answer
226 views

Running GRASS functions in QGIS 2.4 from python console

I am using qgis 2.4 and i am looking for the "easiest" way to execute e.g. the r.in.gdal function from the python console in qgis. Specifically for r.in.gdal, I could not found this function in ...
0
votes
1answer
30 views

Error when installing a GRASS addon!

I am trying to install r.inund.fluv on Linux to produce inundation maps but I am getting the below error. Note that I have a Fortran compiler. Any help with this matter would be highly appreciated. ...
1
vote
0answers
74 views

Error: GRASS 7.0 and QGIS 2.8.1 in Linux Mint from the ubuntugis-unstable

I have installed GRASS 7 and QGIS 2.8.1 from the https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable (Trusty 14.04) in Linux Mint 17.1 64bit(sudo apt-get install postgis libgdal1h ...
1
vote
1answer
43 views

How can I create polygons for a 3D map from a DEM in grass/qgis

I have a SRTM 30m DEM of my area. I want to create a physical 3D terrain map from it (from felt, 3D printer, you name it). I have two questions about this process: With grass r.contour I created ...
0
votes
0answers
56 views

GRASS 7 (python:14221): Gtk-CRITICA Linux Mint

I installed GRASS 7 and QGis from the https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable (Trusty 14.04) in Linux Mint 17.1 two weeks ago (sudo apt-get install postgis libgdal1h ...
5
votes
2answers
3k views

How to install add-ons in GRASS?

How do I install the r.inund.fluv script in GRASS? https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.inund.fluv/
1
vote
1answer
42 views

GeoTiff exported using GRASS will not open in other programs

I am trying to export an image group as a multi-band GeoTiff using the r.out.gdal module in GRASS. For some reason I cannot get ArcGIS to recognize my GeoTiff exports. I have tried opening the file in ...
1
vote
2answers
42 views

How to use r.mapcalculator to change values within a raster cost map to negative

I have created a cost map in r.cost module in GRASS (through QGIS). This is actually a distance map from a protected area and distance from protected area has been calculated in both directions. How I ...
1
vote
2answers
109 views

Trouble importing NumPy in GRASS. Architecture

I can't get GRASS to work on my system, and after doing some digging I think it is related to me using 64-bit python. I'm not really sure. I get this message... This module requires the ...
0
votes
1answer
27 views

comparison of atmopsheric correction methods

I have noticed that dos methods for atmospheric corrections are in the section of radiometric correction (i.toar) on grass gis.Does that means that dos is a method doing radiometric and atmospheric ...
3
votes
1answer
126 views

How to recategorize features in GRASS by geometry, like the ArcGIS Sort tool?

The ArcGIS Sort tool creates a new feature class with features sorted by geometry. For example, it can number features IDs from north to south, etc. Is there a way to renumber the cat field in a GRASS ...
1
vote
1answer
401 views

How to make GRASS and SAGA tools capable to use in QGIS?

As my title, I installed Qgis, GRASS and GDAL by osGeo4w package, and as I finish the installation, I want to use GRASS tool, I face this problem: But I already installed GRASS and SAGA, how to make ...
10
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 ...
1
vote
0answers
35 views

Linearising aspect in GRASS GIS

After having produced aspect of surface in GRASS GIS and being aware that GRASS GIS calculates aspect counterclockwise from east, how could we transform aspect from being a circular variable (0-360 ...
1
vote
1answer
24 views

Mod function in GRASS GIS

What is the equal of ArcGIS Raster calculator "Mod" function (Finds the remainder of the first raster when divided by the second raster on a cell-by-cell basis.) in r. mapcalc in GRASS GIS?
1
vote
0answers
34 views

Execute GRASS command within qgis phython console

We try to calculate catchments with the r.water.outlet function from python console. To do so we use the following code: import processing rlayer = QgsRasterLayer("/my/path/DrainageDirection.tif", ...
5
votes
4answers
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
47 views

Convert manual colored maps to vector

Is there a way to colorimetrically and automatically vectorize georeferenced rasters that came from manually colored, scanned maps? Currently we Print the topography maps 20k scale --> hand-coloring ...