Re: [Qgis-developer] Python problem - qgispython.dll

2011-09-05 Thread Martin Dobias
On Fri, Sep 2, 2011 at 4:17 PM, Sasikumar Kanniyappan qgis.develo...@gmail.com wrote: Hi Martin, Could you please point me where can I find packing Qgis document to include the python path in environment variable using NSIS. (or) any document where I can find how to configure

[Qgis-developer] Change feature via Python

2011-09-05 Thread bernhard . stroebl
Dear devs, my situation is as follows: I am working on some Python code. I have a non-spatial layer in the project created from a PostgreSQL table. For this layer I can (via Python): 1) create a new feature, manipulate its attribute values and add it to the layer 2) access an existing

Re: [Qgis-developer] Change feature via Python

2011-09-05 Thread Martin Dobias
On Mon, Sep 5, 2011 at 10:45 AM, bernhard.stro...@jena.de wrote: Dear devs, my situation is as follows: I am working on some Python code. I have a non-spatial layer in the project created from a PostgreSQL table. For this layer I can (via Python): 1) create a new feature, manipulate its

Re: [Qgis-developer] Change feature via Python

2011-09-05 Thread bernhard . stroebl
Dear Martin, thank you for your quick response. I knew I must be missing something... will try layer.changeAttributeValue() Bernhard Am 05.09.2011 11:31, schrieb Martin Dobias: On Mon, Sep 5, 2011 at 10:45 AM,bernhard.stro...@jena.de wrote: Dear devs, my situation is as follows: I am

[Qgis-developer] Native MS SQL 2008 Driver for QGIS

2011-09-05 Thread Nathan Woodrow
Hi all, There has been some interest from a company here in Australia to develop a MS SQL driver/provider for QGIS. IMO this is a good move as most local governments, where I work and where I push my QGIS agenda, pretty much all use MS SQL 2008 spatial for storing spatial data. Having a driver

Re: [Qgis-developer] Native MS SQL 2008 Driver for QGIS

2011-09-05 Thread Marco Hugentobler
Hi Nathan I also think that a native QGIS provider (subclass of QgsVectorDataProvider) for MS SQL 2008 would be a great thing. The reason to go for a native driver (and not via OGR) are the same as with PostGIS: - performance is better (less conversion) - even with the OGR driver, it needs

Re: [Qgis-developer] Native MS SQL 2008 Driver for QGIS

2011-09-05 Thread Paolo Cavallini
Il 05/09/2011 14:34, Marco Hugentobler ha scritto: I also think that a native QGIS provider (subclass of QgsVectorDataProvider) for MS SQL 2008 would be a great thing. The reason to go for a native driver Btw. a native oracle spatial provider would also be nice to have. Oracle spatial is

Re: [Qgis-developer] Native MS SQL 2008 Driver for QGIS

2011-09-05 Thread G. Allegri
+1 for having these native spatial drivers. I don't know about MS SQL, for Oracle you cannot distribute the required proprietary lib, which is however freely downloadable from Oracle. In any case this is required by the OGR driver too. PS: The OGR Oracle driver is quite unusable at now. It's very

Re: [Qgis-developer] Native MS SQL 2008 Driver for QGIS

2011-09-05 Thread Nathan Woodrow
We shouldn't need any external libraries, Qt has a built in ODBC driver that you can use to connect to MS SQL. I tried it this arvo in PyQt. - Nathan On Mon, Sep 5, 2011 at 11:24 PM, Paolo Cavallini cavall...@faunalia.itwrote: Il 05/09/2011 14:34, Marco Hugentobler ha scritto: I also think

Re: [Qgis-developer] Re: QgsProject.instance().isDirty()

2011-09-05 Thread Martin Dobias
On Fri, Sep 2, 2011 at 4:18 PM, Bob English bobe...@gmail.com wrote: Hi Martin, Thanks for taking the time to reply.  Since I had to meet a deadline for the CAPS app I'm working on, I just wrote my own is.dirty() check in Python. I thought maybe the QgsProject.instance().isDirty() function