QGIS is a user-friendly, cross-platform GIS application licensed under the GNU General Public License.

learn more… | top users | synonyms (1)

1
vote
0answers
15 views

Join a table to a pre-joined field in QGIS

I'm trying to join a .csv (X) to a .shp layer (Y), but X and Y don't share an ID field. Another .csv, Z, has TWO ID fields--one shared with X and one shared with Y. In any other language, I'd first ...
1
vote
0answers
10 views

Editing the configuration of a join in QGIS

Is there any way to edit the conditions of an existing join in QGIS? I have a .csv joined to a (polygon) .shp layer; because I only needed a few fields from the .csv, I only joined those I needed. ...
2
votes
1answer
69 views

QGIS Python script for creating project file

Is there a way to create QGIS project file(.qgs) using only Python script outside QGIS Python console.I am trying to publish a map using QGIS Web Client using python. For this, I am trying to do below ...
1
vote
1answer
51 views

What am I not getting about JPEG 2000 coordinate systems?

I hate to ask this here because I suspect it is a very basic question, but after several days of scouring the web, I need some help with understanding JPEG 2000 imagery and coordinate systems. What ...
1
vote
0answers
30 views

How to count unique lines intersecting with polygons?

Like u can see on the attached picture i did an intersection with a Raster (purple squares) and the red lines. What i need to know is the count of joins each line has for each square. What makes ...
3
votes
1answer
24 views

How to rotate labels by the same angle as the map in the composer?

Does someone know if it is possible to make the labels rotate the same angle as the map in the composer? I'm trying using the expression attribute( $map, rotation) in the data defining placement, but ...
1
vote
1answer
28 views

Error summing 2 different rasters?

I was trying to sum two different rasters and the final outcome is an error (image attached below)? The main goal is to sum the values of each pixel in those rasters (both raster files have the same ...
1
vote
1answer
30 views

How to invoke a script in the currently running QGIS instance from the command line?

From the Windows Command Prompt (or Batchfile) I want to find the running QGIS instance with an open project. Afterwards a script (eg. zoom to something) should be automatically started. I've tried ...
4
votes
0answers
83 views
+50

filename of current style in QGIS using Python

I get the name of the current style file using layer.styleURI(). Then, I change the style file using layer.loadNamedStyle(different_filename). However, when I call layer.styleURI() again, it returns ...
0
votes
0answers
28 views

QGIS linked to camera for GPS based triggering?

Has anybody done this yet? I'm new to QGIS and have just started exploring. I'd like to integrate flight lines and camera triggering if anybody can direct me to the right forum or area. Thanks!
1
vote
0answers
20 views

Saving Android app QGIS and Ministro 2 with right qt libraries onto USB for installation onto tablets without internet?

I need to get the ministro 2 app onto a USB to install onto android tablets for the QGIS app to work. I can get both apps on OK but not the required qt libraries in Ministro 2. Reason being there ...
1
vote
1answer
52 views

getting a plugin path using Python in QGIS

How to get a plugin path using Python? I tried QgsApplication.pluginPath() I got u'/Applications/QGIS.app/Contents/MacOS/../PlugIns/qgis' But I actually store the plugin in ...
0
votes
0answers
17 views

How can I include a color legend for my marker colors when i used a QgsCategorizedSymbolRendererV2?

I have this function that sets the marker color to a different RGB value depending on the attribute price level. I would like to also add a color legend showing the marker color with the level of the ...
1
vote
1answer
33 views

Create raster with distance to feature

I'm new to GIS (and QGIS in particular). I'm trying to create a raster layer that contains the distance to shoreline for a certain region. I have both vector layers of the shoreline (line) and the ...
2
votes
1answer
143 views

Problem with import qgis.core when writing a stand-alone PyQGIS script

I am trying to write a stand alone python script in windows 7 that uses qgis.core and various other qgis libraries. I have found an old question on this subject here: How to write standalone Python ...
2
votes
1answer
49 views

Bing Aerial (OpenLayers) won't show below 1:2257

I'm having this problem with open layers (plugin v. 1.3.5 - QGIS v. 2.6.1 Brighton) where it does not display the map when zooming in past 1:2257. If I zoom to 1:2556 (or anything below it), I won't ...
0
votes
0answers
44 views

OpenGeo Explorer for QGIS 2.6.1 - No module named ogr2ogrtopostgis

I'm trying to use the OpenGeo Explorer plugin for QGIS (v2.6.1) to import shapefiles to my PostGIS database. I can connect to the server, but when I try to import, I get the following error: No module ...
2
votes
1answer
40 views

Problems using r.reclass in QGIS: invalid reclass rule error?

I need to reclass some rasters, but i am having a couple of problems, i can´t generate a new raster with the reclassification using the r.reclass of GRASS. For the question here i´m using as example ...
0
votes
0answers
24 views

What does the b-spline-interpolation-algorithm actually do?

Right now, it is just a Blackbox-way to interpolate a DEM. I know to some extent how for example the nearest-neighbour-method works, but I have no idea about b-spline. It would help to understand the ...
6
votes
2answers
209 views

Cannot run standalone QGIS script

I've been trying, along with this post, to run a script in OSGeo4w Shell, outside of QGIS. But I get the following error: ImportError: No module named qgis.core I have also read the following ...
1
vote
2answers
83 views

GEarthView plugin doesn't work

I'm trying to install the GEarthView plugin but without success. The following message pops up after installation: "No module named zope.interface" What is the problem? QGIS 2.6.0 Windows7 (64Bit)
0
votes
0answers
29 views

QGIS Cloud Plugin is broken, no module named ogr? [duplicate]

When I try to install QGIS Cloud plugin I get the error message 'Plugin is broken, no module named ogr' Same as in this post with no solution ”No module named ogr” when installing QGIS plugins Is ...
0
votes
0answers
23 views

QGIS 2.6: Globo & Qgis2threejs on Mac OSX Yosemite

I use QGIS 2.6 on my Mac with OsX Yosemite, but plugins globo and qgis2threejs don't run. Can someone help me?
1
vote
2answers
65 views

How to import editable layers from other QGIS projects?

I have a QGIS project that I have spend a lot of time styling over a 80 layers and it seems to have somehow become unstable. I believe that I renamed a folder containing some layer source files which ...
2
votes
0answers
45 views

Via PyQgis how to refresh a modified CSV layer without having to reopen the file?

UPDATED: With an CSV layer Qgis workspace [loaded as a delimited text layer], an external algorithm is ran; outputting (writing) new values to certain rows in the layers source CSV file. The writing ...
1
vote
1answer
58 views

Writing a shapefile using OGR, from Shapely Geometry - No feature added Error

I am trying to write a shapefile from a Shapely geometry using PyQGIS in the QGIS 2.6.0 console. Lines of code before the OGR method to write shapefile: extnt = poly.extent() # gives a QtRectangle ...
0
votes
0answers
22 views

Loading .shp files onto Garmin eTrex 30

first off, I've looked here and here, and other places as well, but I can't seem to find anything that solves my issue. I have a Garmin eTrex 30 that I am using with QGIS 2.0.1 and Mac OS 10.9. I ...
3
votes
0answers
77 views

Why is QGIS so much faster on Windows than Mac? (or: Why is QGis so slow on macs?) [closed]

I just went from temporarily using a Windows 7 machine with 4GB of RAM and no video card as far as I know. I'm now using a mac with 16GB of ram, etc. Its a much more powerful machine. However, QGis's ...
0
votes
0answers
23 views

QGIS MySql database queries over 4000

When i open file of QGIS 2.6.1 with 32 layers whose tables all come from the same database, i see that by just opening the file, QGIS already sends 4100+ "SELECT..."-questions to the database, and ...
0
votes
0answers
29 views

Problem with Openlayers plugin adn Googlemaps [duplicate]

I have just installed QGIS 2.6.1 and I try to create a new project using googlemaps from Openlayers plugin but I am not able to zoom and move on the map. I have do not set anything so I was surprised ...
1
vote
0answers
36 views

How to change values in a raster file at particular positions?

I have a collection of coordinates which comes from a QGSGeometry object. The shape is a polygon. example: qgsGeometry [[(75.2172,17.6566), (75.8499,17.9613), (75.5218,17.2113), (75.2172,17.4574), ...
0
votes
0answers
13 views

How to zoom to the features by selecting the feature with the key event

For zooming to the features first i am selecting the feature and then i am zooming but when i am selecting the feature keyevent stoped working. layer.select(feat.id()) ...
1
vote
1answer
38 views

Use r.mapcalculator in Python console

I'm trying to use the r.mapcalculator algorithim in a python script, but I'm having problems in using the r.mapcalculator to tranform a raster layer with float values into integers. Using the ...
2
votes
0answers
58 views

How to customize the visibility of buttons in QGIS?

The built-in toolbar named "Composer" has an icon "Duplicate Composer". I wish to toggle the visibility of this button in the toolbar. How do I achieve this using pyqgis?
1
vote
2answers
65 views

Vector -> Geometry Tools -> Extract Nodes equivalent in PyQGIS API

My question is fairly straight-forward. Would anyone know the PyQGIS equivalent of the Extract Nodes tool in QGIS? I don't seem to find it in the API documentation. If you do, kindly share the ...
1
vote
1answer
44 views

QGIS how to 'compare' points (latitude/longitude) w/address data (zip) to a zipcode boundaries shapefile

Hello my fellow GIS brethren, I am a geography major (gis) alumni who can't remember what he learned in college! It's been so long since I dealt with geospatial data and I can't remember the best ...
0
votes
0answers
29 views

How to fix the broken MGRS Tools plugin?

Here the case: i have a plugin installed in .qgis2/python/plugins that remains broken and i cant make it work. I've found it here https://github.com/volaya/mgrs-tools. If any of you know the way to ...
1
vote
3answers
54 views

How to append data in PostGIS database with QGIS?

I 'm running postgis with qgis 2.6. I created a database and tables that i need to update with new datas provided with shapes. I cannot find how to insert them in table. All attributes both shapes and ...
1
vote
1answer
40 views

georeferenced raster coordinates

In QGIS 1.8 I have two rasters derived from the same multi-band tif image (1) ndvi - each pixel contains NDVI values. Using /Plugin/Analysis Point Sampling tool a new vector layer is created and the ...
4
votes
1answer
95 views

How do I view GTFS data in QGIS?

I would like to use QGIS to create my map. One data feed is the gtfs regarding to bus routes. I can view it on Google Earth (although laggy), but when I tried to import the .kml into QGIS, it just ran ...
1
vote
1answer
32 views

How to sum up values of neighbouring rasters? [duplicate]

I have a raster (25X25 meter) and I will make a new raster where each cell get the value of the sum of all the raster cells in a radius of 500m. I use QGIS. What is the best option to do this?
1
vote
0answers
35 views

QGIS Mac OSX version cannot batch write output files after rasterization

Happy new year everyone, I have been trying to batch rasterize a series of .shp files using QGIS for Mac OS X, and keep coming up against a strange problem. I am using the QGIS 2.6.1 user interface, ...
1
vote
1answer
27 views

QGIS explode line function fails with OSM file

I am exporting a small extract from OSM. I load the lines(layer 1) into QGIS and apply the function Explode lines. I get the error: Algorithm Explode lines starting... __len__() should return >= 0 ...
2
votes
2answers
126 views

How to use QGIS explode lines with Python

I want to access the explode lines function in Python outside of QGIS from a standalone script. What module do I have to load in order to use it? How can I access processing? from qgis.core import * ...
6
votes
0answers
56 views

Label placement on rotated map in QGIS

I'm a newbie to GIS and QGIS (please be nice to me). I'm working on a map for a garden/arboretum catalogue using QGIS 2.6.1. The arboretum has been surveyed using GPS, and the specimen trees and ...
2
votes
0answers
45 views

How to extract elevation values at line start and end points from a DEM?

I am new to the whole gis-experience and need your help working with QGIS. I have: DEM raster with heights (3d) line-shapefile which contains the rivers (2d) I need: heights for "start" and "end" ...
3
votes
1answer
61 views

How to find Chainage of points using QGIS

I have two types of Road shape files. Road (Polyline) and important points (waypoints) along the road. Both of these shape files are prepared using GPS. I want to find the chainage of the points. Is ...
2
votes
0answers
19 views

What should i do if the Repository tab “Status” was indicating “unavailable”.? (using proxy server)

In the plug in Repository tab. The "Status" was indicating "unavailable". I tried "hawkens" suggestion about the HTTPproxy thing but it didn't work (the network that I am using is a proxy server). ...
0
votes
2answers
36 views

changing pixel values using raster calculator Qgis

How could I convert a value of 32767 to a 0 using raster calculator in QGIS?
0
votes
0answers
22 views

Join polygons by plurality overlap

I'm trying to join two layers-- One is census tracts in Michigan; The other is school districts. Because there is no nesting in either direction (districts in multiple tracts and vice versa), I'm ...