3
votes
2answers
46 views

Layer just for annotations

Im relatively new to QGIS and would like to know whether or not I can save my form annotations to a layer so I can turn them on or off.
3
votes
0answers
118 views
+100

Startup python script to re-join layers

In QGIS 2.2, there is a bug which involves using the JOINS properties on a vector layer (that is already being joined with several other vector layers) whereby the attributes are not fully loaded. ...
2
votes
0answers
24 views

Memory layer or QgsVectorFileWriter Error?

Currently this excerpt of code will not save to file (as it is supposed to). The memory layer is visable and editable. Yet even when manually saving the layer, any priorly added features ...
1
vote
0answers
10 views

Proper updating of new memory layer geometry?

Current workflow for a toolbar button: -create memory layer -save memory layer to shapefile Then the user uses the built-in QGIS tools to add geometry and finally saves changes via the auto prompt ...
1
vote
0answers
29 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 ...
0
votes
0answers
27 views

Lining up three Layers that use same Coordinate Reference System (CRS) in QGIS?

How do you make all borders of a layer equal? they should be equal but i don't know how, mCRS layer is all in philippine zone 5(EPSG:3125), with the same formula/equation, I'm new to QGIS and I'm ...
1
vote
1answer
34 views

Merged Layers turned into square shape cause by single layers in QGIS?

What I did is merged the 30 layers of the map (Isabela Map Province - Philippines) and below is what happened. How do i remove the inside map of the border? I'm new to QGIS and I'm using QGIS 2.4 ...
2
votes
1answer
80 views

Creating New Layer After Sorting Attribute Table using QGIS?

I have been self-teaching myself some open source GIS. I downloaded QGIS and have been following this four part tutorial - ...
1
vote
1answer
38 views

Merging vector layers using QGIS? [duplicate]

I have dozens of vector layers that I want to join together in QGIS. They have identical fields. How do I do this?
1
vote
0answers
41 views

How to force geometry type in (WFS) layer in QGIS

I have an external WFS source serving mixed geometry types - in other words, I have no control of the source. When adding the layer QGIS sets the geometry type to line and thus I am unable to style ...
1
vote
1answer
28 views

How to remove ghost layer in Qgis?

I added a delimited text layer to a Qgis 2.0 project, working in Windows, but it got added wrong: It didn't appear in the list of layers on the left panel, nor did it show in the map canvas. However, ...
1
vote
1answer
62 views

Is it possible to set symbol layers always on top?

Is it possible to set symbols always on top, also if the layer with the symbol is drawn under another layer? Example: My layer order is like that: Streets (top) Buildings Landuse (bottom) The ...
0
votes
1answer
63 views

Programmatically set layer properties Python Init function

Is it possible to set the layer properties Python Init function field programmatically? I've been looking through the qgis 2.2 api but can't seem to find anything on it. Hint, suggestions and ...
0
votes
0answers
82 views

Clipping multiple layers in QGIS 2.2

I have huge amounts of data (multiple country-wide shapefiles) which i have to work with constantly. But working on separate cases i only need a fraction of that data (region, city etc.) Loading the ...
1
vote
2answers
156 views

How to clip a lines vector layer to a polygon layer in QGIS?

I've perused through previous questions and haven't been able to find an appropriate solution to my problem yet, so I wanted to post here. I have a lines layer (a contour map of mean annual ...
0
votes
0answers
17 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 ...
1
vote
2answers
79 views

Open mail client when clicking feature in Attribute Table

One of the attributes/features of my layer contains an email address. I'd like to be able to open the default mail client by clicking on the mail address from the Attribute Table. After some initial ...
1
vote
2answers
109 views

How can I create a pdf map at a high resolution while still keeping the file size manageable?

I have numerous layers in shapefile format that contain a lot of data across a large area. I am trying to create a .pdf file that shows all of the area and I want it to be in good quality, so that ...
1
vote
1answer
57 views

Overlap or intersect two choropleth [closed]

I have two choropleth of the same area but with different concentration data and I need to overlap them. My aim is to highlight the areas of intersection between the points with the highest ...
1
vote
1answer
128 views

QGIS 2.2 - expression string builder to ignore NULL values

Simply put, I would like to create a rule-based filter whereby you add 2 columns together and you get a certain colour as a result. However, some fields in Column_1 may be NULL and those exact same ...
0
votes
0answers
42 views

How to intersect more than 2 layers in QGIS

I have a dozen layers, some intersecting with others. Using the Intersect tool only allows 2 layers at a time but can you add extra layers to find where it intersects? Even if it's 3 layers as shown ...
0
votes
0answers
19 views

Layer offset issue in QGIS 2.0.1

I have two loaded WMS layer and want to change their position relative to each other. First, I tried to use Layer class and write some kind of plugin, but I can't find any method that allow to change ...
1
vote
0answers
16 views

Can QGIS2 refresh layers without the need to reclassify each layer individually?

I have a set of layers which I'd like to have refreshed each time I open QGIS2.2.0 (Windows 7). Each of 14 layers (polygons) is linked via a join to a csv file with no geometry. The layer displays a ...
0
votes
0answers
24 views

In QGIS Process Modeller, is it possible to automatically run a function on several layers without listing all combinations?

Trying to develop a Model which includes finding any intersections between layers and then merging them all into a single layer. I have 12 layers in total, it's not really efficient to list all the ...
1
vote
0answers
19 views

Can a joined-layer have its attribute changed depending on what layers are selected/deselected?

Using QGIS, I have a polygon-grid layer which covers everything, Layer_All joined with 2 other grid layers: Layer_1 and Layer_2, both of which intersect at various points. I would like Layer_All to ...
1
vote
1answer
167 views

QGIS/PostGIS layer styles

I've made a plugin asking for login credentials to a DB. Once logged in, the plugin is loading some layers from the DB. In the DB there are both admin and "normal" users. I've saved two styles to the ...
1
vote
1answer
52 views

Displaying QGIS layer after loading with Python

I'm successfully loading several layers with Python, but can only get to see them in the map window if I manually zoom to extent afterwards. Once the last layer is loaded I call zoom to extent in the ...
0
votes
1answer
67 views

Layer relations via Python

Is it possible to, through Python, to create the relations that it's possible to create in Layers/Properties/Fields/Relations, and if so how? I first thought these were saved in the styles, but that ...
0
votes
1answer
63 views

How to disable “Simplify geometry” via Python?

After I've loaded a layer from a table in my db I'd like to disable the 'Simplify geometry' (found in Layers/Properties/Rendering) programatically using Python. I've tried several versions of ...
0
votes
1answer
67 views

How can I copy columns from layer 1 to layer 2?

I have two layers, the first layer is pipe: that has some fields (column) title like : length, id, material. Also I have another layer that is empty (without any fields). How can I copy fields ...
2
votes
1answer
90 views

How to select only polygons that overlap with another layer?

I have two shapefile layers created from different thresholds from a predictive model (Pink=80; Yellow=95). Is there a way to create a new layer of only those pink polygons that contain yellow ...
0
votes
0answers
59 views

How to activate edit tools

I have opened a project I worked on earlier on another machine, but the edit tools are not active, so i cant turn on editing to change a layer. What is the reason for them to be gray, and how can i ...
0
votes
1answer
222 views

Code works on python console in QGIS but same doesn't work in stand alone script

I'm trying map rendering with stand alone script, so I have small script which works fine in python console provided QGIS, however when I run same code in stand-alone script it executes without error, ...
1
vote
2answers
130 views

Using Qt Designer to Create a Form in QGIS that can search for a specific point in a layer

Good Day! I would like to ask if you can create a form in Qt Designer to create a form that can search for a point on the map using data that the user will provide such as the Name. I am currently ...
0
votes
0answers
23 views

Show the paths but not roadsides and driveways in the line layer

I want to display paths in the woods but the paths are all in One (line) layer that contains all roadsides, pavements, drivvays, but also paths, tractor road and other relevant roads in, and up to the ...
1
vote
1answer
105 views

QGIS Quickly switching overlapping raster images

I'm new to QGIS, and haven't used arcGIS in about 5 years, however I've just seen someone using arcGIS and was able to quickly switch between overlapping rasters when checking registration. The top ...
4
votes
1answer
148 views

How can I modify layer order with the QGIS python API

Typically, after a new_layer = addRasterLayer(...) that inserts new_layer before the active layer, I'd like to move it to the top of the table of contents. How to do it? I use an existing QGIS ...
0
votes
0answers
57 views

Crash when editing a layer and when saving in QGIS

When I edit the layers, and its small changes like adding a name (or make it appear in the map), QGIS very often crashes (like for every third or fourth or fifth edit, seldom gets past ten edits ...
1
vote
2answers
147 views

How to avoid “Handle bad layers” message when using QGIS Flowmapper plugin?

In QGIS, if I close a project and try to open it a few days later I often get a message that says "Handle bad layers". This is very frustrating because when I open the project various layers will have ...
0
votes
2answers
73 views

Show only some buildings

How do I show only some buildings? I only need to show 3 cabins in the forrest, but not every house in the whole village around, and the city close by. Maybe some of the symbol buildings in the city ...
3
votes
1answer
198 views

Show alternating contour lines

Is it possible to show only every other counture line? And how do you do that? (Im new to QGIS Lisboa 1.8.0, but even newer to QGIS Dufour 2.0.1, but have used ArcGIS a bit a while ago, and also ...
0
votes
1answer
45 views

Calculate best area with overlaying multiple layers buffer shapes

I am using QGis and I have a set of 20 layers with buffers. I'm interested in where they overlap most and I want to create a single layer that shows which are the places where they overlap most and ...
0
votes
1answer
65 views

Graduated colouring Voronoi polygons? (QGis)

I've got a huge database of depth points for the whole Irish sea which I'd like to be a nice smooth surface, or at least have a depth value associated with the entire area (i.e. include the ...
0
votes
0answers
51 views

QGIS 2.0.1: Changing layer properties with python console

I'm working on a plugin that will aim to ensure that the following steps either "transparent" to the user with one click :   Creating a table with predefined fields Record in this table in postgis, ...
0
votes
0answers
84 views

how do I add attribute features to an attribute table which already exists?

Using Verson 2.0, downloaded as normal. I have an ESRI shapefile of my road map for 2006. I have a paper map of roads for 1969. I want to see what roads have been built between 1969 and 2006 (none ...
2
votes
1answer
414 views

how to fix greyed out edit button

I created a QGIS map, which I was able to edit (right click on layer and select toggle edit, or use button in tool bar). Having returned to work on the plan, most layers now have this button greyed ...
1
vote
0answers
135 views

How to add a MSSQL spatial layer using Python?

I'm having difficulty adding a MSSQL spatial data layer using Python. The database is password protected, and I can add the layer without any problems using the built in feature, but I can't make it ...
0
votes
1answer
291 views

How to zoom to the extent of Qgsvectolayer qgis?

Anyone know how to zoom to the extent of a Vectorlayer in qgis using python plugin?
1
vote
0answers
68 views

qgis 1.8.0 crash when starting qthread

I am trying to update a vector layer attribute table using QThread. i connect a pushbutton click with a slot to start the thread: def EGSupdateAttributeTable(self): AttUpdateEGSThread = ...
0
votes
0answers
107 views

how can i read an attribute value from qgsfeature?

How can i read an attribute value from qgsfeature ? i am trying to update some attribute using other and i have to read value from attribute in the qgsfeature . my source code: provider = ...