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

3
votes
3answers
1k 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 ...
0
votes
0answers
36 views

TIF file creation from shapefile in GRASS?

Does anyone have any idea how to get around this problem? I've been looking for a solution to no avail. I'm trying to convert a shp file to a grid, and the tif is hanging up. Output raster layer: ...
2
votes
0answers
77 views

Longest slope oriented to north?

I need a help with my homework. I have created digital elevation model from the shapefile. In QGis(Grass plugin) This is how far i can go. I have to find the longest slope oriented to North. I know ...
1
vote
1answer
458 views

What is the best way to ortho-rectificate image from the plane?

I am very new in GIS and I am trying to ortho-rectificate my images. But after putting it on the map I see that results are not precise. We have images taken from the airplane, it's longitude, ...
0
votes
1answer
91 views

Which Landsat version is appropriate to imply a supervised classification with GRASS GIS?

I need to imply a supervised classification with GRASS GIS to find build-up areas. I want to avoid Landsat 7 images due to SLC problem. Can I use images of Landsat 8 or it's better to use images ...
0
votes
2answers
88 views

Two r.mapcalc calculations return a much bigger raster cell size than the input raster

I tried the following calculations with a GeoTiff sample, having a cell size of 25m: Calculating the togographic exposure (TOPEX) and estimating the mean topographic curvature Both, the resulting ...
0
votes
1answer
109 views

Area of a Cross Section GRASS GIS 7

I have a task I would like to solve with GRASS GIS 7, if somehow possible. I want to create a cross section from a landslide - and would like to calculate the area of that cross section/profile. Any ...
0
votes
0answers
37 views

Unable to set pg as default backend with osgeo4w GRASS

I am trying to set PostgreSQL as default backend for GRASS, but cannot manage to get it right. Working with GRASS 6.4.3 print g.run_command('db.connect', driver='pg', flags = 'c', ...
3
votes
2answers
216 views

Create network from shapefile without ArcGIS?

I want to perform shortest-path analysis on a network whose edges represent real-world roads and whose nodes are buildings or other locations. I have the shapefile for the area I'm interested in. ...
0
votes
0answers
76 views

Calculating vector statistics in GRASS

I have a points layer, each of points have an year attribute and I want to count how many points in each year. I use GRASS-GIS and its v.univar function: v.univar -e map=mod14_hmao column=year ...
3
votes
3answers
368 views

How to calculate peaks in a DEM

How could I extract all peaks from a DEM (large mountainous area)? Peak means something like: a pixel which is sourrounded by other pixels with smaler elevation numbers in a area arround the ...
0
votes
0answers
128 views

Empty raster returned after GRASS i.atcorr with Landsat8 data

I've searched at length on previous forums but no solution seems to work for me. I'm trying to run the i.atcorr module on GRASS (version 6.4.3 on a Macbook Pro, Mavericks OSX) with Landsat8 imagery. ...
1
vote
1answer
197 views

Python + Grass: No such file or directory: 'PERMANENT\\MYNAME' (solved)

I have an existing Python script that processes raster images with Gdal / Numpy. Now I want to extend the script with Grass. The python script is developed on Windows 7 with Eclipse/Pydev. The script ...
0
votes
1answer
110 views

How to use v.to.3d in GRASS GIS?

I am trying to use GRASS GIS for the first time. After quite a lot of trouble I managed to create a location and a new mapset, and my shapefile is now displayed in the window "GRASS GIS Map Display" ...
0
votes
0answers
96 views

How to simplify osm2po's routable graph?

I'm building a pgrouting routable network thanks to osm2po, the problem is that my network is too big. Indeed I want to create isochron and 1 node = 1 canvas circle, so I don't want too many nodes. I ...
2
votes
1answer
64 views

Isolate the largest patch in a raster in GRASS?

I have a raster with a series of patches (contiguous areas with same value). How do I isolate the largest patch? I know I could run r.stats, look through the long list of calculated areas, figure out ...
1
vote
2answers
237 views

Processing area of interests within Grass GIS

I'm looking to process a region within a satellite image in Grass GIS. In ENVI I would create a region of interest (.roi) and then create a subset. Say, if I have co-ordinates for a rectangle within ...
0
votes
0answers
48 views

Problem with GRASS in QGIS

I am trying to import a vectorlayer to GRASS from QGIS. I get an error and hope someone here can help. Been trying to fix it for hours, but come no closer to a solution..... This is the error I get: ...
1
vote
1answer
159 views

How to fix QGIS crashes when using GRASS toolbox?

I've installed QGIS 2.0.1 on Ubuntu 12.04. exactly as explained on qgis.org . Unfortunately QGIS crashes when trying to use any GRASS model (r.aspect as example): just opening QGIS, click on toolbox ...
0
votes
0answers
154 views

How to install GRASS in QGIS Dufour?

How do I install GRASS to run in QGIS 2.0.1? GRASS is not listed in the Plugin Manager and attempting to access it via the Processing Toolbox gives me the following error:
1
vote
0answers
137 views

Merging contour lines along tile boundaries

I am working with the CANVEC data set. The data in canvec is broken up in to mapsheets. eg. 116B04. I have data covering the entire province of the Yukon. I have merged all the data in to one ...
0
votes
0answers
164 views

Trouble with opening/using i.atcorr in GRASS

I'm relatively new to GRASS. I'm running version 6.4.3 on a Windows 7 machine. I'm trying to process Landsat 5 imagery from multiple states, so I was hoping to approximately follow the workflow here: ...
2
votes
1answer
302 views

How to pansharpen radiance/reflectance Landsat 8 in GRASS 7?

first at all, I have to say that I'm new GRASS user. I would like to make a pansharp in GRASS 7 with reflectance Landsat 8 bands. I have revised some related posts and blogs, and I didn't find out if ...
0
votes
0answers
153 views

GRASS i.atcorr outputs unusual values

I have problems using the atmospheric correction module i.atcorr in GRASS 6.4.3RC3. I try to correct two Landsat ETM+ scenes, but the output for bands 4 and 7 has values that seem to be incorrect. ...
0
votes
0answers
171 views

Grass installation - MSVCR71.dll error while .Net installed

I have .Net 4.5.1 installed and resently installed GRASS 6.4.3. When I try to start the software I get the MSVCR71.dll error. The only solution suggested in the guide is to install the .Net ...
0
votes
1answer
262 views

How to define correctly the Grass region in Qgis

I know that my question could be pretty basic for some of you. I am trying to learn GRASS. I have some raster layers and a vector file in EPSG 32614. Using the grass plugin I defined a new map set, ...
2
votes
1answer
190 views

How to join USDA SSURGO soil table data to features in QGIS?

I am trying to make a soil map using QGIS. The only problem is that I cannot join table data to features in QGIS. In ArcGIS for Desktop you just open the folder and then join the tabular table ...
9
votes
1answer
698 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 ...
0
votes
1answer
141 views

Set Grass Region in Python grass.script

How can I set the Grass Region in Python without already having a map in the Mapset? Basically I am looking for the equivalent to this window Currently I am only able to extent an existing region, ...
1
vote
1answer
144 views

How to get the direction raster from r.walk or r.cost

I am trying to use r.cost and r.walk and r.drain to calculate the shortest path from an archaeological site to the nearest basalt source. I am using all this algorithms with the processing toolbox (I ...
5
votes
1answer
239 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 ...
1
vote
1answer
59 views

Re-sizing Raster file pixels

I have 2 JP2 aerial imagery files that are incorrectly sized. They are 100x larger than the other aerial images but correctly geo-referenced (starting x, y co-ordinates). I believe the issue is their ...
1
vote
0answers
138 views

Touch up tool for rasters?

I was wondering if it were at all possible to manipulate/massage rasters (eg Geotiff) using Qgis plugins or Grass?? By manipulate, I mean manually smooth off interpolation artefacts, blended surface ...
1
vote
2answers
826 views

install GRASS Addon in with QGIS

Win 7 QGIS 2.0 GRASS 6.4.3 Hi everybody, I want to install some GRASS-Addons to use them in QGIS. Therefore I run GRASS-Plugin in QGIS an open the GRASS-Shell type: g.extension GRASS opens then i ...
1
vote
3answers
216 views

SRTM NASA hillshade grainy appearance

I'm trying to create a hillshade surface from SRTM files downloaded form Earth Explorer, but the appearance is not the expected. It has a grainy surface that I would like eliminate to have a ...
0
votes
2answers
146 views

Grass GIS 6.4.3, How to create a .PTS file

I'm trying to export a raster map in order to use it in the Flo-2d program. This program needs a .pts DTM file, do you know how I can create it? Alternatively, I can use a XYZ file looking like this ...
2
votes
1answer
772 views

How to get custom colormap onto 3D NVIZ in QGIS GRASS

I am trying to create a 3D version of my 2D raster using QGIS GRASS NVIZ. I have been following these steps: ...
1
vote
1answer
124 views

QGIS Grass Plugin fails with r.cost.vect

I tried the following in QGIS with the Grass Plugin: r.cost input=preCostSurface@albi start_points=OSMroads@albi output=cost0109 max_cost=0 And I get the following error: Dev note: Adapted sites ...
1
vote
1answer
602 views

Map Algebra - Grass GIS (r.mapcalc) merge two raster with NoData value

I have a slope raster and a road raster. The black pixels in the road raster are NoData values and the pink pixels have a value of 1. They don't cover exactly the same area. I want to create a new ...
1
vote
2answers
586 views

How to remove z & m coordinates from shapes with QGIS? (Or arcgis, grass, gdal, Python…)

I've recently received some parcel data in shapefile format that has z & m coordinates (all = 0.0). The WKT for a typical parcel looks like this: "MULTIPOLYGON (((2672464.560700002 ...
2
votes
0answers
215 views

how to make decent sense from scattered river depth measurements

I sampled river depth at scattered positions and I want to be able to make a map and GIS layers out of it. My problems are: As the river meanders the interpolation I do in scientific packages i,e. ...
2
votes
0answers
202 views

How can I create random concave polygons for test purposes?

In the context of generating random test data using QGIS (in a shapefile): I can generate random, continuous (adjacent) polygons by first creating n random points using ftools and then generating a ...
5
votes
2answers
161 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 ...
0
votes
1answer
243 views

How to perform GRASS v.rast.stats via QGIS

I have been using qgis for the last few months. I got interested in using GRASS tools through QGIS. I wanted to compute zonal statistics for a raster surface for a given polygon layer. I loaded the ...
0
votes
1answer
158 views

Removing Image Stripes / Scan Line errors

I have some seabed bathymetry data derived from seismic reflection profiles in a 2.5D dataset (closely spaced lines). The data was gridded by another worker in SMT Kingdom suite; I'm not familiar ...
1
vote
2answers
132 views

Getting started with 'shell scripting loops' in GRASS

I'd like to work through the MODIS-Aqua example here. But typically the hardest bit is getting off the ground. What specifically does it mean by 'shell scripting'? is it referring to the command ...
1
vote
1answer
163 views

How to compare accuracy of two DEM using GRASS

How do I compare accuracy of two DEM data (lidar and srtm) (possibly through rmse) using GRASS GIS? thanks
2
votes
3answers
2k views

Viewshed / Line of Sight analysis- as a batch process?

I wish to carry out a line of site analysis similar to the subject in here (preferably within QGIS): Visual Impact Assessment in QGIS or GRASS Scenario: I have two points, A and B. Point A is a ...
1
vote
0answers
51 views

Delete polygon underlap?

I am editing a layer in QGIS with severe polygon overlaps. Is there a way to delete the underlapping portions (i.e. the invisible parts) using QGIS? If I import the layer into GRASS using the ...
4
votes
2answers
753 views

Is there a Focal Statistics (spatial analyst) tool in ArcGIS equivalent in QGIS?

I'm attempting to use QGIS v2.0.1 to accomplish the same tasks that I can do using ArcMap v10.1 and I'm running into some trouble finding equivalent tools. In ArcMap I am using the Focal Statistics ...