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
98 views

How to number points along a line consecutively

I have a line and along this line I have different points which are max. 20m away from that line. Now I would like to number the points along the line, like shown in the grafic. Any suggestions how to ...
1
vote
1answer
110 views

g.list problem in GRASS command line

I am using GRASS 6.4.3 (installed with osGeo4w), and I have this question: As I type g.list, a function window will pop out, and all functions and results are fine. But when I type g.list rast, I got ...
1
vote
1answer
295 views

How to make GRASS and SAGA tools capable to use in QGIS?

As my title, I installed Qgis, GRASS and GDAL by osGeo4w package, and as I finish the installation, I want to use GRASS tool, I face this problem: But I already installed GRASS and SAGA, how to make ...
1
vote
1answer
83 views

Is there a tool to buffer features with more than one distance value in GRASS GIS?

I´m looking for a tool like Multiple-Ring-Buffer in ArcGIS, but for GRASS GIS to be able to buffer with different distances but only having to start the process once.
1
vote
1answer
348 views

When trying to convert an .e00 file into a shapefile with ogr2ogr, getting “ERROR 4: This looks like a compressed E00 file”

When I ran this command: ogr2ogr topo.shp flowe86hyp.e00 I got this error: ERROR 4: This looks like a compressed E00 file and cannot be processed directly. You may need to uncompress it first ...
1
vote
1answer
264 views

How to get additional subbasin areas designated by points in the river network?

Update 14/1/9:I follow this post:Watershed and Stream Network Delineation, and here's my workflow: use Batch Point Generation to create batch points related to designated points(green dots) Batch ...
1
vote
1answer
474 views

Calculate distance of points along a route QGIS

I have a line layer and a point layer, I need the distance between the first and the last point measured along the line. How can I do that using QGIS? Do I need to know linear reference? I don't ...
1
vote
1answer
491 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, ...
1
vote
1answer
211 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 ...
1
vote
1answer
169 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
1
vote
1answer
131 views

How to set opacity for GRASS layers using command line?

In the process of learning GRASS, I am finding that I can learn many of the command-line methods that I need for scripting tasks from using the wxGUI, as it conveniently shows most of the underlying ...
1
vote
2answers
96 views

Neighborhood analysis based on occurrence of value

How can I do, either in ArcGIS, grass or another tool, the following: for each cell (pixel), if there is at least one cell with value '4' in a neighborhood of 5 cells around it, reclassify that cell ...
1
vote
1answer
356 views

How to debug “Unable to load GDAL library” error in QGIS 2.0?

I have a problem with r.surf.contour. I create a DTM with v.to.rast.attribute and then use the r.surf.contour and it works fine in QGIS 1.9 but with QGIS 2.0 doesn't work. I have a contour shapefile ...
1
vote
1answer
105 views

Calling GRASS 6 in GRASS 7 (shell)?

I am running a shell script for batch processing in GRASS 7 (calling it with sh [...sh] in the command line window), which creates a series of rasters through classifications, raster calculator and ...
1
vote
1answer
148 views

create POV-Ray image from DEM-file in grass

I am working on r.out.pov Tool of grass 6.4 creating a POV-ray(beautiful 3D) image from an elevation raster. You can see this link for more information about 3D analysis of GRASS. r.out.pov manual ...
1
vote
1answer
771 views

Using Landsat 8 for quantitative analysis - what DNs does GRASS require?

Hoping someone can short circuit a lot of exploration Landsat 8 values are stored as unint16 since the sensors work on a range 0 to 4096 whereas the L7+TM was 8 bit and had a digital number range 0 ...
1
vote
1answer
107 views

GRASS 6.4.3 Landsat processing

what are the pre-processing steps required for landsat etm+ with GRASS 6.4.3 prior to land cover change detection? The product used is L1T.
1
vote
1answer
198 views

Importation of .csv on grass gis converts numeric data to string data

When importing a csv file on grass7, the numeric data is converted into a data of type string. My csv looks like this : id_core value 1 F1 83.0611472396 2 F2 98.8584345936 3 F3 ...
1
vote
1answer
121 views

Use of Grass and R w.r.t. Land Use Prediction

In my data mining term project I need to conduct a work on geospatial data related to a big city to show possible urbanization fields in next years. I've used GRASS lately on other projects so I'm a ...
1
vote
2answers
201 views

Grass 6 extension installation in Grass 7 error

I am trying to install the extension r.roughness from the Grass 6 repository, but in Grass 7. When trying g.extensions, the error "make: * No rule to make target ...
1
vote
1answer
187 views

Add-ons on GRASS (win7)

Can someone help me to install an add-on for GRASS 6.4.3RC3, on Windows 7? I tried several approaches, but wasn't able to install the add-on. I found several topics here and on the web but the ...
1
vote
2answers
188 views

contour lines from point shape attribute

I have a point shape file and one of the attribute refers to the altitude. Is is possible to obtain a contour lines shape file in GRASS?
1
vote
1answer
56 views

GRASS: shift point locations in a random direction

I have a vector map that contains 100 points. For each point, I would like to shift it 250 units in a random location. It's easy enough to shift all points in a specified direction using v.edit ...
1
vote
1answer
542 views

import grass.script as grass under windows 7

OS: Windows 7 64bit GIS: QGIS 1.8 (qgis.org/downloads/QGIS-OSGeo4W-1.8.0-2-Setup.exe) I have created a plugin for QGIS, with the QGIS plugin builder. Now i would like to import grass.script into ...
1
vote
1answer
782 views

QGIS, Euclidean distance analysis [duplicate]

i wanna generate euclodian distance map for my road data. I 'll use it for multi criteria analysis. I can get it by using Arcgis Euclodian Distance tool but i wanna generate it in QGIS environment. I ...
1
vote
1answer
159 views

How to remove terracing from Civil3D GeoTIFF export?

I've received a GeoTIFF DEM that was exported from Civil3D and at every contour there is a distinct terrace created when I process an aspect or slope in QGIS with the GRASS plugins. I've looked ...
1
vote
2answers
126 views

Error using Grass v.net

I'm trying to connect my network to a points layer with a threshold of 4500 meters. I have about 11000 or so entries in my polyline and about 24 in my points layer. I have alreday used v.distance, ...
1
vote
1answer
320 views

Installing GRASS on MINT 14?

I'm very new to mint/linux/GRASS and have no clue how to deal with these errors. Can I just change the URL somewhere? Here is the simplest reproducible command to produce a failure: sudo apt-get ...
1
vote
1answer
123 views

Set certain amount of pixels to 1 inside of a polygon (GRASS)

I have a rather coarse vector map with polygons and want to calculate a (sufficiently) finer raster map defined by spatial extension and resolution. Every polygon of the vector map has a value ...
1
vote
1answer
209 views

Why is transparancy of GRASS rasters missing when imported into QGIS?

I have a raster map in QGIS imported from a GRASS mapset with the QGIS GRASS plugin. The problem is that I have null() cells in the GRASS map that appear "colored" in QGIS. How can I set the ...
1
vote
1answer
82 views

Hydrograph in GRASS

How to make hydrograph for a basin in GRASS? While surfing the GRASS home page, I came to know that some time back in GRASS 4.x a command r.water.fee exist. I understand, it is missing in GRASS 6.4. ...
1
vote
1answer
109 views

How to extend lines in Grass

I have a set of vector lines in grass which I need to convert into polygons. However, because of bad base data, the polygons don't always close. To fix this, I need to extend each disjointed line by ...
1
vote
1answer
635 views

Python script for GRASS - executing from PHP

I wrote the following python script: #!/usr/bin/env python import os import sys gisbase = os.environ['GISBASE'] = "/usr/lib/grass64" gisdbase=os.path.join("PATH") location=LOCATION NAME ...
1
vote
4answers
491 views

Determining gradient of road segment

I've a shapefile of roads data. It contains information about terrain of road segments, i.e., hilly, flat, undulating, etc. I want to determine gradient of every road segment. I know this might ...
1
vote
1answer
77 views

Is there a way to access ps.map in python?

i am wondering whether its possible using python interface to load layers and edit them in Print/Cartographic Composer without displaying, and finally export to PDF? something that can be done via ...
1
vote
1answer
232 views

v.dissolve renames the attribute table column and does not produce a dbf

When I run v.dissolve on my vector... v.dissolve --o input=pass2@mapset1 layer=1 column=fttcp output=pass3 The dissolving appears to work but the column name in the attribute table has changed from ...
1
vote
1answer
484 views

r.sim.water G_malloc error

I've been trying to run r.sim.water on a 3 meter LiDAR-generated DEM I have, but keep getting G_malloc errors: r.sim.water --verbose elevin=meterDEM.final@Sediment_Simulation ...
1
vote
2answers
290 views

Automatically apply topology rule to only selected portions of a .shp file?

I am looking for some examples/tutorials on how to apply a topology rule to only a selected portion of a shp file using a script in ArcGIS/GRASS. Using ArcGIS seems to always require an interactive ...
1
vote
1answer
135 views

Blank Vector Selection Dropdown in QGIS GRASS Plugin

I realise there are some issues which getting vectors into the GRASS module in QGIS, but is the behaviour i am getting expected? I have loaded the vector shapefile via GRASS, closed G and reopened ...
1
vote
1answer
259 views

How can GRASS export an .flt file?

I am using GRASS and connecting it to another application. The other application needs an FLT file of the raster map which I should export from GRASS. The other application only reads FLT files. Can ...
1
vote
2answers
224 views

Can r.mask be called from a batch file?

I am using a shell script that is called by a batch file. The shell script contains the GRASS scripts that I am using for my program. Every time I use the r.mask script, it displays the error r.mask: ...
1
vote
1answer
399 views

How to use r.patch with two maps having different colortables?

I am using r.patch to combine two raster maps in order to fill in the null values of the other. Is there a way to use r.patch but still maintaining the colortables of the separate raster maps? I do ...
1
vote
1answer
656 views

Is there any pseudocode for MFD (multiple flow direction) algorithm available?

Still stuck with the simulation system, is there any good pseudocode for the multiple flow direction (MFD) algorithm? I read a pseudocode example and implemented it, however the simulation was linear: ...
1
vote
2answers
394 views

How to compile in Fortran in order to use an add-on in GRASS?

I need to use the r.inund.fluv add-on in GRASS. I installed the gfortran compiler in order to use the script. The problem is, I do not know how to compile the files in gfortran. Im using windows Here ...
1
vote
3answers
450 views

d.out.file is not working

I'm trying to use 'd.out.file' to save the displayed map to a PNG file. It failed and produced this message: "Command 'd.out.file' not yet implemented in the GUI. Try adding it as a command layer ...
1
vote
1answer
248 views

Why is my controlling shell script not working?

I updated my post after I resolved the previous errors, but additional errors were produced. I want to create a controlling shell script that contains water.mapcalc within it. The problem is, I do ...
1
vote
1answer
408 views

How to link an application to grass?

I am creating an application (C#) and I want to connect it to GRASS, mainly run grass scripts from my application. This might seem to be a repeated question however I am thinking of the possibility ...
1
vote
1answer
692 views

GRASS v.out.dxf 3D into AutoCAD

So continuing with my last question (Create 3D dxf with OGR) I have decided to give the GRASS option a go. I have imported my polylines into GRASS using v.in.ogr and converted them to 3D using ...
1
vote
1answer
311 views

Error in r.terraflow

I used r.terraflow.short in GRASS, but it displayed this error: r.terraflow.short elevation=raster_bulacanElevation \ filled=raster_bulacanElevationFlooded1 \ ...
1
vote
1answer
159 views

How to resolve GRASS error “Execution failed: 'gproj -p' ”?

I installed the WinGRASS-6.4.0-1-Setup.exe 55M from http://grass.osgeo.org/grass64/binary/mswindows/native/. I'm using a x64. After installation, I tried opening the demoLocation but it failed and ...