2
votes
0answers
50 views

How to merge overlapping and duplicate lines from vector layer to one single line?

I used the "polygone to line" tool from QGis, to get a line-layer from this polygon-layer: unfortunatly this causes overlapping and duplicate lines, after I broke the qgis-export via GRASS into ...
1
vote
1answer
25 views

3D rubber sheeting using ground control points

I have 3d lines that I would like to rubber sheet or rectify in 3D (including z rectification). I used ogr2ogr with -gcp, however all the vertex of a polyline were set to a single elevation, and since ...
1
vote
1answer
26 views

Preserve polygon boundaries when vectorizing a raster according to a polygon vector

I have a raster which I clip by some polygons and then convert to polygon. I would like to obtain the same number of polygons in both my vector files. The problem is that some areas in the vector ...
0
votes
0answers
20 views

Changing tracks to vectors in a grid

This is a version of a question that I posted on the GRASS list, but I didn't get any suggestions there. I would like to overlay a grid (cell size about 500 m x 500m) over an animal track created from ...
0
votes
1answer
48 views

Producing gradients between shapefiles and using original boundarys as isoclines (lines)

to produce a bathmertical map of a river bed I draw shapefiles showing the different depths based on satellite images taken during different tidal levels (deepest, 2nd deepest, 3rd deepest, shore ...
1
vote
2answers
31 views

Adding time stamps to animation slides with OSS tools

I would like to create an animation with time lapse values printed on the PNG file. For this purpose I have created in QGIS a vector layer that stores timestamp and temperature value pairs for various ...
0
votes
1answer
20 views

vector file is used by two mapsets at a time in grass gis

i want to study about vector processing.if a vector file is used by two mapsets at a time, which one will be saved first and why.if a team want to work on the same set of shape files, what is the ...
0
votes
0answers
38 views

GRASS GIS - v.select- ERROR: bad allocation -

I'm quite new to Grass GIS. I have two vector maps, one of a grid (each grid cell is a polygon) and one of a much larger polygon. I've been trying to select the grid cells that lie completely within ...
1
vote
0answers
42 views

Is there any GRASS command to measure the distance between a point in rastermap and another in vector map?

I have a question about WinGRASS 6.4.3. Is there any GRASS script command to measure the distance between a point in rastermap and another in vector map? I have a raster map and a vector map. Raster ...
0
votes
1answer
11 views

GRASS Add Vector Point

I need to do a viewshed analysis using GRASS. I've got the DEMs loaded; and I simply want to input several (2-4) points (like 41.12345N, 122.34567W from GPS). What is the simplest, most ...
1
vote
1answer
67 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.
0
votes
0answers
26 views

alignment of shapefiles in GRASS

I have two shapefiles below. One is in the state plane projection, and the other is not projected. In ArcMap the shapefiles line up perfectly. When I import them to my mapset (using the override ...
0
votes
0answers
74 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 ...
0
votes
0answers
79 views

GRASS v.to.rast.attr returning null values

I am having a problem converting vectors to rasters in QGIS. As there is no tool where you can directly set the pixel size (instead of the height and width of the new file) in QGIS 1.8 (the version I ...
0
votes
0answers
42 views

grass plugin in QGIS all of sudden not working as expected

The previous week I was able to use the grass scripts in the QGIS 2.0.1 Dufour toolbox, but today they do not seem to be working. I am not sure where to place a '-c' which was a solution to the same ...
1
vote
0answers
50 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 ...
0
votes
2answers
67 views

v.what.rast trouble in GRASS GIS 6.4.2

I'm facing a problem using the v.what.rast comand. I'm trying to update the vector "canali" which represents some streams, with the slope value for every single point of the lines. The slope values ...
0
votes
2answers
158 views

In grass v.drape works with points but not lines

I got an elevation raster map which I interpolate from a point cloud with v.surf.bspline. Then I digitize a couple of points in a new vector layer. With v.drape I'm able to get a height from the ...
0
votes
1answer
75 views

How to edit a table in GRASS?

How do I edit a table in GRASS? When importing a vector into GRASS from QGIS, all the attributes are lost and I need these to continue with my analysis.
1
vote
0answers
62 views

GRASS GIS SDTS Manipulation

Preface: I'm a total GIS noob. Flame away. I'm learning GIS in my free-time and with free resources. I realize that is likely going to force me on the learn-fast-or-giveup track, but here it goes... ...
0
votes
2answers
186 views

GRASS: populating attribute table with specific values

I have a vector map that includes 100 points. These points were created using v.extract to randomly sample a larger map of 10k points. As such, the 'cat' values range from 1 to more than 10k. What ...
1
vote
1answer
53 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 ...
3
votes
1answer
2k views

How do I find vector line bearing in QGIS or GRASS?

How can one extract the bearings from a set of lines in a vector file? I'm trying to find the bearings of several straight vector line segments (simplified contour lines, actually) and can't figure ...
1
vote
1answer
481 views

How to invert polygons (or other options for exterior styling)?

I have a shapefile containing many polygons that I want to use to mask a raster. I have tried gdalwarp -cutline <shapefile> -crop_to_cutline -srcnodata -9999 -dstnodata -9999 ...
1
vote
1answer
118 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 ...
2
votes
1answer
138 views

Error when importing vector layer into GRASS

I am trying to import a vector layer into GRASS, but I keep receiving the same error. The values in the vector layer are important because I would like to use them to create a heatmap. What could I ...
2
votes
1answer
762 views

How to correctly merge layers with overlapping polygons in QGIS/GRASS?

I have 4 vector shapefile that I would like to join/merge, without worrying about attributes. Here are the shapefiles. I would like to do an union and a spatial dissolve, but everytime I do a dissolve ...
2
votes
1answer
114 views

How to close and fill Gulfs and inlets in QGIS or Grass?

I have a raster layer from which I extracted only zones with a certain color, then polygonized it with QGis. I just generalized the new vector layer in GRASS to smooth things a bit. There are many ...
1
vote
2answers
176 views

How to apply v.transform on a set of vector layers (GRASS 6.4)?

I have 64 vector layers, all of them must be warped using the v.transform module; the pointsfile is the same for all vectors. How can I apply the transformation recursively to all layers? I'm not ...
1
vote
1answer
100 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 ...
10
votes
1answer
466 views

SEXTANTE toolbox - GRASS error

I am trying to use the SEXTANTE module GRASS (and SAGA) for vector analysis but whatever function I use I always get the same error:"Could not load layer: G:/closest.shp Check the SEXTANTE log to look ...
1
vote
2answers
265 views

How to join polygons and lines vector maps from openstreetmap?

I am struggling with the data format OSM gives me: I want to use OSM data for routing, but all round-abouts and parking lots are not in the lines layer. They are situated in the poly(lines) layer. ...
1
vote
1answer
452 views

Merge two maps with OR operation in GRASS

I have two vector maps. The two maps cover the same area but are split up into polygons differently (i.e. if you were to imagine one map placed above the other, the lines defining the polygons would ...
1
vote
1answer
198 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 ...
5
votes
2answers
182 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 ...
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
757 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 ...
8
votes
2answers
783 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. ...
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 ...
2
votes
1answer
643 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 ...
3
votes
2answers
185 views

Is there a shortcut in GRASS for importing vector files?

Is there a keyboard or command shortcut in GRASS for importing vector files? If you know link where I can find maybe whole list of shortcuts for GRASS, that would be awesome. Thank you.
3
votes
3answers
686 views

How do I draw on a vector map in GRASS?

I have a vector map that has two lines. I want to have the two connected. Is there a way for me to draw a line to connect the two? I am using GRASS gis by the way. The two lines that I want to connect ...
4
votes
5answers
608 views

How to save a raster and vector into a single PNG file in GRASS?

I am trying to save a raster and vector into a PNG file. The vector is overlayed on top of the raster map. I was only able to save the raster file into a png using r.out.png but without the vector.
4
votes
1answer
651 views

How to extract features from a vector layer?

I have a vector file containing the river lines of an area. I want to extract a specific water line from the vector. I used: v.db.select but it only displayed: ...
0
votes
1answer
123 views

How to create a new table for a vector file?

I will use v.db.connect but i want to use a new table, and not an existing table to connect it to. What is the GRASS script for it? Thanks!
1
vote
1answer
183 views

Why is the geonames not loading?

I want to import a geonames file. I downloaded the geonames .txt file from http://download.geonames.org/export/dump/ I used: v.in.geonames input=PH.txt output=ph but it displayed ...
1
vote
1answer
897 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?
4
votes
1answer
311 views

How to know contents of column names in GRASS?

I am using GRASS to extract a specific area from a vector map. Here is the script that I am running: v.extract PHL_map out=makati where="AREA_NAME = 'Makati" The problem is, I don't know what are ...
2
votes
2answers
556 views

How to query data from a vector map (shapefile)?

We want to obtain the specific place of the boundaries of a shapefile. We want to be able to get the points of each polygon corresponding to a specific place in order to use these data in an ...