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

learn more… | top users | synonyms

1
vote
0answers
228 views

Install PyQGIS in virtualenv

Is it possible to install PyQGIS in virtual environment? I want to use rendering capabilities in my own application which runs using virtualenv.
1
vote
1answer
72 views

Can't see map after renaming fields using Table Manager plugin

I'm quite the beginner at using QGIS and I'm not sure what I did. I tried renaming two of my columns/fields using the plugin Table Manager, and after changing the names, my map no longer appears. I ...
0
votes
1answer
96 views

Missing Georeferencer

I installed Qgis Master 64 bits on win7 64 16gb of ram and I am unable to locate the georeferencer. All other Gdal application are there, Gdal is active, but no georeferencer. I tried yesterday, ...
3
votes
1answer
87 views

Qgis creating point within complex shapes (with holes) [duplicate]

I'm looking for a tool to create a point in every polygon, that will be placed in the polygon. these are complex shapes with holes. the point must not put in those holes! the "plugin RealCentroid" ...
0
votes
0answers
43 views

QGIS Spatial join many points to single vector [duplicate]

I've got two shape files, one contains many point coordinates and the other vector shapes. There are many point coordinates contained within each vector shape. I would like to perform a spatial join ...
2
votes
0answers
265 views

how do i create clusters of nearby points?

I m trying to create clusters of nearby points (which would be the adresses of my customers around a store). Buffer is not an option cauz i need the zone to be limited by customers, so a polygone ...
4
votes
2answers
1k views

Spatial join - many to one

I'm trying to do a spatial join that takes the attributes of multiple polygons and applies them to a single polygon in another layer. The data is currently in a geodatabase, but can be exported to shp ...
2
votes
1answer
270 views

How to properly establish a PostgreSQL connection using QgsCredentials

I'm trying to establish a Postgres connection using QgsCredentials as described here: How to access user credentials in database connection? The only problem is that I cannot establish a working ...
0
votes
0answers
60 views

Rings not displaying on .TAB import to .SHP save

I have some strange behaviour happening when importing a MapInfo .TAB file into QGIS. One feature contains internal rings which are ok on initial import but do not show on the first .SHP save. I can ...
1
vote
1answer
4k views

Clip raster layer with *raster* mask layer in QGIS

Given two input layers 1. The clip layer - an arbitrary layer (though in my case it's a float 1 band geotiff) 2. The mask layer - a paletted raster in which every pixel is either NO DATA or a single ...
1
vote
3answers
325 views

How do I use SQL in the field calculator to populate a new column?

Courtesy of Geofabrik I have a "places" point shapefile which includes in the attribute table a column named "type". As can be seen in the attached image the column contains fields such as "city", ...
1
vote
0answers
38 views

Creating a .shp with OSM and import it to POSTGIS [closed]

Any suggestions ? I can't launch osm2po I don't know why, when I click on the jar file, nothing happen :p
3
votes
1answer
450 views

How to count and rasterize polygon overlaps in QGIS?

I have a large number of polygons that are overlapping. I'd like to create a heat map and plan on using raster calculation to do this. My plan: to give each polygon a raster value of 1, and adding ...
7
votes
2answers
522 views

How to load a raster layer at the top of the QGIS ToC?

The following code inserts my new_layer just above the active layer in the QGIS ToC. new_layer = iface.addRasterLayer(...) Instead, I'd like my new_layer to be inserted at the top of the QGIS ToC. ...
3
votes
1answer
57 views

Is there a way to force QGIS to use scaleable markers for map prints?

The implementation of scaleable vector graphs in QGIS is very cool, however, when svgs are used for point pattern fill of polygons, these markers are obviously rasterized, blowing up the filesize of ...
1
vote
1answer
245 views

How to create path based on waypoints?

I am trying to map flight paths and compare historic paths with current ones (so I later need to perform some calculations as distances between them). For this task I am using QGIS on OSX 10.9.1 As ...
1
vote
1answer
68 views

Using QGIS, features are suddenly placed 7.5 thousand kms off correct location

I've been counting an muskrat dens on lakes with aerial photos by creating a feature in a separate shapefile. I checked my progress after doing about 80 small lakes and suddenly, half of the lakes ...
3
votes
2answers
213 views

How to edit overlapping lines?

I am trying to edit bus routes in QGIS. Multiple bus routes can run on the same street. When I want to change one bus route, I select one of them, then I enable editing mode. With the Node tool, I ...
2
votes
1answer
117 views

How to know the date when an image has been capturing on Google Hybrid QGIS?

How can I know precisly the date of different Google Hybrid pictures used in my project in QGIS?
0
votes
0answers
116 views

How to get the color of a vector layer in pyQGIS?

I have see this topic (How to change the color of a vector layer in pyQGIS?) but I'm looking for get the color not to change. How I can resolve my problem ? Thanks
1
vote
1answer
850 views

How to make GRASS and SAGA tools capable to use in QGIS?

I installed QGIS, GRASS and GDAL by OSGeo4w package, and as I finish the installation, I want to use GRASS tool, I face this problem: But I already installed GRASS and SAGA, how to make those tools ...
6
votes
1answer
2k views

QGIS python - identify and highlight features programatically

In QGIS there is an option to select features of a selected layer using a "identify feature" tool. Then the feature get highlighted in a different color and attribute dialog is poping up. like that i ...
7
votes
1answer
4k views

How to draw polygons from the python console?

I've been visiting and revisiting the page on geometry handling in the PyQGIS Cookbook: https://www.qgis.org/en/docs/pyqgis_developer_cookbook/geometry.html but can't seem to figure out how to get the ...
2
votes
0answers
100 views

QGIS: rotatable markers with offset from point

Im wondering, if its possible (in QGIS), to set a rotatable marker with offset from point, like in my example below. Any suggestion?
0
votes
1answer
288 views

Get list of CRS in QGIS by python?

It is possible to get list/dictionary of "Recently used coordinate reference system" from QGIS by python? Or get list of all "Coordinate reference systems of the world" also from QGIS by python.
0
votes
0answers
333 views

QGIS, how to change the centre point of a global map?

I have two global maps I want to show on one map in Qgis, however they each have different centre points, i.e. in one the atlantic is in the centre, and in the other the pacific is. How do I get them ...
1
vote
1answer
307 views

Problem with import CSV files to QGIS 2.0.1

I have a problem with import CSV files to QGIS 2.0.1. I have a file with WGS84 coordinates it looks that: Nr;Longitude;Latitude 1;18,06,23.66;54,83,12.50 2;18,08,81.30;54,73,09.30 ...
3
votes
1answer
314 views

How to programmatically set a rule-based renderer in QGIS?

These days im in a process of developing a plugin , which highlights/change color of set of features in a vector layer depending on some calculation. i found nice article about QGIS – Rule based ...
0
votes
0answers
21 views

Why cant i buffer vector points imported from csv? [duplicate]

I ve imported a csv file with adresses of stores in longitude and latitude. I ve saved it as a shapefile and i can see the points on a map. Now i m trying to buffer the points to end up with ...
2
votes
1answer
599 views

How to select polygons by distance to a single polygon in another layer?

I have a shapefile A with a group of polygons, lakes. Now I want to select the polygons(lakes) that are within a specific distance to a polygon in a second shapefile, B, with the polygon a city. In ...
1
vote
1answer
168 views

How to install QGIS 2.0 on Ubuntu 13.10?

How can I install new version of QGIS (2.0)? When I try with the indication of the official web site of qgis, terminal write me that the last version of qgis (1.7.5 wrowclaw) has several plugins that ...
4
votes
2answers
808 views

How to get the file paths of the loaded layers in a QGIS plugin?

I am very new to GIS, QGIS and Python so please bear with me. I am using QGIS 2.0 and I would like to develop a QGIS plugin that would display the raster layers of the main window in order to allow ...
0
votes
2answers
57 views

How to get rid of artefact rectangles in QGIS Print Composer?

when inserting a map on the canvas of print composer and moving that map around, quite often, there is a rectangle that cannot be deleted. This rectangle is positioned at the initial place, where I ...
4
votes
2answers
4k views

How to perform SQL queries and get results from QGIS python console?

I'm writing a python script using QGIS API. I have to get results from postgres database table. The table has geometry field and other non-geometry fields. I want to perform SQL queries on ...
3
votes
1answer
420 views

Get geometry column back when counting points in polygon using PostGIS

I have two PostGIS tables: earthquakes and borders, which contain point data on earthquake locations, and polygons of countries in the world respectively. I want to try and count the earthquakes ...
2
votes
2answers
2k views

How to resize symbols in the QGIS Print Composer legend?

I am trying to map a count data type via graduated symbol against a chloropleth and the legend is too big. The circles of the graduated symbols are the actual size of their corresponding values in ...
1
vote
1answer
133 views

Problems with connecting QDateEdit and QTimeEdit widgets to corresponding Field in QGIS Layer (shp/spatialite)

Could anybody give me a hint how to connect the QDateEdit and the QTimeEdit widgets with a field in a QGIS layer (shp or spatialite). The fields in the QGIS layers are from datatype "date" ...
1
vote
1answer
61 views

Problem with QGIS unable to access virtual drive

After a motherboard failure I have had to reinstall QGIS Dufour on a Windows 7 laptop. As I share data with a desktop machine I use LiveDrive briefcase as a virtual drive. With all versions of QGIS I ...
0
votes
1answer
342 views

Polygonize(raster to vector) [closed]

I have been install QGIS 2.0.1.when I use Polygonize (Raster to vector)for convert jpg to shp I get error message such as: C:\windows\123.exe is not recognized as an internal or external ...
2
votes
2answers
2k views

How to limit decimal places of coordinate values in GEOJSON file using QGIS 2.0.1-Dufour

Using "QGIS 2.0.1-Dufour", I try to convert a vector layer into GEOJSON file using "Save As" sub menu. I get the GEOJSON file, but the coordinates of points have values up to 15 decimal places. How ...
1
vote
2answers
444 views

Draw great circle rays from a single point along specific directions

How can I draw great circle rays starting from a single given point P (for example, from coordinate [34 N, 116 W] in this map) and along directions D1, D2, ... (for example, 30, 45 and 135 degrees) in ...
7
votes
1answer
512 views

How can I get Google Fusion Tables to work in QGIS?

I am using GDAL/OGR 1.10 and QGIS 2.0.1. I am trying to load a google fusion table into QGIS using the method mentioned in this blog post. The only difference is that I am not declaring a email and ...
1
vote
1answer
124 views

How does the tolerance influence QgsGraphBuilder and tieing of points?

I am developing a script which uses OpenStreetMap data to calculate the distance (over the road network) between each building and the nearest hospital. To do this, I mainly follow the official ...
2
votes
1answer
492 views

How do I set the projection and coordinate system for a TIFF file?

I have a topographic map of California (obtained from CAL-Atlas) as a TIFF file. I tried importing it into QGis, but it displays the map using a pixel based coordinate system rather than ...
7
votes
3answers
1k views

How to count the number of lines connected to a point?

I have a water network which and I need to install elbows and Tees (T). When 2 lines connect to a point, I want to install an elbow, when 3 lines connect, I want to install a Tee. How do I get ...
2
votes
2answers
321 views

Terrain Accessibility map using GIS (ArcGIS or QGIS)

I need to make an accessibility map showing the walking distance based on the terrain and availability of road networks, could anyone point me in the right direction where i could learn to do so. ...
1
vote
1answer
727 views

How to find the polygons bordering a feature programmatically with qgis?

Is there a way to calculate the neighbors of a polygon with pyqgis for every feature? For example, the selected polygons relative to the one in the center: I found this solution, but it's a year ...
3
votes
3answers
279 views

keeping track of edited features QGIS

Does anyone know of a way to keep track of last added or edited features in QGIS? A kind of Editor Tracking tool.
0
votes
1answer
853 views

Custom forms and Python logic: attribute error [closed]

As a beginner to Python, PyQt4, AND QGIS, I am attempting to work with the custom forms feature in QGIS. At this point I'm not sure if my error comes from the code or the .ui. This blog gave me a ...
1
vote
1answer
63 views

How to automatically add identical new polygons to a layer?

I am seeking a way, using QGIS, to automatically add polygon features identical to others on the layer. In this case, they are water valves on a water network. Anyone know of a user-friendly way to ...