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

learn more… | top users | synonyms

1
vote
1answer
298 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 ...
3
votes
1answer
508 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 (...
10
votes
3answers
2k 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
2k 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
34 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 ...
1
vote
2answers
263 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
71 views

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

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
617 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 ...
1
vote
1answer
184 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 ...
6
votes
0answers
328 views

Why is QGIS georeferencer much faster on Windows than Mac?

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 ...
1
vote
0answers
106 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 ...
2
votes
0answers
68 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), (...
1
vote
1answer
201 views

Using 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 ...
3
votes
1answer
121 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?
3
votes
2answers
1k 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
246 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 ways/...
2
votes
2answers
228 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
216 views

Appending 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
59 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 ...
6
votes
2answers
1k 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
76 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
132 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
35 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
1answer
5k views

Opening Esri Personal Geodatabase (*.mdb) using QGIS?

Is it possible to open an Esri Personal Geodatabase (*.mdb; ArcGIS 10.2) in QGIS 2.6? Previous versions were right.
6
votes
2answers
2k views

How can I access `processing` 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 * ...
7
votes
1answer
435 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
2answers
438 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" ...
4
votes
1answer
740 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
43 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
407 views

changing pixel values using raster calculator Qgis

How could I convert a value of 32767 to a 0 using raster calculator in QGIS?
1
vote
2answers
160 views

How do I get UTM projected areas from a shape file created in QGIS?

I create a polygon (or point or line) .shp file in QGIS and it is automatically saved as WGS (as I understand, correct me if I'm wrong). That is fine by me despite being a bit inconvenient. Then I ...
1
vote
0answers
93 views

How do I step into the C++ functions from an external Python app I'm debugging?

I just wanted to see how to step into the C++ class QgsVectorLayer()'s methods from the python call to QgsVectorLayer(self.uri.uri(),'foo','postgres'). I'm trying to debug and it trying to step into ...
3
votes
1answer
186 views

How do I make curved labels for polygons in QGIS 2.6.1?

I have been able to find answers on how to do this in older versions of QGIS, but can't seem to come across anything that deals with the latest installment. I need a way to make labels curve to ...
3
votes
0answers
314 views

SAGA is not working within sextante (QGIS processing installed in Ubuntu)

Recently i decided to start working in Ubuntu (version 14.04). My first step was to add the ubuntugis-unestable repository, and then proceed to install SAGA, GRASS, OTB, QGIS and the bindings between ...
2
votes
1answer
449 views

How to extract percentage of land cover from a raster according to multiple shapefiles?

I have a raster map that represents land cover of a region, and different shapefiles (total 120) in the same region. I want to know the percentage of every land cover for each shapefile. For example, ...
0
votes
2answers
2k views

Import Aerial Images from Google into QGIS?

QGIS 2.6.1, Windows 7 I am looking to import an image from Google Earth into an existing QGIS project. Is it possible to download geo-referenced images from google maps (or google earth) and import ...
5
votes
1answer
2k views

How to compute Walking and Cycling Isochrone maps using QGIS & pgRouting?

Just installed QGIS as I believe I should be able to produce walking and cycling isochrones from a specified point. I have done this pretty easily before using ArcMap, however, I am really struggling ...
2
votes
1answer
215 views

Revert qgis 2.6 installation to qgis 2.4 through OSGeo4W Advanced installer

It is possible to return to qgis 2.4 OSGeo4W installation when I have qgis 2.6? I want with advanced installer. Thanks,
2
votes
1answer
82 views

remove unwanted areas which are not inside the boundary of second raster

1 raster layer - global map ; 2 raster layer - berlin I cropped out 1 layer using extent of 2 layer and then overlapped these two layers however I see that 1 layer still has areas apart from berlin(...
2
votes
2answers
424 views

Call output files in temporary directory through Processing Toolbox (python)

I need to create temporary files as intermediate output to be used with processing algorithms. So, I implemented this: Processing.runalgorithm("grass:v.to.rast.attribute", ........, None) This line ...
1
vote
2answers
427 views

Issue in the popdown box (QComboBox) in QGIS 2.6 Python plugin

I had developed a plugin that counts the number of features for a layer in Qgis2.6. When i load a layer say 'Airport' for first time and click the pop-down box in the plugin,it lists the airport once....
6
votes
2answers
907 views

How to symbolize features with NULL values in graduated symbology?

I have a polygon feature dataset, and an attribute from a different table that I join (one-to-one) within QGIS in order to symbolise the attributes as a choropleth map. However, not all polygon fields ...
2
votes
1answer
73 views

Does anyone have any tips on figuring out why a Vector Layer didn't load in Pyqgis?

This is a general question. I'm stepping through the pyqgis code and the layer isValid() is always False. I don't see any error messages showing any reason why it wouldn't load. Other similars have ...
2
votes
1answer
439 views

How to scale SVG symbol based on zoom level in QGIS?

I am wondering if there is a way to scale SVG files I have stored as blob in a Spatialite database according to the current zoom level in QGIS. My hope is to have the SVG icon resize itself when the ...
2
votes
0answers
177 views

Edit WFS-T layers ArcGIS Server in QGIS

I'm trying to edit layers from a service in ArcGIS Server through WFS-T in QGIS. But the AGS only allows writing in version 1.1 of WFS, while QGIS only connects to the WFS Server in version 1.0, ...
0
votes
1answer
156 views

QGIS 2.6 Crashed for my own plugin

I had developed a plugin that counts the number of features for a layer in QGIS 2.6. I am using Windows 7 os. It works fine when i loaded a layer. But when I remove that added layer and then if I ...
4
votes
1answer
371 views

QGIS “ERROR 6: No translation for Lambert_Conformal_Conic to PROJ.4 format is known.”

I am trying to clip a county DEM file using the PLSS Section shape files as mask layers... that is, I want it clipped to sections so that I can load my DEM into QGIS one section at a time, without ...
2
votes
1answer
247 views

Command line error and missing dependency in QGIS

I have two problems with QGIS 2.6.1 1) When i am trying to open command line i get error: An error occurred during the execution of Python code: Traceback (most recent call last): File "C:/OSGEO4~1/...
1
vote
0answers
163 views

ArcMap KML Multigeometry to Shapefile

I have been troubleshooting this issue for quite some time now. I have a variety of tools available to me: ArcMap, QGIS, as well as OGR2OGR. Unfortunately, I have not had any success with any of these ...
3
votes
1answer
326 views

overlaying raster layer hides my vector layers in PyQGIS

I loaded vector layers and rendered them without a problem but when I tried to add a raster layer as well the map suddenly only shows the raster image and my vector layers are missing. Anything I can ...