[Qgis-developer] Virtual column joins
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 limitation or an implementation issue? Best Math ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Virtual geom column
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 being able to visualize the data on-the-fly. How complicated would it be to introduce such a virtual geom column in a future QGIS version? Thanks, Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Run Processing models from python console
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? regards, Luigi Pirelli On 21 January 2015 at 16:11, Matteo Ghetta matteo.ghe...@gmail.com wrote: Hi all, how can I run Processing models from python console? It seems that processing.alghelp(modeler:my_model) is empty and I cannot specify my layers and parameters? Am I missing something? Thanks Matteo ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Re : Problem when using spatial index
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 - De : Nejia Ben Nasr nejia.benn...@spaceyes3d.com Pour : 'Junior Delaz' del...@gmail.com Objet : [Qgis-developer] Problem when using spatial index Date : mer., janv. 21, 2015 16:11 To inderstant the source of problem, if it’s caused by invalid geometry I do this:- I load only a shapefile containing geometry with duplicate nodes and I remove file .qix, here the problem appear: the spatial index is atomically created and I can’t see all feature when I zoom or navigate in the map. - I have another shapefile containing some rows without geometry, I load only it in Qgis and I create a spatial index, here there is no problem De : Junior Delaz [mailto:del...@gmail.com] Envoyé : mercredi 21 janvier 2015 14:57 À : Nejia Ben Nasr Objet : Re: [Qgis-developer] Problem when using spatial index I assume duplicate nodes invalidate geometry but I don't think such thing can create the current bug. OGR/GEOS guru? But if I understand your second sentence, you have a shapefile containing some rows without geometry. Right? So, what do u mean by I don't have a problem with this file? Is it another file or the file on which you're creating the spatial index? You should : - open a new project and add only the problematic file - or delete from your current project the file with empty geometry (if it's not the one you're creating spatial index on) to see how it reacts when zooming in/out ... 2015-01-21 14:26 GMT+01:00 Nejia Ben Nasr nejia.benn...@spaceyes3d.com:The problem appears with vector layers that contain geometries that containing duplicate node(s), it’s considered as an invalid geometry ?When I select all features from the bounding box of the vector layer, lines of features that has a null geometry are not selected in the attribute table (I don’t have a problem with this shapefile). Thanks,NejiaDe : Junior [mailto:del...@gmail.com] Envoyé : mercredi 21 janvier 2015 13:47 À : Nejia Ben Nasr Cc : 'qgis-developer' Objet : Re : [Qgis-developer] Problem when using spatial index weird, it worked for others. And if you spatially select all your features, are all the lines in the attribute table being selected? You haven't answered about checking geometry validity... Envoyé depuis mon HTC - Reply message - De : Nejia Ben Nasr nejia.benn...@spaceyes3d.com Pour : 'Junior' del...@gmail.com Cc : 'qgis-developer' qgis-developer@lists.osgeo.org Objet : [Qgis-developer] Problem when using spatial index Date : mer., janv. 21, 2015 13:30 Yes, even if I delete the .qix before saving !! Thanks,Nejia De : Junior [mailto:del...@gmail.com] Envoyé : mercredi 21 janvier 2015 13:23 À : Nejia Ben Nasr Cc : 'qgis-developer' Objet : Re : [Qgis-developer] Problem when using spatial index And if you delete the .qix before saving? And then recreate it... Envoyé depuis mon HTC - Reply message - De : Nejia Ben Nasr nejia.benn...@spaceyes3d.com Pour : 'Junior Delaz' del...@gmail.com Cc : 'qgis-developer' qgis-developer@lists.osgeo.org Objet : [Qgis-developer] Problem when using spatial index Date : mer., janv. 21, 2015 13:14 I already tried to save to anther shapefile and edit it (add, modify, remove features …) the .qix was automatically created and I get the same problem Thanks,Nejia De : Junior Delaz [mailto:del...@gmail.com] Envoyé : mercredi 21 janvier 2015 12:21 À : Nejia Ben Nasr Cc : qgis-developer Objet : Re: [Qgis-developer] Problem when using spatial index Some users [1] have already encountered this issue and i understood that it may be related to non correspondance between the number of rows in the .dbf file and number of geometry (some rows had no geometry). A simple Save As.. to another shapefile has solved the problem. [1] http://georezo.net/forum/viewtopic.php?id=95143 (in french, sorry ) 2015-01-21 9:16 GMT+01:00 Nejia Ben Nasr nejia.benn...@spaceyes3d.com:Hi, Do you think that this problem is often caused by geometry problems? Thanks,Nejia De : Junior [mailto:del...@gmail.com] Envoyé : mardi 20 janvier 2015 13:41 À : Nejia Ben Nasr; 'qgis-developer' Objet : Re : [Qgis-developer] Problem when using spatial index Hi, Nejia, what about the validity of the geometry of your features? You can check with the tool in Vector menu Geometry tools check geometry validity Envoyé depuis mon HTC - Reply message - De : Nejia Ben Nasr nejia.benn...@spaceyes3d.com Pour : 'qgis-developer' qgis-developer@lists.osgeo.org Objet : [Qgis-developer] Problem when using spatial index Date : mar., janv. 20, 2015 13:03 I use QGIS 2.6.1 De : qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] De la part de Nejia Ben Nasr Envoyé : mardi 20 janvier
Re: [Qgis-developer] Problem when using spatial index
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 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 - De : Nejia Ben Nasr mailto:nejia.benn...@spaceyes3d.com nejia.benn...@spaceyes3d.com Pour : 'Junior Delaz' mailto:del...@gmail.com del...@gmail.com Objet : [Qgis-developer] Problem when using spatial index Date : mer., janv. 21, 2015 16:11 To inderstant the source of problem, if it’s caused by invalid geometry I do this: - I load only a shapefile containing geometry with duplicate nodes and I remove file .qix, here the problem appear: the spatial index is atomically created and I can’t see all feature when I zoom or navigate in the map. - I have another shapefile containing some rows without geometry, I load only it in Qgis and I create a spatial index, here there is no problem De : Junior Delaz [ mailto:del...@gmail.com mailto:del...@gmail.com] Envoyé : mercredi 21 janvier 2015 14:57 À : Nejia Ben Nasr Objet : Re: [Qgis-developer] Problem when using spatial index I assume duplicate nodes invalidate geometry but I don't think such thing can create the current bug. OGR/GEOS guru? But if I understand your second sentence, you have a shapefile containing some rows without geometry. Right? So, what do u mean by I don't have a problem with this file? Is it another file or the file on which you're creating the spatial index? You should : - open a new project and add only the problematic file - or delete from your current project the file with empty geometry (if it's not the one you're creating spatial index on) to see how it reacts when zooming in/out ... 2015-01-21 14:26 GMT+01:00 Nejia Ben Nasr nejia.benn...@spaceyes3d.com: The problem appears with vector layers that contain geometries that containing duplicate node(s), it’s considered as an invalid geometry ? When I select all features from the bounding box of the vector layer, lines of features that has a null geometry are not selected in the attribute table (I don’t have a problem with this shapefile). Thanks, Nejia De : Junior [mailto:del...@gmail.com] Envoyé : mercredi 21 janvier 2015 13:47 À : Nejia Ben Nasr Cc : 'qgis-developer' Objet : Re : [Qgis-developer] Problem when using spatial index weird, it worked for others. And if you spatially select all your features, are all the lines in the attribute table being selected? You haven't answered about checking geometry validity... Envoyé depuis mon HTC - Reply message - De : Nejia Ben Nasr nejia.benn...@spaceyes3d.com Pour : 'Junior' del...@gmail.com Cc : 'qgis-developer' qgis-developer@lists.osgeo.org Objet : [Qgis-developer] Problem when using spatial index Date : mer., janv. 21, 2015 13:30 Yes, even if I delete the .qix before saving !! Thanks, Nejia De : Junior [mailto:del...@gmail.com] Envoyé : mercredi 21 janvier 2015 13:23 À : Nejia Ben Nasr Cc : 'qgis-developer' Objet : Re : [Qgis-developer] Problem when using spatial index And if you delete the .qix before saving? And then recreate it... Envoyé depuis mon HTC - Reply message - De : Nejia Ben Nasr nejia.benn...@spaceyes3d.com Pour : 'Junior Delaz' del...@gmail.com Cc : 'qgis-developer' qgis-developer@lists.osgeo.org Objet : [Qgis-developer] Problem when using spatial index Date : mer., janv. 21, 2015 13:14 I already tried to save to anther shapefile and edit it (add, modify, remove features …) the .qix was automatically created and I get the same problem Thanks, Nejia De : Junior Delaz [mailto:del...@gmail.com] Envoyé : mercredi 21 janvier 2015 12:21 À : Nejia Ben Nasr Cc : qgis-developer Objet : Re: [Qgis-developer] Problem when using spatial index Some users [1] have already encountered this issue and i understood that it may be related to non correspondance between the number of rows in the .dbf file and number of geometry (some rows had no geometry). A simple Save As.. to another shapefile has solved the problem. [1] http://georezo.net/forum/viewtopic.php?id=95143 (in french, sorry ) 2015-01-21 9:16 GMT+01:00 Nejia Ben Nasr nejia.benn...@spaceyes3d.com: Hi, Do you think that this problem is often caused by geometry problems? Thanks, Nejia De : Junior [mailto:del...@gmail.com] Envoyé : mardi 20 janvier 2015 13:41 À : Nejia Ben Nasr; 'qgis-developer' Objet : Re : [Qgis-developer] Problem when using spatial index Hi, Nejia, what about the validity of the geometry of your features? You can check with the tool in Vector
Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs
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, then exported to a simple architecture similar to TMS but with no duplicates in tiles. For example, a completely blue tile from the ocean will be stored only once. A JSON file stores the correspondance between zoom / x and y and each png. We have a simple but usefull leaflet tilelayer definition which can use this particular format, thanks to the plugin Functionnal tilelayer ( https://github.com/ismyrnow/Leaflet.functionaltilelayer ) So no revolution here, no real new concept, but a very simple way to export QGIS rendering to a format which can be used offline with any HTML browser, which means it is usable with Iphone, android, etc. I think we could add this kind of tiles export feature to the merged plugin. Anyway, let's gather people around to contribute ! 2015-01-22 16:56 GMT+01:00 Victor Olaya vola...@gmail.com: 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 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 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) maybe adding also OL3 could be useful -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs
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 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 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) maybe adding also OL3 could be useful -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs
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 three plugins do a very similar job, but have different interfaces, and different behaviour, e.g. one shows a preview, two open an external browser directly, others not, two allow to save the result to a specified layer, etc. It would be very good if the interfaces and the behaviour would be unified, for maximum ease of users. I do not mean to change much in the plugin itself, just cosmetic stuff. Perhaps even better if the three could be unified (and possibly brought to core), but that requires obviously much more effort. I'm available for help if useful. All the best. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs
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 discuss all these ideas with anyone who wants to collaborate Thanks Paolo for opening the dicussion. 2015-01-22 16:28 GMT+01:00 Paolo Cavallini cavall...@faunalia.it: 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 three plugins do a very similar job, but have different interfaces, and different behaviour, e.g. one shows a preview, two open an external browser directly, others not, two allow to save the result to a specified layer, etc. It would be very good if the interfaces and the behaviour would be unified, for maximum ease of users. I do not mean to change much in the plugin itself, just cosmetic stuff. Perhaps even better if the three could be unified (and possibly brought to core), but that requires obviously much more effort. I'm available for help if useful. All the best. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs
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 single plugin (and eventually maybe become a core one) maybe adding also OL3 could be useful -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Help of Processing models is not saved
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 the help parameters (name, version, ) of the various models disappear after saving the models. Saving the model should also save the help right? Confirmed here, it does not work. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Help of Processing models is not saved
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 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 the help parameters (name, version, ) of the various models disappear after saving the models. Saving the model should also save the help right? Confirmed here, it does not work. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs
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 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) maybe adding also OL3 could be useful -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Virtual geom column
+ 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 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 being able to visualize the data on-the-fly. How complicated would it be to introduce such a virtual geom column in a future QGIS version? Thanks, Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Data-defined buttons for en masse size and rotation
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 symbol size range. It works for line width too. The legend's symbol does dissapear though, but I believe it's due to the data defined size. I'll work on the legend to have something meaningful when using size expressions. If you can recompile the branch and give feedback, it will be welcome. Thanks, V. On 21/01/2015 14:46, Régis Haubourg wrote: Hi Vincent, good to know, thanks Régis Vincent Mora wrote On 20/01/2015 22:51, Anita Graser wrote: Hi Régis, Thanks a lot for all the details! On Mon, Jan 19, 2015 at 9:30 PM, Régis Haubourg lt; regis.haubourg@ gt; wrote: - when using the GUI assistant or the graduated classification, we will enable a legend for mapcanvas and composer 's legend. That legend will be of this type [0] This will certainly be a nice addition. Will it work with all kinds of point markers? Or only simple markers? If my design works as expected, it should even work for lines width. [0] http://s14.postimage.org/3jr9kcmgh/muesure.png Best wishes, Anita ___ Qgis-developer mailing list Qgis-developer@.osgeo http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@.osgeo http://lists.osgeo.org/mailman/listinfo/qgis-developer -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Data-defined-buttons-for-en-masse-size-and-rotation-tp5181954p5182855.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Wierd issue with Python and triggerRepaint()
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 caching in Settings, I don't have a problem with my plugin. You rendering experts have any ideas? Thanks, -gary -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-= Gary Sherman Founder, QGIS Project Consulting: geoapt.com Publishing: locatepress.com We work virtually anywhere =-=-=-=-=-=-=-=-=-=-=-=-=-=-= ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs
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 interface (with basic common parameters such as the list of layers to include) and some custom inputs for each converter. Good to see that people like the idea :-) 2015-01-22 19:58 GMT+01:00 kimaidou kimai...@gmail.com: 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, then exported to a simple architecture similar to TMS but with no duplicates in tiles. For example, a completely blue tile from the ocean will be stored only once. A JSON file stores the correspondance between zoom / x and y and each png. We have a simple but usefull leaflet tilelayer definition which can use this particular format, thanks to the plugin Functionnal tilelayer ( https://github.com/ismyrnow/Leaflet.functionaltilelayer ) So no revolution here, no real new concept, but a very simple way to export QGIS rendering to a format which can be used offline with any HTML browser, which means it is usable with Iphone, android, etc. I think we could add this kind of tiles export feature to the merged plugin. Anyway, let's gather people around to contribute ! 2015-01-22 16:56 GMT+01:00 Victor Olaya vola...@gmail.com: 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 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 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) maybe adding also OL3 could be useful -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] attributeIndexes
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 fields. I don't really get the point ... Was there something else planned initially ? Something related to (database) indexes ? Probably just the opposite. The attributes used to be kept in a map and not an array and attributeIndexes returned the keys. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) GermanyIRC: jef on FreeNode signature.asc Description: Digital signature ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Processing disappeared from QGIS master?
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 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 scritto: So any ideas how to make the integration of SAGA more stable would be much appreciated. IMHO the best option would be to cooperate more tightly with SAGA devs, so that changes are know before they are added to new release, and Processing is updated accordingly. Of course, automatic testing and support for more developer time would greatly improve the current situation. All the best, and thanks for your interest. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Help of Processing models is not saved
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 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 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 the help parameters (name, version, ) of the various models disappear after saving the models. Saving the model should also save the help right? Confirmed here, it does not work. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Processing disappeared from QGIS master?
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 scritto: So any ideas how to make the integration of SAGA more stable would be much appreciated. IMHO the best option would be to cooperate more tightly with SAGA devs, so that changes are know before they are added to new release, and Processing is updated accordingly. Of course, automatic testing and support for more developer time would greatly improve the current situation. All the best, and thanks for your interest. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] attributeIndexes
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 planned initially ? Something related to (database) indexes ? ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Run Processing models from python console
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 22:48 GMT+01:00 Luigi Pirelli lui...@gmail.com javascript:; : 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? regards, Luigi Pirelli On 21 January 2015 at 16:11, Matteo Ghetta matteo.ghe...@gmail.com javascript:; wrote: Hi all, how can I run Processing models from python console? It seems that processing.alghelp(modeler:my_model) is empty and I cannot specify my layers and parameters? Am I missing something? Thanks Matteo ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org javascript:; http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Processing disappeared from QGIS master?
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 versions 14.XX, and most users of ubuntu-like-systems use ubuntugis-unstable to install these packages and dependencies. How can we get around this issue? Best regards, Pedro [0] https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/+index?batch=75memo=150start=150 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Processing disappeared from QGIS master?
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 2015-01-22 19:10 GMT+02:00 Matteo Ghetta matteo.ghe...@gmail.com: 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 scritto: So any ideas how to make the integration of SAGA more stable would be much appreciated. IMHO the best option would be to cooperate more tightly with SAGA devs, so that changes are know before they are added to new release, and Processing is updated accordingly. Of course, automatic testing and support for more developer time would greatly improve the current situation. All the best, and thanks for your interest. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Virtual geom column
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 Matthias and Hugo. Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Virtual-geom-column-tp5183117p5183252.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Run Processing models from python console
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 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 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? regards, Luigi Pirelli On 21 January 2015 at 16:11, Matteo Ghetta matteo.ghe...@gmail.com wrote: Hi all, how can I run Processing models from python console? It seems that processing.alghelp(modeler:my_model) is empty and I cannot specify my layers and parameters? Am I missing something? Thanks Matteo ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer