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
2answers
1k views

How to access vector coordinates in GRASS GIS from python?

Is there a way to iterate over lines and their vertices using python? I'm new to GRASS GIS, and it looks like there are ways to read raster (for numpy), but I don't see a direct way to access ...
1
vote
2answers
2k views

How to set cell size for vector to raster conversion in QGIS GRASS plugin?

I'm converting a vector (loaded in GRASS plugin in QGIS (1.7.0.-wroclaw) and would like to convert this to a raster with a defined cell size. At the same time I need a value from the attribute tabel ...
1
vote
2answers
586 views

How to import .flt files into GRASS?

I am trying to import a raster file (.flt) into GRASS. The raster file (.flt) was generated from HEC-RAS. The said raster format cannot be imported into GRASS (it shows the error "file not ...
1
vote
1answer
551 views

Win7 GRASS 7 & i.landsat.toar

Hello has anyone got experience running i.landsat.toar ? The output files I get are empty, the command takes but a moment to complete. However when run in verbose mode all the calculations are done, ...
1
vote
2answers
417 views

GDAL-GRASS building fails

When I run ./configure --with-grass=/usr/local/grass-6.5.svn/ I get the following errors: .......... checking for gdal-config... /usr/bin/gdal-config using /usr/lib/gdalplugins as GDAL shared library ...
1
vote
1answer
904 views

How to select a raster file that is under a polygon in a vector file?

I am using: v.db.select map=PHL_adm1 where=NAME_1='Bulacan' My vector map is over the raster map. I want to select the part of the raster map under the polygon(NAME_1='Bulacan') of a vector. Is it ...
1
vote
1answer
2k views

How to combine a vector and a raster file?

I want to combine a raster and a vector file. After combining, can I query on the resulting map to obtain a specific area? How?
0
votes
1answer
168 views

How to use python to set a variable to a value from a vector attribute table for GRASS

I'm adding to a python script for GRASS v.transects.py. I want to set a variable to equal a value from a field in the vector's attribute table using a for loop to cycle through each row. This is one ...
0
votes
1answer
246 views

d.rast problem in GRASS command line

Update#1: @gene, thank you for your reply and I type d.mon in command line, getting a popout GUI look like this: I choose the top three flags(-l, -L, -p), and I got this: And I don't know what to ...
0
votes
1answer
230 views

Can't launch GRASS GIS 6.4.3 GUI on windows 8.1

As title, I downloaded GRASS GIS from this website: GRASS GIS - Home, and I choose winGRASS 6.4.3 standalone installer to download. After I installed, I click on its icon: I can't launch it even ...
0
votes
2answers
288 views

GRASS algorithm r.los does not produce raster

After running the r.los algorithm through QGIS 2.0, I'm getting a 'Problem loading output layers' box which gives the following message: Oooops! The following output layers could not be open Output ...
0
votes
1answer
224 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, ...
0
votes
1answer
127 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, ...
0
votes
1answer
259 views

How to script map production in GRASS?

I'm trying to automate my production of maps with GRASS. What I want to do can be described in fairly generic terms: I have two layers (one vector, one raster), which will be identical in every map. I ...
0
votes
1answer
350 views

How to batch merge rasters using FOSSGIS tools?

I'm working with QGIS 1.8 (gdal 1.9.2) and GRASS 6.4.3...but on Windows 7. I "just" want to merge my raster. I've got a folder with 50 GTiff raster from Lidar data. The aim is to merge raster ...
0
votes
1answer
285 views

r.basin.py GRASS addon

I have added this add on with g.extension on my grass 6.4.3RC3. But it doesnt work... this is the error I can see: Traceback (most recent call last): File "C:\Program Files (x86)\GRASS GIS ...
0
votes
2answers
1k views

How to resolve missing Python module (importlib) for GRASS/Sextante?

I have installed the nightly build of QGIS 1.9 from Larry's Dakota Cartography site, and have downloaded the latest Frameworks from William's Kyng Chaos site. However, I am unable to install the ...
0
votes
3answers
1k views

How to rasterize a vector map?

I am looking for a way to create a raster grid from a vector map. I have a map consisting of shapefiles which I want to export as a raster with UTM coordinates. I was thinking of something using the ...
0
votes
1answer
39 views

Why is this GRASS script (from GRASS WiKi) causing an error?

I'm trying to run a script from the GRASS WiKi to create a simple map using ps.map. I'm confused because it's generating an error that the output was not set, when it appears to me that it is set at ...
0
votes
2answers
225 views

Error from ps.map in GRASS. How to fix?

I'm trying to learn how to use ps.map in GRASS. I thought that running it in interactive mode from the command line would be a good place to start, but I'm getting the following error: > ps.map ...
0
votes
1answer
158 views

Problem running i.gensigset in Grass. Any ideas?

It just returns ERROR: Unable to create signature file. It doesn't say why... Anyone had this before and found a solution?