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
3answers
181 views

Looking for large GML files containing vector polygon data

I have few vector data files with 500 to 700 MB GML files. But I am looking for files larger than these preferably 1 GB, 2 GB. It would be helpful if somebody can provide some pointers regarding the ...
2
votes
2answers
5k 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 ...
1
vote
2answers
389 views

What I'm doing wrong with the command r.out.ascii in GRASS GIS?

I have raster in .bil format which I want to save in GRASS GIS with r.out.ascii. I get this result in .txt file: north: 1N south: 0 east: 1E west: 0 rows: 1 cols: 1 55537 I suppose it is something ...
3
votes
1answer
407 views

Change raster value for an area based on a class of another raster

I would like to change all raster values in raster A that fall into the locations of category/class 1 of raster B. Here, some more details. I did a calculation on a DEM resulting in different ...
5
votes
2answers
175 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 ...
11
votes
4answers
2k 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 ...
4
votes
3answers
2k views

How do you 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 ...
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 ...
5
votes
2answers
370 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 ...
3
votes
2answers
166 views

How to make the layer 2 use the same vector categories from layer 1?

I'm having some doubts concerning the layer mechanism. Creating a new layer (ie a new connection between a vector and a DB table), I've imported a vector (rivers) through v.in.ogr, then I've cloned ...
1
vote
2answers
283 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 ...
8
votes
2answers
149 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 ...
2
votes
1answer
236 views

How to keep (complex) color table when exporting from GRASS

I understand how to work with color tables within GRASS - but is there any way to preserve color tables when opening the raster in a different program? For example, I created a color table in GRASS ...
2
votes
1answer
231 views

Silence user warnings for GRASS-PYTHON program

I've created a program that runs externally from GRASS v6.4.1, using python 2.6. It imports an ESRI shapefile, and exports a seperate KML for every polygon in this vector file. Polygons with ...
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 ...
3
votes
2answers
323 views

run r.stats as a quiet module in GRASS-Python script

Has anyone else used r.stats as a quiet module in a GRASS-python script? As part of my program I'm using: grass.run_command("r.stats", flags='l', input=<file>, output=<*.csv file>, ...
5
votes
2answers
272 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 ...
7
votes
1answer
452 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 ...
2
votes
0answers
117 views

How to fix Graphserver warning “osmdb has no edges!”?

I'm really new to GIS. I have some shapefiles data that I'm trying to import in graphserver. I'm doing: gs_osmdb_compile output3.osm output3.osmdb And the result is: WARNING: osmdb has no edges!. ...
3
votes
2answers
245 views

Hand fit curve and then apply to time series of rasters, make a map. How?

Maybe a data management problem, not too sure, but likely a challenge which someone has dealt with before. I have a time series of rasters. I can summarise the information by taking averages of each ...
4
votes
0answers
152 views

What open source solution would work best for auto extracting features from satellite images? [duplicate]

Possible Duplicate: Feature Extraction - Land cover I have been looking for an open source solution which would allow me to define a region (or collection of images) and extract features ...
1
vote
1answer
132 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 ...
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 ...
1
vote
2answers
93 views

v.dissolve (and other scripts) not in GRASS path

I see that I have the v.dissolve module in my grass64/scripts dir, but it is not found in my path from the GRASS command line. I have the GRASS_ADDON_PATH environment variable set: ...
5
votes
1answer
120 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 ...
3
votes
2answers
718 views

How to combine polygons in a vector with GRASS?

I need to combine polygons of similar geological classes which are stored in a vector file called geology. I was looking for somethiing like "union selected features" or similar. In the GRASS Book ...
1
vote
1answer
228 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
1answer
104 views

How do I convert my coordinates to the limit of geographic region (outer edge)?

I am trying to use r.in.bin. The parameters of north, south, east, and west needs values: north=float Northern limit of geographic region (outer edge) south=float Southern limit of geographic region ...
5
votes
1answer
1k 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
1answer
239 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 ...
1
vote
2answers
189 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: ...
3
votes
1answer
76 views

Can two versions of GRASS be installed in a computer and still run independently?

GRASS 6.4.0 is currently installed in my computer. The script that I am trying to run is present in 6.4.1. It is stated in my previous post. If I installed 6.4.1, will my 6.4.0 still run? I don't want ...
3
votes
1answer
416 views

How to make a transparent background image using r.out.png?

Can the white background of the r.out.png of GRASS be changed to transparent?
22
votes
3answers
4k 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 ...
8
votes
2answers
737 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. ...
18
votes
5answers
946 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. ...
6
votes
1answer
3k 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 ...
0
votes
1answer
138 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?
1
vote
2answers
550 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 ...
3
votes
2answers
185 views

Can GRASS v.net.iso split between nodes?

Can GRASS's v.net.iso module split networks between nodes on the network, i.e., if I am finding the area within a cost of 400, and there is a line segment with a cost of 800 leaving the center node, ...
3
votes
1answer
355 views

Standard Colors for Landcover Maps

I have classified Landsat images into five classes - A variety of Palm, Water bodies, built-up/open area, other vegetation and miscellaneous. I used GRASS GIS for the process and the final classified ...
4
votes
2answers
492 views

Monthly Average Solar Maps (R.Sun) in Grass

I'm trying to create monthly average maps as described in R.Sun in Grass. I have my DSM. In reading the page on OSGEO it mentions that it is possible without showing how. Ideas? I assume I will need ...
2
votes
1answer
400 views

Scripting in GRASS

Can anyone suggest me web-links to learn scripting in GRASS GIS (its utilities, examples etc.) other than those available in GRASS official Wiki/Sites?
2
votes
1answer
614 views

How to clean vector segment intersect errors in GRASS

I'm using GRASS to process a vector map. When I export back to .SHP and do a 'Check Geometry Validity' in Quantum GIS it lists several errors of this type... 3,segments 199 and 203 of line 0 ...
2
votes
1answer
730 views

How to handle multiple layers when importing a polygon shapefile into GRASS?

When I import a shapefile into GRASS, it seems to arrive as 3 layers. I.e. they appear in the qGIS toolbox browser as: myMap 0_polygon, myMap 1_polygon, myMap 2_polygon Is there a way to merge ...
4
votes
1answer
2k views

Convert shapefile lines to a polygon in GRASS

I have a shapefile of a map that is the outline of a number of islands. I would like to convert the lines into polygons (ie all islands filled in) using GRASS. I searched on how to do this with GRASS ...
5
votes
6answers
595 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 ...
2
votes
2answers
423 views

Layer Stacking in GRASS

Similar to layer stack feature in ERDAS what functionality is available in GRASS. I am aware of r.composite, but it can accept only 3 layers. To obtain a stack of more than 3 layers what can be done?
2
votes
1answer
89 views

Can the concentration of values in a raster map be known?

I have a generated raster map containing different flood levels. Is there a grass script to determine the percentage of values in a raster map? I'm thinking of using r.mapcalc to solve this, but I'm ...
1
vote
0answers
279 views

gdal-grass plugin for gdal 1.8 [closed]

I'm facing a big issue...i moved from the ubuntugis version of grass to the svn one. I managed to compile the svn (releasebranche6.4) version nicely but i can't download the gdal-grass plugin for ...