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

learn more… | top users | synonyms (1)

0
votes
0answers
15 views

What is the inverse of QgsGeometry.asGeometryCollection() in qgis python?

What is the inverse operation of QgsGeometry.asGeometryCollection() as documented here: http://qgis.org/api/classQgsGeometry.html#a7cb1cbf8cfa441456067a66ad3a25a94 I'd like to do something like: ...
2
votes
1answer
21 views

python Qgis : add labeling to a vector layer of polygon

I'm trying to add labeling to a polygons vector layer called "myVectorLayer". It does not give me an error but the labeling does not appear. palyr = QgsPalLayerSettings() ...
1
vote
1answer
15 views

QGIS: how to identify a visible raster layer among large view (composition of rasters)?

I have QGIS project loaded with many raster files. For a given area, (ex: under my mouse pointer), I am looking for way to identify which (raster)layer provides the visible data. To start, I will ...
1
vote
1answer
70 views

How does one modify selected geometry with a function in qgis python console?

My example use-case is that I want to redistribute vertices along lines as in: Redistribute linestring vertices to specified distance How to create points in a specified distance along the line in ...
1
vote
0answers
15 views

QGIS 2.4.0 Chugiak “reduced” real-type numbers. Precision problem? Bug?

I have a SHP point file created from CSV with QGIS 2.4.0 Chugiak. It contains some data on noise in a certain point. When I import from CSV, it seems to be fine, but when I export to SHP and open the ...
3
votes
1answer
152 views

Extract one GPS fix per day from data?

I am in the fortunate position of having 2 years worth of animal movement data. With such a large amount of data I would like to extract only one fix per day to make it easier to work with. Data = 14 ...
0
votes
1answer
78 views

distance difference in Google Earth with exported GPX or KML compared to source shapefile

I've converted a shapefile (points) to KML with QGIS. Points in the shapefile are within 100m distance from each other. When I measure it in Google Earth, the distance changes to 80m. The same ...
0
votes
0answers
15 views

Creating random points

I think I am just missing something simple but I am unable to get my random points to occur within my polygon boundary area using the random points tool in QGIS 2.4.0. I end up with my points up in ...
1
vote
0answers
18 views

Interpolation of xyz data

Data has been given to us in a HUGE .xyz file, which has been split into many component CSV files. When I upload the CSV file, then create the shape file by "save as", all is fine. When I go to ...
2
votes
1answer
12 views

QGIS, CRS's and metric measurements of distance matrix and nearest neighbour

I have thousands of points on a multiple layers and I need to get the distances between each point and every other point within a layer (so i can get min, max, mean and median distances) and the ...
0
votes
1answer
18 views

Set a Required Field in QGIS Edit Form

Is it possible to make a field required in a QGIS Edit Form?
2
votes
1answer
25 views

Programmatically setting ui for QGIS via setEditForm()

I've been following this thread in attempts to configure my ui preferences programmatically. I've had no issues with loading styles (which subsequently sets the custom ui if I saved it this way), but ...
3
votes
2answers
40 views

Incorrect display of national characters from Spatialite in QGIS, Windows

I used this tutorial by Underdark (thanks much :-) ) to convert my area of interest from OSM file (whole Czech Republic downloaded from Geofabrik.de server). Used OSGEO4W shell (saying "GDAL 1.11.0, ...
1
vote
1answer
25 views

Join Attributes by Location: .mdb and shapefile in QGIS

I can join attributes by location in QGIS using 2 shapefiles. However, I do not know how to do the join when one of my files is in a .mdb format while the other is a shapefile. Please advise?
1
vote
2answers
555 views

QGIS, point clouds and photogrammetry

I'm trying to use photogrammetry and Structure from Motion to record buildings, and I'm looking for a way to bring these into a format usable in GIS, in particular pointclouds and models of terrain, ...
19
votes
2answers
9k views

How to convert ArcGIS .mxd file to QGIS .qgs file?

I recently tried to use QGIS and I wondered if you can convert a draft ArcGIS map (*.mxd file) into a QGIS project (*.qgs file). This would avoid thematize the entire project.
2
votes
1answer
200 views

Creating buffers that will not overlap in QGIS

I am dealing with a .shp with a number of points in it. The distances between points range from ~300m to 5km. I wish to create a 1 km buffer around each point with as little overlap as possible. Each ...
2
votes
0answers
52 views

Doubts with Ripley's K function Interpretation

I'm a self-taught person, I'm studying the K Ripley's function and I would need some person who give me some advices. First, I have written a little script of R in QGIS processor: ##Point pattern ...
3
votes
1answer
23 views

QGIS: Need to remove unwanted white bands when raster layer are overlapping

In my project when raster layers are overlapping a white band appears the edge of the top layer. How can I remove it and obtain a seamless overlapping of the raster ? (I have try to built a vrt with ...
1
vote
0answers
24 views

Rasterize shapefile using another raster's size and resultion

Rasterizing a vector (shp) I face the following problem: I want my output file (the rasterized vector) to have the same resolution and dimensions as an existing raster. If I understand the interface ...
0
votes
1answer
155 views

How to draw a custom map on top of base layer

I'm looking for the easiest way to draw a custom layer and export it as a tile cache. Basically what I would like to be able to do is load a base layer, and then draw objects and annotations on top ...
0
votes
1answer
15 views

Not empty geometry having blank text

i'm having problem with geometry column, for some rows i have geometry with blank text, this query will describe more the problem : select geom, ST_AsGeoJSON(geom), ST_Isvalid(geom), ST_IsEmpty(geom) ...
0
votes
1answer
30 views

Can FileGDB SDK be made to support custom coordinate systems?

In May 2012, a question was asked about File Geodatabase (*.gdb) support in QGIS? In the comments there, it was pointed out by @MattWilkie that the FileGDB SDK does not support custom coordinate ...
-1
votes
2answers
41 views

How can I project a power line net in QGIS?

I am working with power lines net using the software QGIS. I would like to know which plugins or tools do I need to be able drawing (projecting) them.
0
votes
0answers
15 views

Some items have coordinates switched when loading PostGIS layers in QGIS

I am having problem with strange coordinates switching when loading PostGIS layers in QGIS. First, I thought, that problem may be cause by the use of GROUP_BY feature in layer query, but later the ...
0
votes
1answer
89 views

Import Shapefile on postgis doesn't show in QGIS

I'm currently working on a project about a database and some shapefiles. The database is built on PostGis with tables including some dots as geometry type columns. Once imported them on QGIS, I can ...
1
vote
1answer
85 views

How can I add grid lines to a print composition using pyqgis?

I'm writing a qgis plugin to create an image in the print composer of the current map. I can get the map rendered in the proper place with a frame of the right width, and I can get grid annotations ...
1
vote
3answers
347 views

How to create random point in according polygon for each dataset entry in a list (with R)

I have an area divided into polygons, and a dataset of observations which has a common field with the polygon layer. I now would like to generate a random point for each dataset entry within the ...
1
vote
2answers
51 views

Relationship of QGIS to its sister programs?

I'v e been using QGIS 2.4 for a number of months now and we are using it a bit at work. I noted that when I did the initial install a number of new icons appeared on my desktop namely MSys QGIS ...
0
votes
0answers
27 views

Obtain an altimetric map from a layer with lines

I have a layer with contour line and I need a map with polygons colored depending on altitude. Something like this The three shades of brown identify slope: absent, moderate or marked. I know ...
2
votes
1answer
217 views

QGIS 2.0 - 2.4: Color Ramps Missing?

Since QGIS 2.0.1 the default color ramps and styling symbols seem to disappear for some users. For me, this started with QGIS 2.0.1 and still consists with 2.4. I can neither choose Smybols when ...
3
votes
1answer
407 views

Area overlay of census on Zip Code

I have census block data polygons. I want to overlay them over Zip Codes (larger polygons) in order to estimate the population in the Zip Codes. Or overlay buffers around toxic waste sites over census ...
-1
votes
0answers
19 views

GISBASE not set [on hold]

Hi am VERY new to all this. On Windows 7 and downloaded QGIS 2.4, I'm trying to follow a tutorial on how to manipulate Lidar data and have got to the "create new mapset" but cannot finish because says ...
2
votes
1answer
230 views

How to label vector features programmatically?

I am using python for QGIS 2.0.1 and I have a vector layer of points representing the positions of state labels. I want to display the 'state abbreviation' attribute on the corresponding point for ...
1
vote
2answers
39 views

python qgis 2.4 : display a view with symbology

I have managed to display a view created using postgresql from qgis using python code: uri = QgsDataSourceURI() uri.setConnection("localhost", "5432", "stat", "postgres", "admin") ...
1
vote
1answer
37 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 - ...
0
votes
0answers
22 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
82 views

What's the purpose of wms_metadata.xml and admin.sld?

I've installed QGIS Server and it works fine. But in /usr/lib/cgi-bin/ folder I've found 2 additional files - wms_metadata.xml and admin.sld. What is the purpose of these file? I've never used them.
1
vote
1answer
27 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 ...
3
votes
1answer
145 views

draw lines with an angle inside a rectangle in python

I am trying to make a plugin for Qgis with python. I have the four corner coordinates for a rectangle. I want to give the user the inputs, line space and angle (0 -180 degrees). With these inputs, I ...
1
vote
0answers
22 views

PyQGIS: Editable Combobox for Value Map widget isses

I am having issues with an editable combo box in QGIS 2.4. The edit widget is set to Value Map with an uploaded CSV. However, if a new values (not included in the key value pair list) is added, the ...
2
votes
3answers
896 views

How to search feature in Qgis?

How is it possible to search feature on Qgis? I have lots of points with Id. Is is possible to search points using ID? Update: I'm looking for a solution that centers the map to that point.
9
votes
4answers
4k views

Tutorial on how to model flooding using data from gauging stations along rivers in QGIS?

Can someone please direct me to a tutorial where I can learn more about how to model flooding using data from gauging stations along rivers using QGIS?
0
votes
0answers
64 views

QGIS 2.4: plugin changes map tool canvas click behavior from 2.0

I had created a plugin for QGIS 2.0 to add new features more easily. It involves changing extents and updating snapping options along with triggering the default actionAddFeature(). However, I've ...
1
vote
1answer
225 views

QGIS Updating composer label text via python - problem with Item Properties panel

I am writing a plugin that replaces the text of a composer label based on its itemID. When I change the text of the label using: item.setText("Hello World") the label changes on the composer but ...
1
vote
1answer
22 views

QGIS 2.4 Attribute Table Search Bar?

I am learning how to use QGIS and am following various tutorials. My version of QGIS (2.4) does not have a "look for" search bar in the attribute table window as seen in older versions in screenshots ...
4
votes
1answer
140 views

QGIS 2.0.1 linking table issue, MSSQL 2008 database

I'm trying to link tables in QGIS 2.0.1 and MSSQL 2008 database. I can link them but when I try to open the attribute table QGIS throws an error and shuts down creating a *.dmp file. I saw that ...
3
votes
2answers
1k views

How to split a polyline into points at certain intervals?

I am trying to split a polyline into points with 2m intervals in ArcGIS but I don't have the necessary license. Is there a way that I can do this in QGIS? Context: I have drawn a hypothetical lake ...
2
votes
1answer
31 views

How to do loops on raster cells with python console in QGIS?

I'm new here and beginner with python. I'm looking for a solution to my problem for some hours but now you are my last chance... I'm using the python (2.7.5) console in QGIS (2.4.0). Is there a ...
2
votes
2answers
84 views

How to convert data from a .gdb into a shapefile without ArcMap?

I have a .gdb folder with LOCK Files, FREELIST Files, ATX Files, GDBINDEXES Files, GDBTABLE Files, GDBTABLEX Files and, SPX Files. I want to convert the parcel data within this folder into a ...