2
votes
1answer
17 views

How to style a Vector layer in QGIS using a numeral of an attribute

I have a simple vector layer in QGIS that I would like to style with numerals based on the ID attribute. For instance, point with ID 1 will show up as the numeral 1. Is this possible with default ...
2
votes
1answer
20 views

How to make my PostGIS vector layer in QGIS visible?

I have loaded a shp file (simple polygon with one entry) into PostgreSQL 9.3 (with extention PostGIS v2.1.3). I now want to load this layer into QGIS (v2.2.0 Valmeira) via the "load Postgis layer) ...
2
votes
0answers
36 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 ...
0
votes
0answers
4 views

how to re'display feature after using my 'filterFeature()' function?

the code below is a function that hides a certain region in the map. the problem is i can't redisplay it, i've tried removing this line wfs2.features[i].style = {visibility:'hidden'}; but it says ...
3
votes
1answer
29 views

How to change the color of vector layer of QGIS in api?

I'm using QGIS-2.4.0 api to develop app in C++. When I add a vector layer to the app, the vector map's color would be random. I used QgsFeatureRendererV2 to get the geometry type of the layer, my ...
1
vote
1answer
27 views

QGIS vector layers do not match DEM?

I have a DEM (saved as a .tif) and, using QGIS, I want to clip the DEM using a vector mask. The function will not work. Am I missing critical step?
2
votes
0answers
22 views

Extracting gridded data from polygon vector layer

So I've spent a few enjoyable (and frustrating) days teaching myself the basics of QGIS and fiddling around to try get some data output I need to drive some calculations. Sadly I'm not having any joy ...
3
votes
1answer
51 views

Calculating distances from points to the centre of cells

I am using QGIS 1.8.0 (using older version because I need the Qmarxan plugin which is not available for 2.4.0). I have a study area that has a vector laying of "planning units", or cells over the top ...
1
vote
0answers
35 views

QGIS polygon areas inside a polygon

I'm having hard time doing the following analysis in QGIS: I have watershed polygons with individual IDs. Then I have four different shape files, each having different land use polygons. I would ...
1
vote
0answers
35 views

Clipping between features within a single vector?

Is it possible (via the Qgis API and friends), to clip polygonal features within a single vector layer? The hope is to accomplish this without having to duplicate the feature into a new layer. ...
3
votes
2answers
70 views

Merging raster and vector not working

I have 1 vector layer (counties) and 1 raster layer (population density). I have tried merging these two, so that I can examine population density within a county, but I have had no luck. It just ...
4
votes
2answers
49 views

How to show labels for all polygons in a layer, even with 'NULL' values?

I have a polygon layer which contain information on property name, number of trees within the polygon, average height, and min- and max height values. My problem is, I want to label each polygon with ...
1
vote
1answer
32 views

How to crop a vector shapefile according to raster?

I am trying to clip a vector shapefile- points according to a DEM in QGIS. I used GDAL function and polygonized the DEM. Then I ran the Vector-Geoprocessing tools-clip in order to crop the vector data ...
2
votes
1answer
29 views

Extract all raster cells outside a polygon

How does one perform the very simple task of extracting all raster cell values outside a polygon? I've been looking through QGIS for hours with no solution to this simple problem.
2
votes
1answer
67 views

Memory Vector Layer Corrupted?

I was working with a large data set that had data for roads, rivers, railways, etc. all together so I decided to break the different data out so I could label it differently on the map and check each ...
1
vote
0answers
30 views

Vector layers without geometry in QGIS?

Using QGIS, I have set up a couple of automated layer additions via the toolbar. After adding geometry in each respective layer (point, lineString, polygon) and saving changes to the layers, the added ...
1
vote
0answers
15 views

Vector Layer Symbol (ism) properties?

I would like to streamline the render of a polygon grid vector layer as a simple line (no fill) via Python coding. I am I bit confused by the implementation referenced by the API. Is it possible to ...
0
votes
1answer
69 views

How to perform an attribute-weighted sum of multiple polyline features from a single vector layer?

I have a shapefile of ~8000 polyline vector features representing traffic journeys on road routes. Each has an attribute representing volume of traffic for that journey. The routes are all generated ...
1
vote
1answer
61 views

How to batch-process attribute tables in QGIS (or GRASS)?

I'm using GRASS 6.4.3 in Linuxmint 16. I have a bash script for GRASS which I use to process almost 300 raster files. The script first imports some raster files (r.in.gdal), then does some ...
1
vote
0answers
73 views

How to create a rainfall raster from rainfall contours?

I downloaded a free rainfall data from the Philippine GIS Data Clearinghouse (PhilGIS) which are vector lines. How can I extract the data points from this? I want to extract it because i will be ...
1
vote
0answers
36 views

Polygonize Missing Polygons

Polygonize is not capturing all of the pixels in an image that has been converted to 0s & 1s. The pics below show -original geotif -geotif recalculated to 0s & 1s -polygonize output As the ...
4
votes
0answers
45 views

How to compare two sets of points in QGIS?

I have two point layers with XYZ data; one set are points measured in the field and the second set is a Lidar data set. I want to check the accuracy of the Lidar in comparison to the measured data. ...
0
votes
0answers
42 views

Polygonize only pixel values of 1 from a raster

I have a raster mask that I have created in QGIS (2.2.0) that consist of 0, 1 and nodata values. I would like to end up with a polygon dataset that consist of only the value of one pixels from this ...
0
votes
0answers
62 views

How to create a vector layer from a GeoAlchemy2 query?

I'm currently developing a QGIS plugin where I mapped a PostGIS database via GeoAlchemy2. I wrote a function that returns results from a GeoAlchemy query but have no idea how to create a vector ...
0
votes
0answers
30 views

QGIS Rasterization of points

I have a point vector layer and want to make it a raster. Trouble is that many points are very close to each other, so unless I specify a very small resolution of the raster cells, likely several ...
0
votes
1answer
44 views

Process to georeference corners of vector file?

I am new to QGIS and trying to wrap my arms around it so please bear with me. I have vector files (DXF) that I need to add back in the georeferencing. They were edited with Illustrator so I loose ...
0
votes
0answers
9 views

Adding (ir?)regular vector points

I run 2.0 qgis. (I am quite the rookie) I would like to add a point layer which is regularly spaced every 5 metres along the x-axis, and regularly spaced every 1m along the y-axis. I cannot seem to ...
0
votes
1answer
73 views

Raster and vector layer in the same CRS don't match

While adding multiple raster and vector layers (and setting them all in CRS WGS84) in QGIS 2.2, they don't seem to overlap. Interestingly enough, only raster files overlap between each other, the same ...
0
votes
0answers
46 views

Can I create a cross section from points along a line without using a DEM in QGIS?

I have a set of points perpendicular to a river and would like to present a cross section of them. Like a simple graph in Excell for example, with Z as y axis and distance along the line as the x ...
0
votes
0answers
15 views

QGIS merge selected features tool malfunctions due to geometrical errors [duplicate]

The issue occurs using the 'Merge Selected Features' tool when there are geometrical errors in the features (not all are picked up by the 'check geometrical validity' tool). In 2.2 Valmeria, the ...
0
votes
1answer
33 views

How to put marker on vector layer with lat/lon on QGIS [duplicate]

I have a vector layer, and bunch of lat/lon values. I want to put markers on the vector layer for each lat/lon pair. I have never used QGis, would you help with it. thanks.
1
vote
1answer
61 views

label vector line with multiple attributes in QGIS

I have a line with two 2 attributes. I would like to display both information along with the line in frequent interval, one info above the line and the other is below the line. I am working in QGIS ...
0
votes
1answer
54 views

Issue clipping vector file with QGIS (geoprocessing tools)

I am trying to clip wind speed data (.shp format) to Canada's provincial boundaries (also .shp format). I am using the clip feature in vector > geoprocessing tools. For some reason the function always ...
0
votes
0answers
72 views

PyQgis: How can I “append” features to a Vector Layer instead of “stacking” them?

As I read data from a text file and add points to a QgsVectorLayer (as well as related attributes), each new record gets 'stacked' on top of the previous one in the Attribute Table (and within the ...
3
votes
2answers
266 views

Split Lines at Intersection of Other Lines

I have two line layers (roads and contours in this example) and I would like to split the roads layer every time it crosses/intersects a feature on the contour layer. I can't seem to find a tool that ...
1
vote
1answer
91 views

Iterating over selected features in QGIS Processing

I used to be able to iterate over selected features using the following script in v2.0. import processing features = processing.getfeatures(layer) for feature in features: #Do whatever you need ...
1
vote
2answers
85 views

How to align/georeference distorted vector layers in QGIS?

I've got a shapefile which has been digitized from a strongly distorted historical map, and would like to align it as nicely as possible to another precise shapefile layer. The transformation must ...
3
votes
2answers
112 views

Add rectangle polygon

I have a polygon shapefile layer. I want to add a rectangle polygon (just like in Arcmap), and another one using the previous polygon edge. I need it to be accurate, my hands do not meet this ...
0
votes
0answers
21 views

Is it possible to sort by Layer Name when adding vector data from file geodatabase in QGIS?

Is it possible to order the data alphabetically when adding data from a file geodatabase in the Select vector layers to add... window in QGIS? It is ordered by the Layer ID number, with no way to sort ...
1
vote
0answers
52 views

Method for identifying upstream segments

I need to add to the attribute table of a stream network layer a column that can identify all upstream segments that contribute to the segment (for each segment). My best idea at the moment is to ...
2
votes
1answer
34 views

unable to draw polygon without attribute window popping up?

I'm fairly new to QGIS and an trying to draw a polygon via "Adding Feature". When I make the first left click to start, the attribute window pops up instead of letting me continue on with additional ...
0
votes
0answers
19 views

Statistics on matching point layers ignoring nodata values in QGIS

I have a large area and a street crossing this area. Both are vector point layers in QGIS. The large area contains -99 as NoData value. I already created the intersection of both as a new layer. I ...
2
votes
2answers
77 views

Converted GPX file has null values in open attributes

I'm an absolute newbie but I think I'm doing this right. I've got a bunch of .fit files from my garmin. I can use GPSBabel to manually convert these to GPX XML and the map looks fine after the ...
1
vote
1answer
116 views

How to indicate flow of a watershed feature?

While tracing and digitizing rivers, streams, rivulets, etc., is it possible to indicate the direction/flow in the shapefile on QGIS? I'd like to avoid using map labels. Ideally, when done tracing, I ...
1
vote
0answers
95 views

Is there a decent algorithm in QGIS Process Modeller to create a grid?

I am using Process Modeller to automate merging several vector layers and then creating a grid to cover the extent of the merged layer. There are functions which already exist which are not listed in ...
1
vote
1answer
81 views

QGIS: Line to polygon conversion

Currently we are working in a geological project..in which all the Contacts, Linear & some other geological features have to be captured. The thing is most of the features have to be Captured as ...
0
votes
1answer
46 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 ...
0
votes
2answers
44 views

Rasterization in different bands

I have a set of vector based shape files, representing different types of ground coverage in a city (for ex: roads, buildings, open field,...). For the algorithm that I want to run on it, I need just ...
0
votes
1answer
55 views

why can't i export geometry data from a shapefile?

I saved the layer using "vector save as" box but even when adding GEOMETRY=AS_XY in the layer box, the csv only showed the id and no gemetry data.
2
votes
1answer
83 views

Why do layers appear in the wrong order in QGIS 2.2?

I have a problem with in which order my vector and raster layers appear in QGIS. I have raster that I want to be the background of my other layers (vector). I place the vector layers on top in the ...