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

65
votes
5answers
33k views

How to build effective heat-maps?

Using ArcGIS, QuantumGIS, Grass, and/or GVSIG What are some of the tools and processes involved in building effective heat maps? What are the plugins involved? What are the major data requirements? ...
32
votes
4answers
712 views

Generating equal sized polygons along line with PyQGIS?

I would like to create polygons along a line to use them for AtlasCreator in a next step. ArcMap has a tool called Strip Map Index Features. With this tool I can choose the height and width of my ...
30
votes
4answers
10k views

How to smooth a DEM?

I have a SRTM DEM and I want to create a shaded relief from it. I created the shaded relief in GRASS and the result is very nice, but a little rough becouse the area is near flat and the DEM is 90m in ...
23
votes
2answers
16k views

What's the relation between QGIS and GRASS?

I have been working with GIS and remote sensing in an university and professional environment some ten years ago (ArcInfo etc), so I have some experience even though somewhat outdated Right now I am ...
18
votes
5answers
2k 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. ...
18
votes
1answer
298 views

Is it possible to generate a boustrophedon pattern which fill a vector Region with GRASS?

Is it possible to generate a boustrophedon pattern which fill a vector Region with GRASS? I have a vector region in GRASS. And I would like to generate a vector (a polyline) being the bostrophedon ...
16
votes
3answers
5k 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 ...
16
votes
4answers
1k views

How to do kernel density estimation with a physical barrier/ boundary in QGIS?

Does anyone know of a programme that will allow kernelling that takes a boundary into account in its calculation rather than simply masking areas that are impossible? So far I have found: GME add on ...
15
votes
3answers
3k views

Is there a way to automate the preprocessing of LANDSAT data?

I'm currently enrolled in a remotesensing course, using LANDSAT data. Part of my course is about standardizing the scenes based on radiance values. I assume that because this is such a tedious task, ...
15
votes
6answers
6k views

What's the best way to produce a density map from weighted points in QGIS?

I'd really like to repeat the functionality of the ArcGIS Kernel Density tool - how could I do that? I would like to limit answers to easy-to-install free-and-open-source software – i.e. QGIS ...
15
votes
4answers
2k views

Rubber sheeting in GRASS or QGIS

We are in the process of getting our property boundaries corrected and a side effect of this is that we need to move any assets that have been drawn relative to the property boundaries, so they are ...
13
votes
4answers
5k views

Shaded relief from DEM in GRASS and QGIS

I have been trying to get a good looking shaded relief model out of GRASS and Qgis for a day or so now and just can't seem to get it. The biggest problem I'm having is the valleys look like ...
12
votes
2answers
2k views

Is it possible to manually correct a raster DEM (OpenSource)?

Is it possible, to correct a raster DEM by changeing the raster-cell-values manually, like by "painting"? My DEM (ASTER) have one small error where the elevation is about 300m below the actual ...
12
votes
5answers
1k views

Large shapefile to raster

I have a large shapefile (1 gb) and need to rasterise it. I have tried the following already. 1.) Import it into GRASS using v.in.ogr this failed with the error message: ERROR: G_realloc: unable to ...
12
votes
1answer
2k views

How do you use GRASS's v.kernel?

I am flummoxed on how to use GRASS's v.kernel. I have a vector layer of around 2.5 million points. I want to make a heat map using v.kernel to show concentrations, since I have variable instances ...
11
votes
4answers
4k views

Code to calculate elevation profile along line from a DEM

Given a DEM (Digital Elevation Model) say in and a line (x1,y1) --> (x2,y2) (paired coordinates (x,y)), how can one calculate the elevation profile or cross-section projected on that line ? I am ...
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 ...
11
votes
4answers
3k views

How to connect lines in a network?

I have a shapefile of lines and another of polygons. When two or more lines intersect a polygon they should be connected (snapped), but sometimes during manual digitization this doesn't occur. I need ...
11
votes
1answer
521 views

SEXTANTE toolbox - GRASS error

I am trying to use the SEXTANTE module GRASS (and SAGA) for vector analysis but whatever function I use I always get the same error:"Could not load layer: G:/closest.shp Check the SEXTANTE log to look ...
10
votes
1answer
1k views

Import GRASS and SAGA modules to python script

I'm new at this. I am "building" a python plugin for qgis and I want to import modules from GRASS and SAGA but I don't understand how to do it. The plugin I want to import is Kriging interpolation ...
10
votes
2answers
3k views

How to smooth large vector polygons from Raster

I have a landuse classification raster file (6 classes) of a large area. But I need it in vector polygons so I vectorised it. No problem so far, but the result is - of course - that every pixel is ...
10
votes
1answer
476 views

Is there a way to use ArcPy and PyGRASS tools in the same Python script?

I´m trying to write a Python script, that includes different ArcPy / ArcGIS commands and want to combine it with GRASS geoprocessing tools. Unfortunately importing the GRASS libraries doesn´t work. ...
9
votes
4answers
7k views

Tutorial on how to model flooding using data from gauging stations along rivers in QGIS?

Can someone please direct me to a tutorial where I can learn more about how to model flooding using data from gauging stations along rivers using QGIS?
9
votes
5answers
6k views

How to workaround large mosaic process which is failing?

I need to mosaic about 550Gb of tif imagery together and the software I have tried keeps failing. The area has been split into zones so that the smallest has approx 200 tiles. I have used the latest ...
9
votes
5answers
2k views

Are there any open source tools to detect and fill sinks on a DEM?

Are there any open source or inexpensive tools to detect and fill sinks on a DEM? ArcGIS Spatial Analyst is just out of my price range.
9
votes
3answers
2k 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 ...
9
votes
3answers
1k views

What are common methods for converting raster digital elevation data to vector contours?

In researching this I have found many references to the opposite, creating elevation data from contours, but nothing regarding contour creation. Preferably, I am looking for open source solutions like ...
9
votes
3answers
3k views

R: Download a large DEM, change projection, and adjust to smaller scale

This is a process that takes just a few seconds in GIS software. My attempt to do it in R uses a large amount of memory then fails. Is there something wrong in my code, or is this just something R ...
9
votes
1answer
708 views

Kriging on GRASS+R - cannot allocate vector of size 146.5 Mb

I'm trying to do a groundwater elevation map with an Ordinary Kriging on R, but always resulting on the lack of memory cannot allocate vector of size 146.5 Mb allocation (windows xp 32bit). ...
9
votes
1answer
664 views

Why does GRASS eliminate polygons when using v.generalize?

I am facing a dilemma while trying to use v.generalize to simplify polygons which are similar in size and structure to US Counties or States. Often, I lose polygons from the data set after running ...
9
votes
1answer
1k views

How to pan-sharpen Landsat images for image-classification in GRASS?

I'd like to learn how to do an unsupervised classification of a Landsat scene using i.cluster > i.maxlik in GRASS using pan-sharpened 15m-resolution images (the example given in its Wiki uses the ...
8
votes
4answers
3k views

How to find dead-ends in road network using ArcGIS for Desktop or GRASS?

I'm trying to remove all the dead-end roads in a road dataset (lines) that are less than 100m long. How do I identify roads that are dead-ends (no exit)? The 100m part is easy. I know how to use ...
8
votes
5answers
6k 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 ...
8
votes
2answers
588 views

Is there an open source alternative to ArcGIS for Desktop's Integrate tool?

I need to snap about 1000 lines in one layer to the lines in another layer (there are about 5000 lines in the second layer). The lines to be snapped are about 15 map units away from the base layer ...
8
votes
3answers
140 views

Why are the holes in my polygons not generalized?

I have one polygon layer with many holes. I would like to generalize it. I used v.generalize of grass. With it, I used chaiken algorithm. But, only the borders of polygons were generalized, the holes ...
8
votes
3answers
2k views

How to interpret GRASS v.kernel results?

GRASS manual reads: v.kernel - Generates a raster density map from vector points data using a moving 2D isotropic Gaussian kernel ... Ok, but how do I interpret the results? I understand that ...
8
votes
2answers
3k views

How to correctly install QGIS with plugins and GRASS-integration from source?

I'm running a Sabayon GNU/Linux (based on Gentoo) at my home desktop system and I want to install Quantum-GIS. I'm currently using the qgis-1.7.0-package from the repositories. But this is somehow ...
8
votes
4answers
1k views

How to automatically plot intermediate contours with QGIS, GRASS GIS or SAGA GIS?

I'm mapping a steep mountain range. My main contour interval is 50 m and my intermediate contour interval is 10 m. In steep areas, the interval of 10 m is too small, so I need to leave ...
8
votes
1answer
789 views

How to generate a DEM from isolines and spot heights?

I have two shape files containing height information of a certain area and I need to create a raster DEM with GRASS using them. file 1 consists of height information in contours (isolines) file 2 ...
8
votes
1answer
1k views

How to apply a Majority filter in GRASS GIS?

I was wondering if someone could help me write a majority filter for GRASS GIS. I have this map (see below) which I need to run a filter over to make the red areas a bit more dominant. I know I can ...
8
votes
3answers
2k views

Dissolve or unsplit lines on common attributes in PostGIS or GRASS?

I have a road centerline shapefile that has roads split at every intersection. However, I would like to join LINESTRINGs that have a common set of attributes into a single LINESTRING. So long as the ...
8
votes
4answers
1k views

Flood modelling insights

I am trying to create a flood modelling system. The system consists of two parts mainly a river flooding simulation and rainfall simulation. To do this I am running the latest version of GRASS 6.4. ...
8
votes
2answers
157 views

File naming for Enterprise GIS database?

I'm designing the guidelines for an Enterprise GIS database. Part of this database will include customized geoprocessing tools using a variety of software. I'm interested in knowing whether anyone ...
8
votes
2answers
1k views

How to convert a vector boundary to a raster map?

I need to output a PNG file of a raster map overlayed with boundaries present in a vector map. The problem is, the r.out.png script only exports a raster map. My boundaries are in a vector format. ...
8
votes
1answer
587 views

Saving Command History/Outputs to a file - GRASS

Is there any way to save the commands typed and the outputs obtained in terminal under GRASS GIS to a text file? I have read that GRASS saves history for each mapset but I have no much idea about how ...
8
votes
1answer
2k views

Open software tool or QGIS plug-in to make land cover classification

Is there any tool or plugin for QGIS/GRASS to make an automatic land cover classification from satellite imagery --- based on CLC nomenclature for example? Of course, it will not be 100% sure but it ...
8
votes
2answers
1k views

How to split lines into equal segments with QGIS?

I'm attempting to split a curved (wiggle) line into equal length segments. Have used Grass's v.split which works to a degree but does not provide the output I'm after. v.split will extract segmented ...
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 ...
7
votes
5answers
2k views

How to generalize and vectorize a LandUseClassification raster file?

I want to vectorize that rasterfile with its 6 landuse classes. The classification is very noisy and have to be generalized before. The result should be a polygone vector file. I use SAGA, (GRASS) ...
7
votes
2answers
1k views

Moving raster to different mapset GRASS GIS

I have a raster DEM that I created in one mapset but I would like to copy it to another mapset for another purpose. Is this possible within GRASS or can I just copy some files over in the ...