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

learn more… | top users | synonyms (1)

11
votes
2answers
179 views

Identify points in a shapefile that have no other point within x km with QGIS

This is probably a naive question but I am struggling as a new user to QGIS. I have a very large shapefile (275,000 points, but can break this into about 10 subregions if necessary for faster ...
11
votes
2answers
3k views

Is there a good qml or sld file available for QGIS + Openstreetmap data?

I'm looking for a qml file (or equivalent e.g. sld) to allow me to use QGIS to take Openstreetmap data and produce paper maps. I'm re-asking this question (it was asked once or twice over a couple of ...
11
votes
1answer
296 views

How to create a label combining different font sizes or types?

I would like to place the elevation-number of a point in a different front size and centred under its name: Is that possible? (That is my actual labeling: label || '\n' || elevation) Thanks!
11
votes
3answers
388 views

How to improve drawn shapes in Quantum-GIS?

I have a polygon-shape in qgis-1.7.0 and want to fix overlays and gaps between the edges of adjacent polygons. See image below. Is there any automated way to do this in quantum-gis? Or any other ...
11
votes
1answer
850 views

Is there a way to add a “current user” label to the print composer?

Is there a way to add a current user label to the print composer in QGIS. I thought there might be something similar to the $CURRENT_DATE format available. This would be in a windows environment.
11
votes
1answer
612 views

QGis raster terrain analysis - The curvature filter puzzles me

I am a french Master student at university Grenoble INP, and during my master project I have worked on DEM (raster) terrain analysis. Thus, I have read the source code of several QGis-1.7.4 raster ...
11
votes
1answer
922 views

Method to shade or overlay a raster map to reflect time of day and ambient light

I have a daytime raster of my study area. I have 20+ counters in the study area that count "stuff" with a timestamp. Using PyEphem I determined the type of ambient light for each collected data ...
11
votes
1answer
615 views

Nearest Neighbor Grouped Selection in QGIS

OK - so I have an interesting problem I am trying to solve. I have a list containing over 100,000 points in lat/long format which I have imported into qgis. Now, what I am trying to do here is group ...
11
votes
3answers
845 views

Contours: Interrupt contour lines beneath a elevation number

Is there a way to interrupt a contour line beneath a elevation number? Thanks!
11
votes
1answer
517 views

How to associate polygons with the nearest point on a point layer? (Or … how do I assign a postal area to a salesman?)

I have a polygon layer of postal code areas and I want to use them to create sales territories based on where our sales people are based. So I assume that I need to work out for each of the polygons ...
11
votes
4answers
2k views

How to connect lines in a network?

I have a shapefile of lines and another of polygons. When two or more lines intersect a polygon they should be connected (snapped), but sometimes during manual digitization this doesn't occur. I need ...
11
votes
2answers
2k views

Can the new Mapbox Vector Tiles be used as a QGIS basemap?

With the implementation of the mapbox vector tiles begs the question of how these could be used as a basemap in a QGIS printed map (assuming anyone cares about printed maps anymore!). To use OSM data ...
11
votes
1answer
832 views

Snap line layer to network in QGIS or PostGIS

I have GPS data I've taken of bus routes, and now I'd like to snap it to my road network. Both layers are line layers in a PostGIS DB. I'd like to use either QGIS or PostGIS, but if I have to go with ...
11
votes
1answer
666 views

How to create text labels with background boxes?

I'm trying to create some custom labels for point features in a QGIS point vector layer, and I want to write a python plugin to do it. We need our labels to be presented with color tinted rectangles ...
10
votes
7answers
12k views

How to merge lines with slightly different endpoints in QGIS?

In QGIS, I have two lines. The endpoints are near each other, but not quite aligned. I'd like to turn the two lines into one, with the two endpoints merged into midpoints. The closest I've been able ...
10
votes
5answers
591 views

Database versus Files for Solo Developer

I'm just getting started in GIS and am interested in using it to create maps of mountain biking trails in my area and nearby. I've been learning QGIS and have made enough progress to generate a decent ...
10
votes
3answers
6k views

How to create polygons with straight lines and right angles in QGIS?

I am running QGIS 1.7.0 on Mac OS X 10.6.8. When creating a polygon, how do I do it so that the lines are straight (90, 0 degrees, etc.) and when I create corners they can be right angles? For ...
10
votes
2answers
974 views

How to link dataframes in ArcGIS or QGIS?

The below image shows a layout in ArcGIS 10.1 with four dataframes. Each dataframe is of the same geographic area, although they are different images. For example, the top left image is a 1989 DOQ, ...
10
votes
2answers
4k views

Running QGis from flash drive

How can I setup a portable QGis to run from a flash drive / USB-Stick? In the userguide for QGis 1.7 Wroclaw there is only mentioned the option of "--configpath". But to me it is not clear how to deal ...
10
votes
5answers
2k views

Multicriteria Analysis : how to?

I have to do a multi-criteria analysis to answer the question : "which is the best lot to develop". A few of the criterias are : distance of the nearest bus stop (point layer with bus stops) ...
10
votes
1answer
7k views

Understanding QGIS buffer tool units?

I have been trying to figure this out for a couple weeks now and have had no luck getting the buffer tool to accept anything but degrees as units of measure. I have found lots of stuff saying the ...
10
votes
3answers
15k views

How to import coordinate data from excel into QGIS?

I have an excel file containing data collected over many years as latitude and longitude coordinates for archaeological sites - how can I import it into QGIS as a new layer?
10
votes
6answers
7k views

Rasterfile clipping error: Cannot compute bounding box of cutline

I have a raster file and want to clip it, a vector file is supposed to be the mask layer. I use the most obvious method (Raster->Extraction->Clipper). No matter what I do, I get this error (see pic): ...
10
votes
2answers
10k views

Is there a way to manually place labels in QGIS?

Is there a way to manually place labels in QGIS? I have a map which has almost-duplicate labels in some places (e.g. E 1st St and 1st St) and I'd like to remove some of them. Also, I'd like to move ...
10
votes
2answers
618 views

Can I add an ArcToolbox tool to QGIS?

I have been using a publicly available tool in ArcGIS called SPreAD-GIS. It is a series of python scripts that are "implemented as an ArcGIS toolbox" (with tbx file). I am new to QGIS. Is there a ...
10
votes
7answers
8k views

How to georeference a vector layer with control points?

I have a non-georeferenced vector layer that I need to be georeferenced. With raster layers the task is easy and straightforward, but I have no idea what should I do with my vector layer. I have a few ...
10
votes
1answer
4k views

How to display geoJSON from an URL in a layer?

I am looking for some type of plugin or code which would allow me to add a geojson URL, define the areas to input the lat/long variables from the visible Qgis canvas map and call/render the results ...
10
votes
5answers
11k views

Can QGIS read an ODBC connection?

I have a co-worker who manages a large MS Access database that contains X & Y fields for various locations he tracks. We have previously exported the data to CSV and used the QGIS Delimited Text ...
10
votes
1answer
4k views

OpenLayers Plugin Error: latitude or longitude exceeded limits

I'm aware the 'traceback' OpenLayers plugin error has been dealt with before, so apologies for raising the issue once again. Unfortunately for me, the solutions posted were way over my head, e.g. ...
10
votes
3answers
10k views

How to smooth/generalize a polygon in qgis

Is it possible to smooth or generalize a polygon in qgis? Ìs there a plugin available like the generalizer-plugin for lines? I could convert my polygons to lines, smooth them and convert them back to ...
10
votes
1answer
176 views

How to save python session in QGIS?

After running a lot of scripts in QGIS' python console, I have more than 10 dictionaries and lists, and I need these for further analysis. Is there a way to save python session, with all these ...
10
votes
3answers
627 views

How can I parallelise embarrassingly parallel GIS operations in QGIS python?

A common requirement in GIS is to apply a processing tool to a number of files or apply a process for a number of features in one file to another file. Much of these operations are embarrassingly ...
10
votes
1answer
741 views

Is there a way to add system date in print composer?

Is there a way in the Print Composer of QGIS to create a label that will automatically update the date (systems date) instead of having a label that you have to manually have to update?
10
votes
5answers
178 views

Fisheye-like projection

I need a special projection for the purpose of effective presentation on a poster. I'd like to present the study area (Czech republic) in a context of whole Europe in such a way, that the Czech ...
10
votes
1answer
720 views

How to render a table with mixed geometry types in QGIS?

I created a table with geometry type "GEOMETRY" AND inserted data of point, line and polygon type. My question is how to show this spatial data Qgis not supporting for geometry type "GEOMETRY".
10
votes
2answers
2k views

How to compute parameters for QGIS Affine transformation?

I have a vector floorplan (DXF) that I've added to a blank project in QGIS using the Dxf2Shp plugin. I've been reading tutorials and StackExchange threads, but I can't seem to find out how to ...
10
votes
3answers
353 views

From polygon to continuous measure of diversity?

First of all; I have tried to find a similar question, without success. Maybe it's because I'm quite new to GIS and I don't really know what exactly I'm looking for. If someone points me to a similar ...
10
votes
2answers
206 views

How to create dynamic leader lines?

I'm trying to create dynamic leader lines by using a PostGIS view in addition to the QGIS „Move Label“ tool. CREATE VIEW leader_line AS SELECT gid, ST_MakeLine(geom, ...
10
votes
2answers
2k views

How to buffer a line with different distances for left/right sides

How can I buffer a line in QGIS using one attribute for the left side of the line and one attribute for the right side of the line? I am trying to buffer a river with its bank width, which is ...
10
votes
1answer
681 views

How to convert fake donut holes in polygons to real ones?

I have this problem where I have to import shapefiles into our system which must be geometrically valid, but the software that everyone uses to produce them seems to output files where every polygon ...
10
votes
2answers
3k views

How to get FGDB support in GDAL 1.9 without compiling?

I was hoping that I could use the 'master' (nightly-build) version of QGIS to get fgdb support without compiliing (I'm not a developer and frankly have wasted days of productive time trying to get ...
10
votes
2answers
2k views

What is the standard Mercator projection?

I'm using QGIS in order to re-project a shapefile I have into "Mercator" so that something like protoviz understands my co-ordinates. Protoviz tells me "Mercator" ...
10
votes
4answers
3k views

How to get features based on their attributes using Python?

How to Get features by their attributes (similar to Iqueryfilter in arcobjects) in Qgis using python? Instead of getting all features and filter it manually, is there any option to use whereclause to ...
10
votes
1answer
3k views

When iterating over a vector layer with pyqgis, how do I check whether a feature is selected?

While iterating over a vector layer using the following code (summerized from the example in the pyqgis cookbook), is there a way to check whether a feature is selected? provider = ...
10
votes
1answer
351 views

How to find the buildings (polygons) a user can see from a given location (point) and orientation (angle range)?

I would like to retrieve the set of buildings I can see from a given location (point -lat,lng) and orientation (interval of angles) + certainly with a given depth (e.g. 100 meters). Ideally I would ...
10
votes
2answers
510 views

How to perform repetitive tasks in QGIS?

I am trying to do a treatment on many feature files, so I would like to automate it. In fact, I have one shapefile with the spatial distribution of some species, and one with vegetation type. I ...
10
votes
1answer
775 views

Is there a detailed description on the .qgs file structure somewhere?

Is there a detailed description on the .qgs file structure somewhere? I checked here: http://mrcc.com/qgis.dtd ("The requested URL /qgis.dtd was not found on this server.") and here- ...
10
votes
1answer
596 views

Can PostGIS and QGIS provide dependable multi-user editing?

After considering a few options, I'm trying to give my 15-20 QGIS 2.2 users the ability to concurrently view/edit one or two basic point PostGIS layers, largest one has just 16,000 records. I've ...
10
votes
1answer
496 views

What is the best way to represent bridges using a point vector layer in QGIS?

I'm working on a hiking/biking maps of trails in the woods which sometimes have bridges that need to be shown on the map. I'm trying to figure out the best way to capture and represent them using QGIS ...
10
votes
2answers
2k views

How do you display related records in QGIS?

Coming from an esri background I have always used relationship classes in a gdb to display records related to a feature. Eg. Relate 1 survey point to many documents, photos etc. Does any one know how ...