Version 2.0 of QGIS (previously Quantum GIS)

learn more… | top users | synonyms

2
votes
1answer
18 views

In a polyline shapefile, how can I color a label using it's corresponding symbol color? (QGIS)

Maybe a pretty simple question. I have a polyline shapefile that I've symbolized through categories, and I wish for the labels to automatically be set to the same color as it's corresponding line ...
2
votes
1answer
18 views

Problem using processing.runandload(…)

I'm writing a QGIS plugin using PyQGIS and I have a weird problem. When executing following line of code: processing.runandload("qgis:createpointsalonglines", r"Clipped", 1, 1, 0, r"memory:nodes") ...
1
vote
0answers
18 views

How to rollback the committed changes in the Vector Layer in qgis

I selected few features in the vector layer and updated the field. But I want to rollback the changes committed to the vector layer. How can I do that in QGIS? I have used used the following coed: ...
1
vote
0answers
12 views

How to send GPX file to a GPS device [duplicate]

I'm using QGIS 2.0.1 and want to send a GPX file to a GPS device, Garmin Astro 320. When using the GPS Tool in QGIS and click the OK button I get the message Can not start GPSBabel! What's ...
3
votes
1answer
32 views

Which CRS would be the most appropriate to georeference a map of Egypt?

I'm trying to georeference a geological map of Egypt from 1981, but I don't know which CRS to chose, either the transformation type nor the resampling method... And once the georeferencing of the map ...
1
vote
1answer
22 views

QGIS: How do I edit line and fill setting when using Add Feature?

Newbie here. I see that the creation of new shape layers must be possible, but I cannot work out how to do so without QGIS only using the default ugly green fill polygon setting. Is there a way to ...
1
vote
0answers
28 views

Setting icon for the submenu items in QGIS

I had added a new menu item as well as submenu item using the below code. I had succeeded in setting icon for all the submenus(HeatMapAnalysis,Buffer and Intersect.) But i cant able to set icon for ...
2
votes
0answers
23 views

Is it possible to stop an algorithm midway through processing in QGIS?

This question come about do to an annoying though infrequent issue I have been having in QGIS. On occasion, I will begin processing a tool that will take some time to run but realize midway through ...
0
votes
1answer
14 views

QGIS crashes when using heatmap plugin

I am using QGIS 2.14.1 in Ubuntu 15.04 and when i click Raster -> HeatMap -> HeatMap. My QGIS crashes and closes automatically even there is a point layer loaded in the canvas(HeatMap Plugin expects a ...
1
vote
0answers
23 views

Layer style is not rendered properly using PyQGIS

I'm trying to render a layer with the given .qml style into .png image using a standalone PyQGIS application. The issue is that not all the layers of the symbology are rendered, e.g. a polygon with ...
3
votes
1answer
17 views

Point feature changes over time?

QGIS strategy for denoting point feature changes over time? My project file has a shape file layer (point symbols) geolocating 50 historic street name mosaics embedded in concrete sidewalks ...
7
votes
1answer
164 views

Setting a default value in a QGIS field

I would like to add in a layer's field a default value. I mean, every time a new feature is created, that field would be automatically filled with the default value. In my case the default value ...
3
votes
1answer
39 views

Empty a layer for each QGIS project

I have a layer with a customized form. Dropdowns, checkboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied and pasted every time a new study has to be done ...
2
votes
2answers
44 views

Open local Raster Tiles in QGIS

I have a local directory with a Raster Tile, downloaded with SAS Planet (I know about the license issues, its just a personal test). In Global Mapper I can load it directly from the directory using: ...
5
votes
1answer
97 views

How does one style the border to match the fill in QGIS?

In the past I have just manually matched the color of the border to the color of the fill, but this can be time consuming. I am wondering, is there any way to have the program automatically match ...
2
votes
0answers
62 views

Problem using processing.runandload() [closed]

I'm writing a QGIS plugin using PyQGIS and I have a weird problem. When executing following line of code: processing.runandload("qgis:createpointsalonglines", r"Clipped", 1, 1, 0, r"memory:nodes") ...
1
vote
0answers
31 views

QGIS 2.14 - Saving Lat/Long csv file to ESRI Shapefile Error [duplicate]

I have a csv file that I bring into QGIS 2.14 with standard lat and long formatting. The file displays fine but when I try to save it as an ESRI shapefile I get an error: Export to vector file ...
4
votes
3answers
52 views

Convert .csv with polygon geometry to .shp QGIS

Working on a Mac in QGI 2.12, I have a csv file with polygon geometry coordinates that I would like to save to a shapefile. It displays fine as a csv. However, when I try to use "save as," I get the ...
1
vote
0answers
82 views

Getting Started With QGIS? [duplicate]

I am a fairly strong user of ArcGIS, having started with version 8 long ago. But I'm looking for an inexpensive alternative right now for a client, and I want to investigate QGIS as a possible ...
0
votes
1answer
18 views

Getting the DB name of the spatialite table loaded inside QGIS using PyQGIS

I have a table loaded in QGIS from spatialite DB. When i see the layer properties it is dbname='/home/farook/Spatialite/Cities.sqlite' table="cities" sql=. Now i want the dbname alone (i.e) the entire ...
4
votes
1answer
54 views

Connecting to a spatialite DB, querying, writing the queried result to a spatialite table using PyQGIS

I am developing a plugin that connects to a spatialite DB , do some queries and outputs the results to a spatialite table. I had tried with the below code to connect to the DB and print the queried ...
0
votes
0answers
33 views

Debugging QGIS plugins using Eclipse IDE in Ubuntu?

I am using QGIS 2.14.1 in Ubuntu 15.04. I am developing QGIS plugin using Eclipse 3.8 IDE installed. I would like to configure pyqgis and debug the code using eclipse. Is there any documentation for ...
1
vote
0answers
25 views

Error while creating plugin using plugin builder in Ubuntu 15.04

I am building a QGIS plugin using qgis plugin builder 2.10.1. I am using Ubuntu 15.04. I had selected (/usr/share/qgis/python/plugins) path for the plugin to store in plugin builder, Its raising an ...
1
vote
0answers
23 views

pyqgis change or update attribute data with real-time data or Timer update,Memory has been growing

I update my shapefile attribute data by QTimer ,and labling it, keep the lable visiable,change attribute by 1 minute, but the Memory has been growing 1 layers ...
1
vote
0answers
43 views

How to clip many lines with polygon?

I have two vector layers: "parallel": a vector layer containing a lot of lines, they're all parallel but that shouldnt matter "polygon": a vector layer with just 1 polygon I want to create a new ...
6
votes
1answer
98 views

Following tests fails while trying to build QGIS from source

I have been trying to compile QGIS for a long time now. What I did is: Download Visual Studio 2010, Windows 7 SDK, cygwin, osgeow4 (I followed the instruction lines 380 - 447) Additionally I have ...
2
votes
0answers
108 views

Plugins incorrectly being disabled due to “causing QGIS crash”

I have QGIS 2.14.0 installed on my machine (W7 x64, AMD FX-8150 3.6GHz, 8GB RAM, SSD) and I'm having issues with plugins not opening by default when I open QGIS. The message I get (for each plugin ...
0
votes
0answers
11 views

QGIS and mysql administration - How to update a multiple select values

I have a mysql DB with spatial information. I would like to admin this DB from QGIS. I have the following situation: TABLE_A id | title | point 1 | item1 | point(x1,y1) 2 | ...
1
vote
0answers
30 views

QGIS 2.x - no repository and WMS access

Suddenly in my QGIS 2.x installations the official QGIS repository is unavailable from my computer. Also I can't load any WMS (from OpenLayers plugin etc.). It worked before and I don't know what I ...
4
votes
1answer
55 views

Load WMS with PyQGIS

I have installed QGIS server on Ubuntu 14.04 which serves WMS. Connection uses https and basic auth. URL is https://my.awesome.url:8090/cgi-bin/project1/qgis_mapserv.fcgi I can connect with QGIS and ...
0
votes
0answers
22 views

Fetching the table data from SQlite db in QGIS throws an error

I have exam.sqlite db and it contains 4 tables as t1,t2,t3,t4. from pyspatialite import dbapi2 as db sqlite_file = r'D:\Folder\exam.sqlite' conn = db.connect(sqlite_file) ...
2
votes
0answers
69 views

How to rotate symbols in QGIS

I have a vector symbol that I am using rule based style with. In the Rule properties tab I click on the SVG marker and change the "rotation" which is a field I have made to handle to the rotation ...
3
votes
1answer
54 views

QGIS's Select Features tools only work occasionally

I'm hoping someone can help me work out whether there's something I'm missing here or whether QGIS's Select Features tools are just really buggy. I have a variety of polygon layers from shapefiles ...
4
votes
1answer
113 views

How to split a polygon into multiples sections in QGIS?

I am working on QGIS latest version 2.12.3. I am digitizing a polygon. It represents a riparian buffer of a river. The polygon made a continuous « loop » with a widht of 50 meters. I want to split my ...
2
votes
0answers
26 views

QGIS 2.12 Edit rendering styles for outputs not listing all outputs

I have built a model in QGIS 2.12 and have been using the Edit rendering styles for outputs to set the styles for the models output data. But I have come across an issue. When I am configuring a ...
2
votes
1answer
65 views

Get the same coordinates for points after downloading a .osm file

I downloaded a .kml file that contains bike stations which I know the coordinates (latitude and longitude). So I got a layer that contains points corresponding to the stations. Then I downloaded the ...
4
votes
0answers
63 views

Postgis sequence in QGIS not working

I have a Multipolygon-Layer stored in a Postgis-database. The primary key field 'gid' is SERIAL. When trying to add a new polygon in QGis (LYON 2.12.1 on OSX El Capitan), the attributes form shows me: ...
1
vote
0answers
29 views

Colliding labels for point features in QGIS

I have a layer (point features) containing various points of interest (POIs), some of them have the exact same location. I would like to map these POIs and add a label showing their names. However, ...
2
votes
1answer
94 views

Creating polygon regions with latitude and longitude values in qgis?

I've a set of places with their latitudes and longitudes, I've plotted them on QGIS but what I want is to create polygon from these points so that each point refers to a particular region around it. ...
3
votes
1answer
58 views

Convert 0's to NoData in QGIS Raster Calculator [duplicate]

What is the easiest way to convert cells with a value of 0 to NoData in QGIS Raster Calculator?
4
votes
1answer
84 views

QGIS Finding valves to turn off for water lines

I am wondering if there is a tool for QGIS that can do what I am about to describe. It might be in network analysis but I am not sure. I have used water gems but it does not do what I want it to do. ...
1
vote
3answers
130 views

Area units for output polygon in WGS 84 UTM Zone 32N using QGIS

I am calculating the area of my polygon and I have used WGS 84 UTM zone 32N to calculate the area (using geometry on the field calculator) of my polygon, and I obtained 745461 (without units). How ...
1
vote
1answer
25 views

Is there more than one option to change QGIS' temporary folder?

I have tried changing the TEMP folder of QGIS following this post,and although it wasnt required, I restarted the system after making the change, but still got no result (printscreen below). Is there ...
2
votes
1answer
81 views

QGIS processing toolbox: fieldcalculator - update only selected features is not possible

I am working on a model where I need some calculations on only some selected features. In the normal fieldcalculator you can check 'only update ... selected features'. When using the fieldcalculator ...
3
votes
1answer
79 views

Rotate symbols perpendicular to line angle (QGIS)

I have lines representing curving streams and want to angle symbols at various points on the streams so that they are perpendicular to the angle in their particular locations. What QGIS seems to do ...
4
votes
2answers
98 views

Easier calculation of a surface using QGIS

I'm looking for an easier way to calculate the surface on QGIS: My project CRS is in Lambert93. Currently, when I'm calculating a surface using QGIS, when the surface seems wrong, I always have to: ...
3
votes
2answers
92 views

Is it possible to style the QGIS Message Bar using QSS?

I'm developing a GUI theme for QGIS 2.12 using QSS (QSS is very similar to CSS, but for styling Qt widgets). This is new functionality introduced in 2.12 Pisa. So far, results have been encouraging! ...
4
votes
1answer
37 views

Trouble saving graduated color style in Spatialite db in QGIS

When I attempt to save a style with graduated colors for a vector layer in a Spatialite db, I receive the following error: Error looking for style. The query was logged I had success saving ...
1
vote
0answers
57 views

How can i set layer polygon in center in QGIS using python?

I am trying to set a fixed zoom level whenever I layer is shifting on different polygon. I have coordinates for all the polygons , I need each polygon to be on center with certain zoom level so that ...
1
vote
0answers
55 views

Label layout on python in QGIS

Now the only issue is that in image I am not getting the labels, I have on polygon. Please help in that too Please see above attached screenshots here I need labels – I have updated QGIS it's version ...