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
104 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 ...
2
votes
1answer
339 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
226 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
38 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
78 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
73 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
77 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
375 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 ...
1
vote
1answer
71 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
177 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
144 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 ...
5
votes
2answers
4k 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
94 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
105 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
314 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
68 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
138 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 ...
11
votes
2answers
4k 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
47 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
33 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?
5
votes
4answers
4k 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
60 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 ...
3
votes
0answers
115 views

From Landsat spectral radiance (W/m2*sr*µm) to Global horizontal irradiance (W/m2) for mere mortals

We are working in a solar energy project to locate potential sites for solar panel farms. We are using the Landsat 7 panchromatic band to derive radiance with GRASS using i.landsat.toar (W/m2*sr*µm ...
2
votes
2answers
187 views

Use GRASS through R

I want to use GRASS GIS 7 through R 3.1.3 in kubuntu operational system. Could someone help me connect GRASS with R, and use GRASS commands through R (not the other way round!).
0
votes
1answer
128 views

topographic correction using GRASS 7.0 (**i.topo.corr**)

I would like to apply topographic correction using GRASS 7.0 (i.topo.corr). The imagery were already converted from DNs to Top-of-Atmosphere Radiances. When I apply the i.topo.corr command it runs ...
0
votes
0answers
86 views

Problem in running r.slope.aspect in GRASS

I am new to GRASS GIS, and have been trying to use the r.slope.aspect function to find out the slope, dx and dy rater map from an elevation map(512*512)[1]. But I am getting the following output: ...
0
votes
2answers
39 views

What logical function should i use to do a union of two raster files in GRASS?

The files are : DEM and roads. For the following i did euclid distance and then reclass. Now i need to know with what logical function to combine them elevation rank ...
0
votes
0answers
111 views

Problem in running r.sim.water

I am trying to run the r.sim.water in GRASS. I have calculated the partial derivatives dx and dy rater map using r.slope.aspect. I am using this elevation map [1] to get the time-series depth map. But ...
0
votes
0answers
25 views

GRASS watershed analysis add storm inlets

Try searching for this with no luck. I am using r.watershed to delineate flow directions, subwatersheds, etc. All good, except that storm drain inlets, culverts and subsurface drainage courses are ...
3
votes
0answers
111 views

Steiner tree problem: Optimal routes for Fibre planning on road network

I am trying to solve a large optimization problem where I have a set of nodes on a road network that need to be connected using fibre using the shortest possible amount of fibre. The problem is a ...
3
votes
1answer
106 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 ...
0
votes
3answers
126 views

GRASS convert raster to points

I have tried to convert a raster to points using this syntax: r.to.vect input=g_kelowna_merged@kelowna_mapset output=g_kelowna_points feature=point I have tried using the GRASS interface in QGIS and ...
1
vote
0answers
65 views

Why is QGIS 2.8.1 crashing when enabling Grass Plugin?

I am running Linux Mint 13 "Maya" (Ubuntu 12.04 Precise). I installed Grass via the software center. Than I installed Qgis 2.81 following this procedure: Add the lines for one of the repositories to ...
1
vote
0answers
25 views

Change GRASS module default parameter

I´m new to Qgis and GRASS. I need to change the default parameter skip of the module r.to.vect.lines, from its default value of 10 to 1.How can I do this? r.to.vect.lines [-v] input=name output=name ...
0
votes
0answers
19 views

Default horizonstep in r.sun

I am working on software suite to create some geoscience models on Digital Elevation Models. Part of the process is to calculate the Insolation Time and Global Irradiance using r.sun. We are running ...
1
vote
0answers
115 views

Simulate water runoff to get water height over each pixel of DEM

Here is my problem that I am trying to deal with. I have given a height map of around 512X512 resolution(It is Geo-referenced and I have the meta-data for this). And I have given that this area ...
1
vote
1answer
109 views

GRASS Zero-Crossing Edge Detection

I have a classification of vegetation communities across a landscape in a .tif format. I wanted to use the GRASS Zero-Crossing Edge Detection tool in QGIS to help define boundaries between my ...
8
votes
0answers
168 views

Can GRASS compute the line graph representation of an input graph?

I'm interested in computing a line graph for an input graph, preferably in GRASS since I'll be using other GRASS network analysis tools afterwards. I couldn't find any reference to line graphs in the ...
2
votes
0answers
135 views

How to create line segments between pairs of pixels in a raster?

I want to draw several lines between pixels (please see the image below) according to some criteria : First Criterion: The distance between 2 pixels is less than 2000m and greater than 500m ...
0
votes
1answer
17 views

Move Landsat 7 Image in Grass 7

I got 2 landsat 7 images from the same place but different date of adquisition, image A is well placed, but image B is shifted about 1500 meters east and 14700 meters north. I need to use both images ...
1
vote
0answers
23 views

Second order rectification display problems

I'm using GRASS 7.0 to geo-rectify oblique images taken from a fixed altitude and using RTK-GPS data as a GCP (as a vector file) for the process. The survey area is very small and flat, so I'm not ...
2
votes
2answers
40 views

How to combine the content of several mapsets into one new mapset in GRASS.?

I have some mapsets and i want to assemble them into one new mapset and have everything into it. How do i do it?
5
votes
2answers
885 views

Is it possible to use GRASS GIS in Python stand alone scripts?

I am trying to find a least cost path script for Python. I came across r.drain from GRASS GIS. Is it possible to use GRASS GIS in a Python stand alone script? If so where can I download the bindings?
1
vote
1answer
52 views

Grass r.out.gdal, wrong values when importing to QGis

I have a problem with export/import functionalities between Grass and QGis. I create a raster file in Grass (with r.wind.sun, but that most likely does not matter) It has the following properties: ...
1
vote
1answer
46 views

Duplicated vertices in contour features of GRASS?

I use GRASS to produce contours from DEM (r.contours for SRTM rasters). They looks fine, but most of the line features occures to be duplicated; i.e. verticies duplicated. Here are pictures of output ...
5
votes
2answers
654 views

Creating contours for specific elevations

Input data: 1. an SRTM raster. 2. Point file of peaks. -Attributes contain ID, x, y, z and the elevation at which the peak is completely isolated from a neighboring peak. The output I want is a ...
0
votes
0answers
75 views

How to process a big number of raster outputs with r.series?

I am new to python and QGIS. I'm trying to take some simple operations (e.g. count, average) over a big number of raster maps from a python script. I'm using the "r.series" algorithm (from processing) ...
0
votes
0answers
37 views

Calculating Odd and Even side of road using PyQGIS and GRASS

I'm trying to programmatically and automatically assign odd and even sides of a road to number homes using QGIS and GRASS. I noticed this other post, which gives a solution using PostGIS and I have ...
2
votes
0answers
120 views

Least cost path analysis : a lot of sources and destinations

I'm working on a 15*10 km area, splatted in a 50*50 m cell grid. I want to compute the time needed to travel from a single starting point to each cell centroid, combining driving and walking time. I ...
0
votes
1answer
84 views

GRASS make local relief error

While using/trying to make a local relief in GRASS with the plugin r.local.relief i stumble across a error. ERROR: G_realloc: unable to allocate 15000000 bytes of memory at ...