Tagged Questions

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
35 views

Validate a gml file

I receive a gml-like response from a RESTful Web service. It looks good for me but I can not imported in QGIS. Is there an online validation tool for a valid gml file? Or am I missing something for ...
0
votes
2answers
151 views

Adding Oracle Spatial View as Layer in QGIS?

Is it possible to add an Oracle Spatial View on QGIS MAP? My view is registered on MDSYS metadata but, when I connect with Oracle DB, it is disabled on the list. QGIS Desktop 2.2.0 Oracle Database ...
0
votes
1answer
68 views

How to recover deleted data from an edited point layer?

As a newbie in GIS, I didn't fail to make a newbie mistake. While editing a point layer I accidentaly deleted all the introduced data. I duplicated a layer, as it was more convenient (same style and ...
1
vote
2answers
44 views

how to start qgis with --configpath option on windows

how can I start QGIS on Windows 7 with the --configpath option? I'm used to work with Linux where this procedure is very very simple (just write in a terminal qgis --configpath) with all the options. ...
0
votes
1answer
33 views

Saving Interpolation data in a shapefile as an alternate to Raster Output

Is there a possibility that we store our interpolation data in a shapefile instead of a raster image, so that the shapefile can be used to display the Interpolation as a replacement to the RASTER ...
0
votes
0answers
35 views

Visualize bounding box to square like polygon

I want to add script in my plugin to visualize bounding box into a polygon shape, bounding box i try to visualize have format like this: (X1,Y1) (X2,Y2) (X1,Y2) (X2,Y1) Does QGIS/PYTHON have ...
1
vote
1answer
66 views

List the projection & datum of all the files in a folder

In QGIS/GRASS, is it possible to list the projection details of all the shp,tab,dxf files in a folder ? We are having 100 - 150 files in too many folders. We would like to create a table of Proj ...
0
votes
1answer
44 views

Lining up .asc XY points with DXF using QGIS 2.0

I've exported XY points (nodes of a polyline with attributes) (.asc) from Star APIC and attempted to import it into QGIS as a delimited text file. I cannot however get it to line up correctly with the ...
0
votes
0answers
84 views

Finding shortest cumulative route (i.e. best 'hub') between networked points

How do I find the shortest cumulative route (i.e. best 'hub') between networked points? I have a dataset where some but not all of the points in the network connect to each other, however it is ...
0
votes
0answers
18 views

Shorten multiline in QGIS

I have a multiline dataset in a spatialite database. How to shorten that multiline based on a specified distance or percentage in QGIS?
0
votes
1answer
46 views

problem transforming pgr route to a line - unexpected extra lines from St_MakeLine

I have created a line geometry from a pgr_dijkstra querry and I am getting an unexpected looking line in qgis. The following image illustrates the problem: The magenta line is the line created ...
3
votes
2answers
122 views

Use Mapnik tiles in QGIS

I want to use the QGIS Map Composer with Python to automatically generate maps. As a base map of these maps I want to use tiles generated with Mapnik. Currently I am serving the tiles with mod_tile ...
0
votes
0answers
75 views

Mapnik XML Stylesheet in QGIS

Is it possible to use a Mapnik XML Stylesheet to style/render data in QGIS? I know there is Quantumnik to generate Mapnik XML Stylesheets. Yet I am wondering if it is possible to import a Mapnik XML ...
0
votes
0answers
29 views

How can I use the QGIS api on Jenkins

I have a python script with another script for unit testing. I would like to add it to jenkins to get continuous integration. Since I can't pip install qgis, how am I supposed to get the qgis api ...
2
votes
1answer
58 views

Part of layer cut/disappears after exporting to pdf in QGIS

This is driving me crazy. The picture says it all: [ http://oi60.tinypic.com/2m5fbd1.jpg ]. You can see whole layer in QGIS browser and Composer, but when i export to pdf some layers are cut. I have ...
1
vote
1answer
56 views

Calling QgsProjectionSelector from QGIS Python plugin?

I am trying to create a dialog that allows the user to select a coordinate system from either the recently used projections or a general list of all available projections. This would basically offer ...
1
vote
1answer
100 views

Finding left and right side of line in arcgis

i have road layer as line and polygon layer as building,i want to know left and right side of road in relation with buildings is it possible in Qgis or Arcgis?
1
vote
1answer
131 views

Creating new lines along specifically selected existing lines using QGIS?

I have tried to find a solution for this everywhere, with no result... My problem is that I want to be able to manually draw a line that automatically snaps to a line (creating an exact copy of the ...
0
votes
0answers
87 views

Clipping multiple layers in QGIS 2.2

I have huge amounts of data (multiple country-wide shapefiles) which i have to work with constantly. But working on separate cases i only need a fraction of that data (region, city etc.) Loading the ...
0
votes
0answers
36 views

Why is QChainage not assigning linear referencing sequentially from start to finish?

I have a simple linear feature representing a pipeline that needs linear referencing every kilometer. When I add the specifics to the tool it runs fine but my result does not count sequentially from ...
0
votes
1answer
43 views

Switch line direction for PostGIS-lines in QGIS or Pgadmin

I am trying to switch the line direction in a PostGIS-layer. The postgis-geometry column is e.g. "LINESTRING(0 0, 1 1, 2 1, 2 2)". The reason is that my symbology is direction-dependent, but I drew ...
0
votes
0answers
43 views

Determine Transect line to cover area

I'm near certain this is a solved problem, but I haven't been able to find a solution from searches so here's my situation (probably I'm searching the wrong thing)... I need to compute the ...
0
votes
0answers
35 views

Export Symbology to TAB, or MIF

I'm wondering if the TAB or the MIF export from QGIS keeps the symbology applied within the Project. Are there siginificant items that don't translate to MapInfo? I'm specifically trying to export ...
0
votes
0answers
28 views

Using QgsSpatialIndex for spatial join

I've written a bit of code to do a simple spatial join in QGIS 2 and 2.2 (points that lie within a buffer to take attribute of the buffer). However, I'd like to employ a QgsSpatialIndex in order to ...
1
vote
0answers
107 views

QVariant is not defined when using addAttributes

When I try to add a field programmatically with the following code: import os.path from PyQt4 import QtGui, QtCore legend = qgis.utils.iface.legendInterface() allLayers = legend.layers() for i in ...
1
vote
2answers
296 views

How to clip a lines vector layer to a polygon layer in QGIS?

I've perused through previous questions and haven't been able to find an appropriate solution to my problem yet, so I wanted to post here. I have a lines layer (a contour map of mean annual ...
0
votes
0answers
467 views

Can someone explain to me what the “mini dump” error mean in QGIS?

I am struggling to understand what the error "Crash dumped: mini dump written to C:" means in QGIS. I am working with layers stored on a network drive. Whenever I try to read in a few particular .asc ...
0
votes
1answer
33 views

qgis2 composer - non-rectangular inset map?

I'd like to have a near-full-page rectangular map object, then add a non-rectangular inset map object with 6 vertices. Any suggestions on how to accomplish this, other than making two actual maps ...
0
votes
0answers
41 views

Django QGIS API, PyQt4 integrated

I am developing a web page through Django, where I want to insert images as static files. These images are produced with QGIS commands, which exist in QGIS API, PyQt4, and other API. So, my question ...
2
votes
2answers
108 views

copy/paste style to multiple layers in qgis 2.2

I have many shapefiles in QGIS. How can I paste the style of one layer to all the other ones? So a "batch" copy and paste solution. If I make a multiple selection the the paste style option is not ...
0
votes
0answers
180 views

How to access a .mdb file (Microsoft Access) in Qgis (with windows 7)?

I've a very big problem. I need to connect shapes from a polygon layer with a .mdb file (built by Microsoft Access) in Qgis 1.8 (with windows 7), but I can't access it. Can anyone give me some help?
1
vote
1answer
155 views

Openlayer plugin in QGIS, error in projection 3857 Pseudomercator

I'm using QGIS plugin Openlayer to set the background of Google satellite under my vector layer. However, even if I project my layers as EPSG 3857 (the default and only possible projection for ...
1
vote
1answer
49 views

QGIS 2.2 curved labels - 'maximum angle between curved characters' makes label invisible

When labeling a curved line in QGIS 2.2, and setting Placement to 'Curved', the behavior of 'maximum angle between curved characters' is not intuitive, and I haven't been able to find documentation on ...
1
vote
1answer
48 views

QGIS Digitizing in Cartesian

I have a client, that needs some geological maps digitized (polygons) in a Cartesian grid. It would be a basic, square grid with North up, and coordinates in x and y. Some of the maps will need to ...
1
vote
1answer
140 views

Help defining custom CRS in QGIS 2.2

I'm trying to use EPSG:4479 in QGIS. 1) If I search for EPSG:4479, it returns a "Imported from GDAL" EPSG:4479, but it does not work. At the console, the following message is displayed: ERROR 6: ...
0
votes
0answers
61 views

Accessing CRS info with pyqgis in a standalone application

I'm currently having trouble accessing and defining CRS information in a standalone application. I've read the API documentation and have tried it in the python console in QGIS 2.2.0. The python ...
0
votes
0answers
17 views

why I can not select layer when calculate the shortest path in QGIS? [duplicate]

the option Layer is grey, can not be selected. Does anyone know why?
5
votes
2answers
104 views

Alternative to Spatial Query on large data

I have around 110000 points data spread around the world. the shapefile size is 116 Mb. I want to select points which are inside asia. I have been using qgis but this time qgis is not being able to ...
0
votes
0answers
45 views

Error SAGA algorithms in Modeller QGIS 2.2

I am using QGIS Modeller and I try to use SAGA algorithms but it doesn't work. GRASS algorithms work just fine but SAGA doesn't. I am not sure if I have to configurate something. What is worng?
1
vote
1answer
136 views

Problems adding OSM layer

I installed OpenLayers plugin successfully in QGIS 2.2 Valmiera, but when I add OpenStreetMap layer, the following error message appear as a Python error popup window: An error has occurred while ...
1
vote
2answers
39 views

Set border symbology by bordering feature?

I'm using a US state shapefile, and I want to have different border types based on properties specific to the border, not to any state. For example, I might want the Florida-Georgia border to be ...
0
votes
0answers
68 views

How to pass a layer to a thread in PyQGIS?

In my plugin, a user can select one of the loaded layers from a combobox, and then proceed to do further calculations. These calculations are done in a separate thread, "WorkerThread". My question is ...
0
votes
2answers
96 views

From RGB raster to grayscale

I have been searching for a way to rasterize shp files (Unexpected output when using gdal_rasterize) and it worked with a little help. Now, my code is first rasterizing the largest sip file and than ...
2
votes
1answer
63 views

How to count the number of data points in each area in QGIS?

I have a shapefile (.shp file) which defines a large number (several thousand) separate areas. I also have an Excel spreadsheet which contains a large number of data points. Each data point consists ...
0
votes
1answer
98 views

Is it possible to use polygons to create heatmaps?

I hope I can explain my question clearly, so here it goes: I've been fiddling around with heatmaps on QGIS for a few days, but came across a small obstacle on my way. I have a dataset comprised of ...
0
votes
1answer
101 views

import parameters for r.watershed - (watershed basin analysis program) tool from grass using Qgis 2.2

I want to run this tool from Qgis 2.2 but i don't know how to use the PARAMETERS to run this tool. The red frame are the PARAMETERS I don't know. Can someone to tell me what those PARAMETERS are ...
1
vote
1answer
128 views

Finding the common borders between polygons in the same shapefile

The question is essentially the same as here, except that I want to do it in qgis. Thus, is there a qgis function equivalent to the ArcMap intersect function that will take a polygon layer and output ...
0
votes
0answers
20 views

Getting timestamps from gpx files into QGIS? [duplicate]

I want to get the timestamp in the gpx file loaded as a feature attribute. Currently I am importing the files using GPSTool from a garmin etrex 30.
0
votes
0answers
34 views

Long Time for conversion raster file to vector in QGIS

I'm a new user of QGIS, and I'm tring to convert a .tif file in a vector. To do that I have used the "Raster conversion" option, but it's taking long time. I'm waiting for the conversion since 20 ...
1
vote
1answer
116 views

syntax error when using gdal in python console QGIS

When I run the following code in the python console in QGIS I get a syntax error: import osgeo.gdal gdal_rasterize [-b 1] [-burn 255] [-a Pixelkost] [-te 170000.2 168000.27 177999.8 177999.8] ...