Re: [Qgis-developer] new GRASS 6.4 modules

2010-09-10 Thread Paolo Cavallini
Il 10/09/2010 20:02, MORREALE Jean Roc ha scritto: > Paolo, if it is not of a too high level, could it be possible to write a > wiki page explaining how to wrote and update the grass modules in qgis ? > I would like to help on this point but I don't know how. Simple: http://www.qgis.org/wiki/Addi

Re: [Qgis-developer] PyQGIS - Selecting Spatialite Datasource at runtime

2010-09-10 Thread Noli Sicad
Hi Germán, Thank you. Now it is English :-). Using Google Translate. http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fgeotux.tuxfamily.org%2Findex.php%3Foption%3Dcom_myblog%26task%3Dview%26id%3D251%26Itemid%3D59 German, would be able

Re: [Qgis-developer] PyQGIS - Selecting Spatialite Datasource at runtime

2010-09-10 Thread Germán Carrillo
Hi Noli, you could use this [1] (sorry, it's in Spanish). It uses the Sqlite3 Python module [2]. Regards, Germán [1] http://geotux.tuxfamily.org/index.php?option=com_myblog&task=view&id=251&Itemid=59 [2] http://docs.python.org/library/sqlite3.html On Fri, Sep 10, 2

Re: [Qgis-developer] new GRASS 6.4 modules

2010-09-10 Thread MORREALE Jean Roc
Le 10/09/2010 10:09, Paolo Cavallini a écrit : Hi all. In the occasion of the release of GRASS 6.4, I think it would be good to revise the current QGIS-GRASS modules. Specifically: - there are modules that IMHO are of no use, and potentially confusing (e.g. several of those who manage projectio

[Qgis-developer] Re: [GRASS-dev] new GRASS 6.4 modules

2010-09-10 Thread Markus Neteler
On Fri, Sep 10, 2010 at 10:09 AM, Paolo Cavallini wrote: > Hi all. > In the occasion of the release of GRASS 6.4, I think it would be good to > revise the > current QGIS-GRASS modules. Specifically: > - there are modules that IMHO are of no use, and potentially confusing (e.g. > several > of tho

[Qgis-developer] PyQGIS - Selecting Spatialite Datasource at runtime

2010-09-10 Thread Noli Sicad
Hi, Given, this example from PyQGIS documentation. uri = QgsDataSourceURI() uri.setDatabase('/home/martin/test-2.3.sqlite') uri.setDataSource('','Towns', 'Geometry') layer = QgsVectorLayer(uri.uri(), 'Towns', 'spatialite') ~ How do you do a runtime for the above. I want to sele

Re: [Qgis-developer] Not Rendering the Shapefile in Canvas - Blank

2010-09-10 Thread Noli Sicad
I solved it. I am using Ubuntu 10.04 I need to properly place the QGIS Install directory qgis_prefix = os.getenv("/usr") And I have to put, QgsApplication.setPrefixPath("/usr", True) Instead of using: QgsApplication.setPrefixPath(qgis_prefix, True) Here's the code. def main(argv): # create

Re: [Qgis-developer] Not Rendering the Shapefile in Canvas - Blank

2010-09-10 Thread Noli Sicad
Hi Cédric I inserted self.canvas.refresh() as showed below but still a blank canvas. # Set up the map canvas layer set cl = QgsMapCanvasLayer(layer) layers = [cl] self.canvas.setLayerSet(layers) self.canvas.refresh() ~ Thanks. Noli On 9/10/10, Möri Cedric w

AW: [Qgis-developer] Not Rendering the Shapefile in Canvas - Blank

2010-09-10 Thread Möri Cedric
Hi Noli seems you're missing self.canvas.refresh() at the end of your code. regards Cédric mit freundlichen Grüssen Cédric Möri GIS-Informatiker -- Kanton Solothurn Bau- und Justizdepartement Amt für Geoinformation Rötistrasse 4 4501 Solothurn Telefon: +41 (0)32 627 24 75 Telefax: +41 (0)32 6

[Qgis-developer] Not Rendering the Shapefile in Canvas - Blank

2010-09-10 Thread Noli Sicad
Hi, Is there any reason why the shapefile is not rendering in this code (below)? I tried several shapefiles and yet I am getting a white canvas or blank canvas without a render. I was able to open the shapefile and the form with mapcanvas are showing. Yet no render of the polygons - totally blank.

[Qgis-developer] viewing feature form

2010-09-10 Thread Bernhard Ströbl
Dear QGIS devs, since this is my first post on this list I want to thank all of you for your efforts in providing and improving this wonderful piece of software. My question is as follows: How can I open the feature form for a feature through Python i.e. how can I make the same happen as if t

Re: [Qgis-developer] WMS Benchmark at FOSS4G, Any Results?

2010-09-10 Thread Andreas Neumann
Thanks for the preliminary report. QGIS Server is still a very young project. It probably can learn a lot from the benchmark and the other implementations that are partially around for many years. Maybe also the desktop can profit from such efforts. And maybe the Google Code project "QGIS on ster

Re: [Qgis-developer] WMS Benchmark at FOSS4G, Any Results?

2010-09-10 Thread Pirmin Kalberer
Hi Andreas, Unfortunately, no slides from the FOSS4G are published yet. And since they had not enough WIFI logins, we were more or less offline this week. QGIS mapserver had similar problems as other teams to get consistent results with the spanish dataset. So this years exercise was more about l

[Qgis-developer] new GRASS 6.4 modules

2010-09-10 Thread Paolo Cavallini
Hi all. In the occasion of the release of GRASS 6.4, I think it would be good to revise the current QGIS-GRASS modules. Specifically: - there are modules that IMHO are of no use, and potentially confusing (e.g. several of those who manage projections, etc.) - there are new and useful modules to a

[Qgis-developer] WMS Benchmark at FOSS4G, Any Results?

2010-09-10 Thread Andreas Neumann
Hi, I wonder if there are already any results on the WMS server benchmarking at the current FOSS4G? Will be more interesting than last year, with many more participants, esp. also how QGIS Server compares to the other ones ... Andreas -- Andreas Neumann http://www.carto.net/neumann/ http://ww

[Qgis-developer] Re: [Qgis-user] FOSS4G 2010 and QGIS

2010-09-10 Thread Paolo Cavallini
Il 09/09/2010 02:36, Noli Sicad ha scritto: > Hi, > > Aside from this presentation, EDUGEO MINI-SIG : A SIMPLIFIED GIS > DESKTOP APPLICATION WITH QGIS FOR EDUCATIONAL PURPOSES > > http://2010.foss4g.org/presentations_show.php?id=3400 How interesting. Any plans to incorporate this work into main