[Qgis-developer] Virtual column joins

2015-01-22 Thread Mathieu Pellerin
Greetings, Earlier this week, I ran into the need to do a temporary join between two datasets that would have relied on a virtual column. It however seems that QGIS is unable to do so as the virtual colum did not appear in the list of available columns to use to establish a join. Is that a known

[Qgis-developer] Virtual geom column

2015-01-22 Thread Andreas Neumann
Hi, Now that we have virtual columns in QGIS, I wonder if we could improve this towards virtual geom columns. Often, there is point (x/y, lat/lon) data in some non-GIS database and you only have read-only access. Rather than copying this data to some other database/format it would be nice

Re: [Qgis-developer] Run Processing models from python console

2015-01-22 Thread Victor Olaya
Fixed. It was actually a problem of the description only, but the models are available to runalg 2015-01-21 22:48 GMT+01:00 Luigi Pirelli lui...@gmail.com: Hi Victor, is that exposed by Matteo a side effect of the refactoring or it is a feature for models to be not exposed to runalg?

[Qgis-developer] Re : Problem when using spatial index

2015-01-22 Thread Junior
Hi, Then fix the layer with duplicate nodes. As stated here [1], it can be done with the tool in vector menu Geometry tools Simplify geometry (setting the tolerance to 0) [1] http://docs.qgis.org/2.2/en/docs/user_manual/plugins/plugins_ftools.html Envoyé depuis mon HTC - Reply message

Re: [Qgis-developer] Problem when using spatial index

2015-01-22 Thread Nejia Ben Nasr
Hi, Thank you very much delazj. Nejia De : Junior [mailto:del...@gmail.com] Envoyé : jeudi 22 janvier 2015 09:19 À : Nejia Ben Nasr Cc : qgis-developer@lists.osgeo.org Objet : Re : [Qgis-developer] Problem when using spatial index Hi, Then fix the layer with duplicate nodes. As

Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs

2015-01-22 Thread kimaidou
Hi all, +1000 for this merge René-Luc and I have also created a very simple (unpublished) plugin as a proof of concept to export pseudo mercator tiles from the project layers, very similar to QTiles plugin, but with a simple but usefull addition : Tiles are first saved in a mbtiles database,

Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs

2015-01-22 Thread Victor Olaya
yes, when i said our plugins i meant his one (qgis2leaflet) and myone (qgis2OL3) :-) 2015-01-22 16:52 GMT+01:00 Thomas Gratier osgeo.mailingl...@gmail.com: Hi, I maybe misunderstandood but I think Victor was already speaking about ol3 e.g https://github.com/volaya/qgis-ol3 Thomas

[Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs

2015-01-22 Thread Paolo Cavallini
Hi all. I'm doing a course, and we found several potential issues, some of them related: * openlayers export: if a layer has a transparency in QGIS, the exported page has black polygons instead of transparent ones * the opacity control of qgis2leaf does not seem to work. More generally, the

Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs

2015-01-22 Thread Victor Olaya
I am discussing with the author of the qgis2leaflet plugin about the possibility of merging our plugins into a single one. Adding threejs as well would be great, and i am sure we would get more testing and feedback if its was a single plugin (and eventually maybe become a core one) I am open to

Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs

2015-01-22 Thread Luca Delucchi
On 22 January 2015 at 16:36, Victor Olaya vola...@gmail.com wrote: I am discussing with the author of the qgis2leaflet plugin about the possibility of merging our plugins into a single one. Adding threejs as well would be great, and i am sure we would get more testing and feedback if its was a

Re: [Qgis-developer] Help of Processing models is not saved

2015-01-22 Thread Matteo Ghetta
Hi, I recompiled qgis with the changes made by Victor but the help of the models are not saved. Anyone confirms or am I missing something? Thanks Matteo 2015-01-21 16:31 GMT+01:00 Paolo Cavallini cavall...@faunalia.it: Il 21/01/2015 16:17, Matteo Ghetta ha scritto: Hi all, it seems that

Re: [Qgis-developer] Help of Processing models is not saved

2015-01-22 Thread Victor Olaya
Changes where not made to solve that. I have actually seen the issue a couple of times, but most if the tests i did today, it worked fine, so i cannot see why it is that it fails sometimes. I will keep on working on it. 2015-01-22 17:30 GMT+01:00 Matteo Ghetta matteo.ghe...@gmail.com: Hi, I

Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs

2015-01-22 Thread Thomas Gratier
Hi, I maybe misunderstandood but I think Victor was already speaking about ol3 e.g https://github.com/volaya/qgis-ol3 Thomas 2015-01-22 16:39 GMT+01:00 Luca Delucchi lucadel...@gmail.com: On 22 January 2015 at 16:36, Victor Olaya vola...@gmail.com wrote: I am discussing with the author of

Re: [Qgis-developer] Virtual geom column

2015-01-22 Thread kimaidou
+ 1 for this feature, if possible. Perhaps it would be necessary to define the excepted geometry type so that QGIS knows in advance the geometry type. 2015-01-22 14:16 GMT+01:00 Andreas Neumann a.neum...@carto.net: Hi, Now that we have virtual columns in QGIS, I wonder if we could improve

Re: [Qgis-developer] Data-defined buttons for en masse size and rotation

2015-01-22 Thread Vincent Mora
Hi Regis, Here is a PR for one element of this feature https://github.com/qgis/QGIS/pull/1853 It's only the ground work, so you have no GUI to help you setup the expression for the size rotation, but you can use scale_exp and scale_linear to define your value range and the corresponding

[Qgis-developer] Wierd issue with Python and triggerRepaint()

2015-01-22 Thread Gary Sherman
I have a plugin that makes modifications to a memory layer, then calls triggerRepaint() to refresh. Unfortunately, it doesn't refresh the layer. If I open the Python console before making the mods, it works from the console: lyr = iface.activeLayer() lyr.triggerRepaint() If I turn off

Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs

2015-01-22 Thread Victor Olaya
definitely a great addition. I think that any plugin or script that exports a qgis project to another format (so it uses QGIS as a front end for easily setting up layers, symbology, etc), can fit in here. We can create a small framework and then plug converters into it, so they use a similar

Re: [Qgis-developer] attributeIndexes

2015-01-22 Thread Jürgen E . Fischer
Hi Hugo, On Thu, 22. Jan 2015 at 17:59:45 +0100, Hugo Mercier wrote: What is the intention behind QgsVectorDataProvider::attributeIndexes() ? It is used in very few places. It returns a list of integers ... and if I am correct will always return a list [0 ... n-1] if n is the number of

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-22 Thread Alexander Bruy
Hi Matteo, which version of SAGA do you have? Processing provider was updated recently and some old SAGA versions are not supported yet. It should work with SAGA 2.1.2 and 2.1.3 2015-01-22 19:10 GMT+02:00 Matteo Ghetta matteo.ghe...@gmail.com: Hi, sorry for the noise but I have SAGA installed

Re: [Qgis-developer] Help of Processing models is not saved

2015-01-22 Thread Matteo Ghetta
ah ok... sorry for the noise then... and thanks for your work! Matteo 2015-01-22 17:32 GMT+01:00 Victor Olaya vola...@gmail.com: Changes where not made to solve that. I have actually seen the issue a couple of times, but most if the tests i did today, it worked fine, so i cannot see why it

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-22 Thread Matteo Ghetta
Hi, sorry for the noise but I have SAGA installed in my debian system (and it works as standalone) but I cannot see it in Processing. Should I do something in particular? Thanks Matteo 2015-01-21 15:14 GMT+01:00 Paolo Cavallini cavall...@faunalia.it: Il 21/01/2015 15:08, Bernd Vogelgesang ha

[Qgis-developer] attributeIndexes

2015-01-22 Thread Hugo Mercier
Hi all, What is the intention behind QgsVectorDataProvider::attributeIndexes() ? It is used in very few places. It returns a list of integers ... and if I am correct will always return a list [0 ... n-1] if n is the number of fields. I don't really get the point ... Was there something else

Re: [Qgis-developer] Run Processing models from python console

2015-01-22 Thread Luigi Pirelli
Thank you Victor, it will be available in processing plugin or only in it's master version? Regards, Luigi Pirelli On Thursday, 22 January 2015, Victor Olaya vola...@gmail.com wrote: Fixed. It was actually a problem of the description only, but the models are available to runalg 2015-01-21

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-22 Thread Pedro Venâncio
Hi Alexander, which version of SAGA do you have? Processing provider was updated recently and some old SAGA versions are not supported yet. It should work with SAGA 2.1.2 and 2.1.3 I think that may arise a problem here, because ubuntugis-unstable [0] just have SAGA 2.1.1 for ubuntu

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-22 Thread Matteo Ghetta
Hi Alex, I have the 2.12 installed 2015-01-22 18:13 GMT+01:00 Alexander Bruy alexander.b...@gmail.com: Hi Matteo, which version of SAGA do you have? Processing provider was updated recently and some old SAGA versions are not supported yet. It should work with SAGA 2.1.2 and 2.1.3

Re: [Qgis-developer] Virtual geom column

2015-01-22 Thread Régis Haubourg
Hi, FYI there is an on going work funded by French Ministry of ecology to explore feasability of such features, using underlying sqlite capabilities. Maybe the concerned contractant could give us an update status of thsi work? This is also related to adding SQL capabilities discussed here between

Re: [Qgis-developer] Run Processing models from python console

2015-01-22 Thread Victor Olaya
It's in master now, and i don't know if we will release an update, since there will be a QGIS update rather soon Cheers 2015-01-22 21:19 GMT+01:00 Luigi Pirelli lui...@gmail.com: Thank you Victor, it will be available in processing plugin or only in it's master version? Regards, Luigi