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

6
votes
4answers
869 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 ...
6
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 ...
6
votes
3answers
313 views

Cutting out depth information in raster. Calculating volume in Qgis

I am trying to calculate habitat volume for around 30 fish stocks in Qgis. I have habitat areas (shape files) and Bathymetric information (.tif file). I believe I can calculate the entire volume of ...
6
votes
2answers
678 views

Calling GRASS functions from external Python

I have GRASS 6.4.3svn installed in my machine running Windows 7. Also in my machine i installed Python 2.7.3 for Windows.Now i need to call GRASS libraries from Python and not within the Python shell ...
6
votes
1answer
4k views

How to create a point along a line given distance

I have been given a non-spatial database which contains the names of lines which I have a shapefile for. The database also has names of points and the distance of each point from the origin along the ...
6
votes
1answer
920 views

How to calculate difference in altitude along lines using GRASS?

Using SRTM altitude information and OpenStreetmap roads, I want to calculate altitude differences (sum of meters uphill and downhill separated = two values) per road element. What would be the ...
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 ...
6
votes
2answers
120 views

Remote geoprocessing solutions?

I have a relatively old laptop (i5 8Gb) but it is fine for most of my GIS needs. Infrequently I would like to run processes which requires larger amounts of RAM (16G+) but I cannot justify forking out ...
6
votes
1answer
402 views

How to increase mask buffer and then offset it using r.mapcalc in GRASS?

I'm in the process of learning on how to remove clouds and cloud-shadows from Landsat images using GRASS. So far I was able to remove a lot of clouds from those images using i.landsat.acca, but it ...
6
votes
2answers
531 views

Why don't GRASS tools work in SEXTANTE? (QGIS, MacOS)

I've got both SEXTANTE and GRASS installed on my platform. GRASS-SEXTANTE report an error when I'm trying to create the Modeller, however, other tools (R) work fine in SEXTANTE. Do these tools have ...
6
votes
2answers
453 views

Is it possible to use the Goode Homolosine projection in QGIS?

Is it possible to use the Goode Homolosine projection in QGIS? Both QGIS and GRASS seem to have trouble with the interruptions, squashing the higher latitudes together. I tried +proj=goode ...
6
votes
1answer
125 views

Would it be possible to construct a stand-alone grass.script python package?

I would like to migrate dependency on ArcPy to grass.script without requiring the full installation of Grass. Would it be technically possible to have a portable directory containing grass.script and ...
6
votes
1answer
570 views

How to call GRASS modules in pyQGIS?

I wish to use a Grass module (v.to.db) in QGis, without the grass toolbox. I tried with the Python console, but to no avail : Using Sextante plugin but obviously it didn't know all the grass ...
6
votes
1answer
421 views

Generalize large polygon-file

I have a large polygone file with landuse information (6 classes). Its vectorised from a raster classification so the polygons are all angular. Any of my tries to generalize with v.generalize (sneaks, ...
6
votes
1answer
672 views

How to perform unsupervised classification of LANDSAT time series using Grass?

I'm using GRASS to perform an unsupervised classification on a time series of LANDSAT images (monthly temporal res, over 30 years), in order to compare land cover change in a particular area. I'm ...
6
votes
3answers
429 views

Grass v.rast.stats returning null values

I have a vector layer (polygon) and a raster layer. The raster layer holds values for height above bald earth in a field called "value". I'd like the vector layer to inherit either the mean or the ...
5
votes
6answers
705 views

Southern hemisphere projections for Landsat upsets GRASS

Hi All does anyone have the last word on why Landsat scenes don't project in the southern hemisphere. This causes no end of trouble in GRASS, less so in QGIS. What I mean is, take an original scene ...
5
votes
5answers
1k 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) ...
5
votes
2answers
2k views

How to compare two DEMs and show their difference?

I want to compare my DEMs (ASTER GDEM2 and SRTM4.1). I know, that the GDEM has some extreme "holes" with totaly wrong elevations (I found 3 of them in my working area). Now I need to know, if there ...
5
votes
2answers
733 views

Raster to Vector: Displaying classes in Vector Layer - GRASS GIS

I use Maximum Likelihood classification to classify Landsat image into two landuse classes - one of my interest and rest including all others. Inorder to assess the accuracy I export it in vector ...
5
votes
2answers
2k views

How to return raster values based on polygon (shapefile) boundaries in QGIS?

How to return raster values based on polygon (shapefile) boundaries in QGIS? Is this an elementary question, because I am finding it hard....... Ideally I would like a neat workflow as I am likely to ...
5
votes
1answer
2k views

Create filled contour map with GRASS

Background I'm trying to make contour/isoline/isochrone maps to show what areas are within walking distance to schools for my pet project to help with the Safe Routes to School program. I followed ...
5
votes
5answers
3k 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 ...
5
votes
1answer
262 views

How to create a heatmap using values?

How do I create a 'heatmap' in QGIS based on the values of the different points? I did do this once before with rainfall, but can't remember how!
5
votes
2answers
820 views

How to batch import GDAL supported raster files into GRASS?

I am trying to import some GDAL supported raster files into a binary raster map layer using the r.in.gdal module from QGis Grass tool. As I have multiple files to import, I would like to batch import ...
5
votes
2answers
1k views

How to color-balance false-composites of pan-sharpened Landsat images in GRASS?

Whenever I try to pan-sharpen composites of some Landsat images in GRASS using i.pansharpen, i.fusion.brovey or the IHS sharpening method, the output will have some or all of the following ...
5
votes
2answers
1k views

Quickly create contour polygons from cost points using OSS for web app

This is related to a previous question I've asked: Create filled contour map with GRASS I've created a point layer using OpenStreetMap data and pgRouting's driving_distance() function, where the ...
5
votes
2answers
150 views

filling up a depression to create new surface

A collegue here has a problem I cannot help with. She has the surface (as raster) of a landslide release area (from AFTER the slide) and wants to calculate the calculate the theoretical/approximate ...
5
votes
1answer
2k views

How to do Kernel density analysis in QGIS 1.7?

Do someone have some suggestion? We would like to tray Kernel Density analysis as we did with ArcGis using QGIS?
5
votes
2answers
187 views

Vectorize cell boundaries in GRASS

I need to vectorize the cell boundaries of a raster map and I have forgotten how to do this. For instance, if I have a raster map of a region that is just map=1 with a cell size of 500m, I would ...
5
votes
4answers
4k views

Dissolve ploygons in QGIS or Grass to new polygons of defined population sizes

I have a shapefile with 3800 polygons representing the smallest administrative areas in Ireland. Many of these, in rural areas, have tiny populations, under 100 people. In urban areas, all would have ...
5
votes
2answers
299 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 ...
5
votes
1answer
222 views

What are the advantages and disadvantages importing vs linking data in GRASS?

I'm fairly new to GRASS, and only recently discovered the r.external and v.external functions. I'm used to working with R and QGIS where all the data is "external". Typically I keep vector data in ...
5
votes
3answers
3k views

New QGIS install can't find GISBASE

At QGIS startup I get the message: "QGIS couldn't find your GRASS installation. Would you like to specify path (GISBASE) to your GRASS installation?" (Windows 7) No amount of rooting around the ...
5
votes
1answer
263 views

Need to remove small areas, but only if they do not have adjoining boundary

I'm generalizing some lat/lon data in grass64 and as a precursor to the generalization, I am removing small areas from the data using 'v.clean'. The following command is working well: $ v.clean ...
5
votes
1answer
628 views

What is north-up projection?

How do I know what projection to use for north-up or 0 rotation? I have a gtiff (ND83-nf) that gives me the error when importing to Grass. Should I re-project or recreate the image with the rotation ...
5
votes
1answer
145 views

Cell declustering using open-source software

I want to perform cell declustering in a small point data set. I have 9 observation points and I want to find the size of the region of influence for an observation, and afterwards use that as ...
5
votes
2answers
452 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 ...
5
votes
1answer
420 views

How to divide a polyline by intersecting isochrones

I have two shapefiles, the first representing a path (a polyline with a single category), the second representing isochrons from the same origin (point 0) which intersect the above mentioned path. I ...
5
votes
2answers
294 views

Can I split up v.in.ogr into multiple v.clean commands?

I'm trying to load a large set of polygons into GRASS with "v.in.ogr" and am running out of memory at the "Break Boundaries" stage. I'm wondering if I can break into steps all of the different things ...
4
votes
5answers
890 views

Elevation correction ASTER GDEM2 (+10m)

My ASTER GDEM2 has a average elevation error of -10m for my area. (I testet it using 90 defferential GPS reference points and compared it with old Topo25, SRTM, and GoogleMaps). I would like to ...
4
votes
3answers
346 views

How to install GRASS on Linux Mint?

I'm trying to figure out an error in GRASS network analysis, for several days now. I started to suspect that it has something to do with my OS, namely Windows 7. Hence I installed Linux-Mint 14 ...
4
votes
3answers
12k views

Converting a .jpg map into a shapefile

I have a .jpg map of a set of U.S. counties that were affected by a tornado. The map shades where the tornado passed through, resulting in some counties only partially experiencing the tornado. I ...
4
votes
2answers
1k views

How to delete a map from the GRASS interface?

I want to delete a map that I generated from GRASS. I tried removing a map from the "Map Layers for each display" tab in the GRASS GIS Layer Manager, but it only removed the map from the list and not ...
4
votes
3answers
225 views

LiDAR data density, returns per square meter

How can I compute a raster showing the number of return points per square meter using SAGA GIS or other open source software? My goal is to obtain a mask which would show me the places (cells) ...
4
votes
3answers
110 views

Is there a workaround for GRASS i.maxlik 'class' being a keyword in Python?

I am running i.maxlik in python - attempting to automate a processing chain. I use the command: grass.run_command('i.maxlik', group= group, subgroup=subgroup, class='classification', sigfile = ...
4
votes
1answer
2k views

How to create a Digital Elevation Model

How to create a DEM starting from layers shapefile "contour lines" and "shares"? which module of GRASS I need to use? thanks for yours responses....
4
votes
3answers
2k views

How to open/display and extract NetCDF files info?

I am working with NetCDF files using R & Matlab and I would like to know if the GIS community is using them. I know that ArcGIS can open & display, however most of the times the results are ...
4
votes
2answers
6k views

Viewing .las format LIDAR data in QGIS?

Is there an easy path to visualizing this LIDAR data? I have QGIS, and some USGS LIDAR data in (.las) format downloaded from http://lidar.cr.usgs.gov/ . This means I have both the (.las) and ...
4
votes
1answer
825 views

How can I calculate the vertical distance to the nearest water?

Summary: I would like to create a raster where each cell contains the vertical distance to the nearest water (a decent approximation would be acceptable). The problem is that I'm not sure how to go ...