The project file extension of Quantum GIS software

learn more… | top users | synonyms

1
vote
1answer
13 views

QgsVectorFileWriter returns false output

I am trying to make a script that reads the content of a .dbf-file and exports it as a shapefile. Equal to the manual pattern "Save as.." when rightclicking the imported layer in the Qgis Desktop. I'...
1
vote
0answers
48 views

Understanding QGIS project files [duplicate]

I'm a GIS software developer, I've been working predominantly with MapInfo over the last year or so but have now been tasked with assessing QGIS to see if we can perform the same tasks we've developed ...
1
vote
0answers
29 views

Qgis standalone script using eclipse IDE -No data provider available issue

I know, the question is asked few times also in this forum but i apply already the presented solutions without any chance to fix the problem. In General the source code looks like the following: from ...
3
votes
0answers
66 views

Tools to help migration from Mapserver to QGIS Server

I'm going to migrate a Mapserver WMS server to QGIS Server. I'd like to know if there are some tools or plugins that convert Mapserver mapfile (.map) to QGIS project file (.qgs). WMS responses (...
2
votes
2answers
40 views

How to read the saved extent of the QgsProject?

I am trying to access the extent of QgsProject. How can i do that with PyQGIS?
3
votes
0answers
25 views

Can't open my saved .qgs file in QGIS [duplicate]

When I try to open my .qgs file I get the following error: It says that the project can't be opened, and that something is wrong when trying to read the project file, this is my translation. Can I ...
2
votes
0answers
79 views

Loading a qgsproject when another one is loaded

I am loading a project with: QgsProject.instance().read(QFileInfo(path)) When i try to load another project it subtracts the layers and shows nothing. But if I try doing it again it works.
1
vote
0answers
150 views

What could be making QGIS 2.10 crash when loading a project file?

On QGIS 2.10, running on Ubuntu 15.04 Linux, I have a project file that has a fairly large number of mainly shapefile layers, which gets to 99% on the slider to the right of where it has a message ...
1
vote
0answers
64 views

QGis Application Debugging - missing source problem at setScene method in QgsMapCanvas class [closed]

I develop a app in C++ with Qgis components with VS2010 Prof on Windows 7. Compiling a release succeeded and the app´s behaviour is as expected. Nevertheless I would like to take advantage of the ...
3
votes
1answer
874 views

How to add a column/feature with PyQGIS 2.x?

I'm using PyQgis 2.2 and I'm creating a plugin. I want to add one feature/column to a shapefile. But I get error.. I've tried to do this as it's shown in Cookbook: if caps & ...
5
votes
2answers
273 views

Is it possible to save qgs file as older version?

I just got installed the version 2.6 of QGIS (OSGeo4W) on Windows 7. I am exploring the new capabilities and the compatibility of our tools with this new version, however, i have to keep on working on ...
2
votes
1answer
854 views

QGIS Python script for creating project file

Is there a way to create QGIS project file(.qgs) using only Python script outside QGIS Python console.I am trying to publish a map using QGIS Web Client using python. For this, I am trying to do below ...
0
votes
0answers
309 views

Open a *.qgs project file in API, why maps do not show?

I'm using QGIS-2.4.0 API. I saved a test.qgs file in QGIS Desktop, in this project, there is one layer that is visible in it. Then I open the test.qgs project file in QGIS API to developing an App, ...
2
votes
1answer
224 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
2answers
1k views

Convert .mxd to .qgs, MXD2QGS fix?

I've had a look at the following thread about using MXD2QGS and so far I've figured out that this only works with version 10.0 and Python 2.6. I installed MXD2QGS on a machine with Arc10.0 and Python ...
28
votes
2answers
28k views

Converting 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.