Re: [Qgis-developer] Extended QWC
On Mon, Jun 15, 2015 at 10:01 PM, Uros Preloznik uro...@gmail.com wrote: Hi, I would like to share latest work on QGIS Web Client featuring some new stuff and modifications. [,,,] I'm reading your blog post and the features are truly AWESOME! Compliments! When I'll return from my holiday I'll see them in insight! ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Zoom in more than 1:2,256 borken
On Tuesday, June 23, 2015 13:54:38 Régis Haubourg wrote: Hi Yves, any project scales defined? I was tricked by this once.. Cheers Régis @Régis: I will double check with a fresh project. But as I don't have any problem with QGIS 2.8 I though it was not a project issue. @sandro: it was a fresh build @Richard: I will test without any plugin. Thanks, Y. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin
I've got the build environment up now, I think - many thanks, all. However, does anyone know how I can get rid of the following test fail: QPixmap: Must construct a QApplication before a QPaintDevice I don't see QApplication instantiated anywhere. I'm not sure how to get past this, since the fail is early on, so I don't get to the important tests for the plugin. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Using-TravisCI-integration-in-Github-for-QGIS-Python-plugin-tp5207646p5212624.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] Use the style tab widget in a Python plugin
Hi Michael , you can have a look to Mask plugin code, we embed a layer styling window in main GUI. Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Use-the-style-tab-widget-in-a-Python-plugin-tp5212511p5212616.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] Extended QWC
Hi, great work ! I noticed an issue when changing streetview panel size, street view image is not redimensionned (under chrome at least). Do you redistribute your sources and packages somewhere? I aw you plan to work on Lizmap later, can you tell us a bit more? Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Extended-QWC-tp520p5212615.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] Potentially serious performance regression in new geometry - should 2.10 be delayed?
Hi Nyall - For methods which don't have a geos implementation (eg, QgsGeometry::smooth ), should they just be implemented in the QgsGeometryEngine base class? They can stay in QgsGeometry as they don't require conversion to a different format and they would not benefit from prepare(). It means that they'd need to be aware that QGIS uses geos for these geometry operations and use that QgsGeos is the class required for geometry relation/modification operations Ideally, they work just with QgsGeometryEngine and don't realize which library is behind it. is there a good reason we couldn't instead move these geos implementations to QgsGeometryEngine itself and do away with QgsGeos? See above. QgsGeos is a subclass of QgsGeometryEngine. The only thing to be done is probably to move the method QgsGeometryEditUtils::geometryEngine() to a better place (e.g. QgsGeometry) and add python bindings for it. That way, plugin programmers just get the recommended subclass (obviously QgsGeos) and work with the base class interface. and do away with QgsGeos? Do you mean remove the python bindings for QgsGeos? Agreed, it will be good to discourage the direct use of the subclass. Regards, Marco On 24.06.2015 01:13, Nyall Dawson wrote: On 24 June 2015 at 00:44, Marco Hugentobler marco.hugentob...@sourcepole.ch wrote: Hi Nyall I'm still a bit unclear as to where you are taking these classes though. Is the intention that eventually ALL operations will be done using QgsGeos? In the end, yes, everything should go through QgsGeometryEngine interface. There are two possibilities: 1. client code creates QgsGeos, calls prepare() on it and makes repeaded intersection(), etc. directly on QgsGeometryEngine. This can be done with master branch as is. This sounds like the right approach to me, but I have a couple of further questions: - For methods which don't have a geos implementation (eg, QgsGeometry::smooth ), should they just be implemented in the QgsGeometryEngine base class? - I'm a bit concerned about the usability of this approach for plugin developers. It means that they'd need to be aware that QGIS uses geos for these geometry operations and use that QgsGeos is the class required for geometry relation/modification operations. That's not obvious and could be a stumbling block for new PyQGIS developers. It also locks these plugins then into using the geos engine, and if we ever decided to switch to a different engine then the plugins would also need to be updated. Just thinking aloud here... is there a good reason we couldn't instead move these geos implementations to QgsGeometryEngine itself and do away with QgsGeos? Then, in the (unlikely?) situation that a geos implementation is inferior to a native QGIS method we can mix-and-match between geos and alternative implementations as required. 2. client code uses QgsGeometry and calls intersection() on it. To benefit from prepared geometries, we would need to enhance QgsGeometry to cache QgsGeos and call prepare() the first time it is used. Thinking about it, version 1 might be better. We cannot know if the cached QgsGeos is really needed a second time and it might use more memory if not. In the first case, the client code knows if it is intended to do repeaded operations on the same geometry. What do you think? Could we put a giant NOT STABLE API AND MAY CHANGE for all these classes, so that we can address any unforeseen issues in 2.12? That would be ok. Great! That's my biggest reservation - if we've got the opportunity to tweak the API for 2.12 then my fears have been unfounded :) Thanks! Nyall -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Weberstrasse 5, CH-8004 Zürich, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Change vector layer data source
Hi Nathan, So if it is only accessible to programmers then it should be moved into the category Programmability. Currently, it is listed under Plugins. It would be cool if someone who knows could write some code snippet for this entry to explain how to use it. Thanks for letting me know, Andreas On 24.06.2015 14:16, Nathan Woodrow wrote: Hey Andreas, That is a API only change the moment for vector layers only. There was a bug in the method which Nyall has fixed in the last few days so you might be on a older version. Regards, Nathan On Wed, Jun 24, 2015 at 10:06 PM, Andreas Neumann a.neum...@carto.net mailto:a.neum...@carto.net wrote: Hi, I am working on the Visual changelog for QGIS 2.10 and I came across http://changelog.qgis.org/qgis/2.10/entry/allow-changing-vector-layer-data-source/update/ However, this does not work for me, or I can't figure it out how to change a vector data source. Also - does it only work for files or also for database sources? Could someone please explain how this works? Thanks, Andreas PS: could someone please accept my entries so that they appear in the public list? ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org mailto: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] Using TravisCI integration in Github for QGIS Python plugin
The message says it all. You must instantiate QApplication before instantiating QPaintDevice object or any object from classes inherited from QPaintDevice. Regards On Wed, Jun 24, 2015 at 4:06 PM, Tom Chadwin tom.chad...@nnpa.org.uk wrote: I've got the build environment up now, I think - many thanks, all. However, does anyone know how I can get rid of the following test fail: QPixmap: Must construct a QApplication before a QPaintDevice I don't see QApplication instantiated anywhere. I'm not sure how to get past this, since the fail is early on, so I don't get to the important tests for the plugin. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Using-TravisCI-integration-in-Github-for-QGIS-Python-plugin-tp5207646p5212624.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 -- *---* *Akbar Gumbira* *Software Engineer* *Geospatial, NLP, Data Mining, Machine Learning, Artificial Intelligence* ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Visual changelog: impossible to update an entry
Hi, I wanted to update this entry http://changelog.qgis.org/qgis/2.10/entry/dxf-export-improvements/update/ but get a 500 error code. The only difference to other entries is that I added an image credit. Maybe this breaks the system? Do I have to delete and recreate it without the image credit? Thanks, Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] QDataStream reading from QProcess or stdin
Does anybody have experience with QDataStream reading from QProcess or QFile.open(stdin,QIODevice::ReadOnly )? At the beginning I naively thought that it just works cross platform. Looking closer, it does not seem so obvious, see also [1][2]. What I am observing (currently on Linux) is that if there are no data on the device, reading from QDataStream is not blocked until data are available, it sets an error and continues. In theory, the underlying QIODevice::readData should block, Qt doc states: When reimplementing this function it is important that this function reads all the required data before returning. This is required in order for QDataStream to be able to operate on the class. QDataStream assumes all the requested information was read and therefore does not retry reading if there was a problem. I looked briefly into QProcess code and it seems to be blocking, unfortunately in practice it is not. Am I missing some options, mode settings? Do I have to write my blocking QIODevice subclasses? Radim [1] http://stackoverflow.com/questions/19681564/read-from-qtcpsocket-using-qdatastream [2] http://lists.qt-project.org/pipermail/interest/2012-May/002110.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin
So Google has told me repeatedly. My issues are: - I have not previously done this because the plugin works fine in QGIS, and this issue has only shown up in tests - I don't know how (or where) to instantiate QApplication (or QgsApplication?) -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Using-TravisCI-integration-in-Github-for-QGIS-Python-plugin-tp5207646p5212636.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] Use the style tab widget in a Python plugin
Hi Régis Thanks for your answer. I already done it, this way : https://github.com/3liz/QgisLayerBoardPlugin/commit/c212b42af4ee2b73b4a087d7f8fda9b3dfd823e3 Basically I am using the QgsRendererV2PropertiesDialog, and then use its method apply I will release a new version today. Now I need to figure out the equivalent of QgsRendererV2PropertiesDialog for raster layers Cheers Michaël 2015-06-24 10:17 GMT+02:00 Régis Haubourg regis.haubo...@eau-adour-garonne.fr: Hi Michael , you can have a look to Mask plugin code, we embed a layer styling window in main GUI. Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Use-the-style-tab-widget-in-a-Python-plugin-tp5212511p5212616.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
Re: [Qgis-developer] Change vector layer data source
Hey Andreas, That is a API only change the moment for vector layers only. There was a bug in the method which Nyall has fixed in the last few days so you might be on a older version. Regards, Nathan On Wed, Jun 24, 2015 at 10:06 PM, Andreas Neumann a.neum...@carto.net wrote: Hi, I am working on the Visual changelog for QGIS 2.10 and I came across http://changelog.qgis.org/qgis/2.10/entry/allow-changing-vector-layer-data-source/update/ However, this does not work for me, or I can't figure it out how to change a vector data source. Also - does it only work for files or also for database sources? Could someone please explain how this works? Thanks, Andreas PS: could someone please accept my entries so that they appear in the public list? ___ 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] Using TravisCI integration in Github for QGIS Python plugin
I don't know the code base you're working on. I think what you need to do is to narrow down which test that produces that error. You can split the tests like binary search or whatever method you like (running the tests for each package etc). In InaSAFE, for testing purposes, there's a handy function called get_qgis_app that will instantiate a QgsApp. It is used in the tests which also to prevent that error. See here for the usage of that function https://github.com/AIFDR/inasafe/search?utf8=%E2%9C%93q=get_qgis_app Regards On Wed, Jun 24, 2015 at 5:01 PM, Tom Chadwin tom.chad...@nnpa.org.uk wrote: So Google has told me repeatedly. My issues are: - I have not previously done this because the plugin works fine in QGIS, and this issue has only shown up in tests - I don't know how (or where) to instantiate QApplication (or QgsApplication?) -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Using-TravisCI-integration-in-Github-for-QGIS-Python-plugin-tp5207646p5212636.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 -- *---* *Akbar Gumbira* *Software Engineer* *Geospatial, NLP, Data Mining, Machine Learning, Artificial Intelligence* ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Change vector layer data source
Hi, I am working on the Visual changelog for QGIS 2.10 and I came across http://changelog.qgis.org/qgis/2.10/entry/allow-changing-vector-layer-data-source/update/ However, this does not work for me, or I can't figure it out how to change a vector data source. Also - does it only work for files or also for database sources? Could someone please explain how this works? Thanks, Andreas PS: could someone please accept my entries so that they appear in the public list? ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] More visual changelog entries
Hi, I created a few more unapproved visual changelog entries (new and updated). Which QGIS devs have the power to approve these? Is it only Tim, or are there other QGIS devs who can do it as well? There are still a few entries that would need some more descriptive text and/or screenshots - entries I can't do, because I don't know enough about them. Thanks, Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] More visual changelog entries
On 24-06-15 16:49, Andreas Neumann wrote: I created a few more unapproved visual changelog entries (new and updated). Which QGIS devs have the power to approve these? Is it only Tim, or are there other QGIS devs who can do it as well? There are still a few entries that would need some more descriptive text and/or screenshots - entries I can't do, because I don't know enough about them. Hi Andreas, thanks for your work. I do have some admin rights, but currently I only see one 'Pending Approval' entry, from rldhont: Add DescribeLayer method to WMS. I do not see other entries from you. Tim took this task, and may have other (django)'views' then I do. I do not know of other devs... But I reckon Tim will do this this week, maybe asking for some input and shortly after he 'flags the entries as finished' I will incorporate them in the website. At all: please have a look and give constructive input: http://changelog.qgis.org/qgis/version/2.8/ Regards, Richard Duivenvoorde ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] More visual changelog entries
On 24-06-15 17:14, Andreas Neumann wrote: Hi Richard, I think you just looked on the 2.8 entries. I worked on the 2.10 entries. Here are my pending 2.10 entries: http://changelog.qgis.org/qgis/2.10/pending-entry/list/ duh.. yes yes sorry sorry :-( And indeed there are more pending approvals there But let's wait for Tim for this. http://changelog.qgis.org/qgis/version/2.10/ pending ones is this link: http://changelog.qgis.org/qgis/2.10/pending-entry/list/ Regards, Richard ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Qgis 91e44ea crash browsing GRASS 7 vector
On Mon, Jun 22, 2015 at 10:23 AM, Radim Blazek radim.bla...@gmail.com wrote: Hi Roy, the bug is fixed in OSGeo4w qgis-dev-2.9.0-104. Apart from browsing and displaying GRASS data you should be able to import data to GRASS in the browser with drag and drop. There are still some issues with import which I am trying to sort out: - vector import with more features is slow due to slow inserting to db (provider problem, v.in.ogr is fast) - temporary vector maps (polygons cleaning) are not deleted - animated import icon is missing, it means no layer icon = import running, for now on Windows All three are fixed in qgis-dev-2.9.0-105 which also switched to grass-7.0.1RC1. Radim ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] LayerBoard plugin - edit project layers properties while drinking coffea !
Hi all, I am excited to announce the new version 0.5 of my LayerBoard plugin I started during Nodebo Developper Meeting. It is still experimental but begins to have the features I was alway looking for when dealing with complex projects. Please test it and report issues, or propose Pull requests ! Any feedback welcome ! Here is the copy of the README file visible in the github repository [1] --8--- This plugin helps to see and modify properties for vector and raster layers. It shows the layers in a table sheet, and the user can directly modify some properties such as layer name, title, abstract, minimum and maximum scales. To do so, double-click on a cell and modify the value. The modified cells are then drawn in yellow, and you can apply or discard the changes via the button under the table. Some properties can be changed on multiple layers at once, such as modifying spatial reference system and scale based visibility. To do so, select one or more layers in the vector or raster table, and use the right panel tools in the Actions on Layers tab, such as CRS or Max Scale, the click on the corresponding Set button. Some actions can be performed on multiple layers at once: - create a spatial index ( done only on vector layers) - save current style as default : it creates a QML file beside the source file The information visible in the Vector layers or Raster layers tabs can be exported to a Comma Separated Values (CSV) text file via the button in the tab Export of the right panel When only one layers is selected, the tab Layer style in the right panel displays the current layers style, and you can change the style directly for the selected layer via the Apply button. This is only available for vector layers. IMPORTANT : the changes are made in the current project, and will be saved only if you save the project. --8--- Kimaidou (Michaël Douchin) [1] https://github.com/3liz/QgisLayerBoardPlugin/#layer-board-plugin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] More visual changelog entries
Hi Richard, I think you just looked on the 2.8 entries. I worked on the 2.10 entries. Here are my pending 2.10 entries: http://changelog.qgis.org/qgis/2.10/pending-entry/list/ Andreas On 24.06.2015 17:12, Richard Duivenvoorde wrote: On 24-06-15 16:49, Andreas Neumann wrote: I created a few more unapproved visual changelog entries (new and updated). Which QGIS devs have the power to approve these? Is it only Tim, or are there other QGIS devs who can do it as well? There are still a few entries that would need some more descriptive text and/or screenshots - entries I can't do, because I don't know enough about them. Hi Andreas, thanks for your work. I do have some admin rights, but currently I only see one 'Pending Approval' entry, from rldhont: Add DescribeLayer method to WMS. I do not see other entries from you. Tim took this task, and may have other (django)'views' then I do. I do not know of other devs... But I reckon Tim will do this this week, maybe asking for some input and shortly after he 'flags the entries as finished' I will incorporate them in the website. At all: please have a look and give constructive input: http://changelog.qgis.org/qgis/version/2.8/ Regards, Richard Duivenvoorde ___ 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] Dsólo fe la película información y
Deyy gov y ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer