Re: [Qgis-developer] QGIS plugin site
I was indeed available and investigated the issue yesterday but cannot reproduce, see: http://hub.qgis.org/issues/13175 2015-08-05 4:15 GMT+02:00 Akbar Gumbira akbargumb...@gmail.com: Hi Tim, I'll look at the issue tonight. Btw, I don't use my AIFDR email anymore :-) Regards On Wed, Aug 5, 2015 at 6:03 AM, Tim Sutton t...@kartoza.com wrote: Hi On 03 Aug 2015, at 08:34, Paolo Cavallini cavall...@faunalia.it wrote: Hi all. I have an issue with the plugin web app: http://hub.qgis.org/issues/13175 I believe Alessandro is unavailable currently: is anyone available for a look to it? This prevents me from approving several plugins, and I would not like to make authors and user waiting too long. @Akbar could you take a look? Regards Tim All the best, and thanks. -- 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 — Tim Sutton Visit http://kartoza.com to find out about open source: * Desktop GIS programming services * Geospatial web development * GIS Training * Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net Tim is a member of the QGIS Project Steering Committee Kartoza is a merger between Linfiniti and Afrispatial ___ 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 -- Alessandro Pasotti w3: www.itopen.it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Installation problems in QGIS 2.8.3 on Windows 7 - 64 bit
Hi, I'm encountering installation problems with the LTR version of QGIS. While QGIS 2.8.2 installed fine, the QGIS 2.8.3 has these problems: - the start menu folder QGIS Wien is empty (no icons) - the BAT files are not generated after installation: in the C:\Program Files\qgis\bin there are many templates like: qgis-ltr.bat.tmpl Could you check this? ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Installation problems in QGIS 2.8.3 on Windows 7 - 64 bit
Am 05.08.2015 um 08:46 schrieb Luca Manganelli: Hi, I'm encountering installation problems with the LTR version of QGIS. While QGIS 2.8.2 installed fine, the QGIS 2.8.3 has these problems: - the start menu folder QGIS Wien is empty (no icons) - the BAT files are not generated after installation: in the C:\Program Files\qgis\bin there are many templates like: qgis-ltr.bat.tmpl There should be a postinstall.log file in the \qgis folder. The installation must have been broken before the bat and desktop icon creation. HTH, André Joost ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] memory layer performance while adding many features?
Hi Denis, Adding all features at once, or 1000 by 1000, speeds up enormously. It only takes a few minutes, at a steady speed of 480 fpm. Where adding the same dataset 1 by 1 took about 5 hours. Thanks for pointing this out! Raymond On 30-07-15 09:34, Denis Rouzaud wrote: From your code [0] , I would see 2 options: * add features all at once on the provider using QgsVectorDataProvider::addFeatures (the method you currently use) * work on the layer level rather than the provider, which I believe is the recommended way for plugins. Make the layer editable, and add features to the edit buffer and commit at once. Or maybe commit 1000 by 1000. I hope this helps. [0] https://github.com/opengeogroep/AERIUS-QGIS-plugins/blob/master/ImaerReader/imaer_reader.py#L228 On 07/30/2015 09:20 AM, Raymond Nijssen wrote: Hi Denis, The code is in the ImaerReader plugin in the qgis repo and in github: https://github.com/opengeogroep/AERIUS-QGIS-plugins I'm adding the features one by one. Regards, Raymond On 30-07-15 08:46, Denis Rouzaud wrote: Hi Raymond, Can you show us the code doing this? Do you commit features one by one ar all at once? Best wishes, Denis On 07/29/2015 09:04 AM, Raymond Nijssen wrote: Dear developers, ;) A plugin of mine imports data from a gml file into a memory layer. Works fine for tiny gml files, but takes forever on huge ones. Sounds plausible maybe, but the relation is not linear. So I did did some tests and found out that reading and parsing the gml and creating the features always goes at the same speed of about 400 features a second (fps). But when adding these to my memory layer, the process slows down tremendously. I output the fps for every 1000 features and it gave me this graph: http://terglobo.nl/downloads/memory-layer-performance.png At the end of the importing process I'm processing just 3 features per second. Is this expected behaviour? Is a memory layer not meant for something like this? Or is this a bug? In the source code I found that for every feature I add to a memory layer the index is updated. Could that be inefficient? Hoping anyone can explain! Regards, Raymond -- Terglobo Ampèrestraat 110 5223 CT 's-Hertogenbosch 06-25314983 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Freeze on release-2_8 branch
Hi Paolo, On Mon, Aug 3, 2015 at 6:40 PM, Paolo Cavallini cavall...@faunalia.it wrote: I also think point releases should be announced (just with a shorter announcement, with less emphasis). I'll be happy of taking care of this. I believe this should be done with the same procedure as for the normal release announcements. So, Juergen, should I do this from now on, or what do you prefer? Just let me know if you want me to publish the announcement on the blog as well once you've written it or if you prefer doing that yourself. Best wishes, Anita ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QGIS plugin site
Hi On 05 Aug 2015, at 04:15, Akbar Gumbira akbargumb...@gmail.com wrote: Hi Tim, I'll look at the issue tonight. Btw, I don't use my AIFDR email anymore :-) Thanks - and oops - I will remove it from my contact manager… Regards Tim Regards On Wed, Aug 5, 2015 at 6:03 AM, Tim Sutton t...@kartoza.com mailto:t...@kartoza.com wrote: Hi On 03 Aug 2015, at 08:34, Paolo Cavallini cavall...@faunalia.it mailto:cavall...@faunalia.it wrote: Hi all. I have an issue with the plugin web app: http://hub.qgis.org/issues/13175 http://hub.qgis.org/issues/13175 I believe Alessandro is unavailable currently: is anyone available for a look to it? This prevents me from approving several plugins, and I would not like to make authors and user waiting too long. @Akbar could you take a look? Regards Tim All the best, and thanks. -- Paolo Cavallini - www.faunalia.eu http://www.faunalia.eu/ QGIS PostGIS courses: http://www.faunalia.eu/training.html http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer http://lists.osgeo.org/mailman/listinfo/qgis-developer — KartozaLogo160x66.png Tim Sutton Visit http://kartoza.com http://kartoza.com/ to find out about open source: * Desktop GIS programming services * Geospatial web development * GIS Training * Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net http://freenode.net/ Tim is a member of the QGIS Project Steering Committee Kartoza is a merger between Linfiniti and Afrispatial ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer 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 — Tim Sutton Visit http://kartoza.com http://kartoza.com/ to find out about open source: * Desktop GIS programming services * Geospatial web development * GIS Training * Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net Tim is a member of the QGIS Project Steering Committee Kartoza is a merger between Linfiniti and Afrispatial signature.asc Description: Message signed with OpenPGP using GPGMail ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Compiling ui files with custom widgets creates wrong imports
Hi, There seems to be an issue with custom widgets in Python. For example this plugin bug: ImportError: No module named qgsfieldcombobox ( https://github.com/informeren/qgis-cartogram/issues/2) Compiling with pyuic4 -o cartogram_dialog_base.py cartogram_dialog_base.ui results in from qgsfieldcombobox import QgsFieldComboBox while it should be from qgis.gui import QgsFieldComboBox Is there some way to fix this on our side? Best wishes, Anita ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] memory layer performance while adding many features?
Hi all, in general I think we should advice to use the layer.addFeature() method with a layer.commitChanges() in the end. It has the advantage that it does batch updates on the provider automatically and proper signals are sent so the UI (canvas, attribute table...) can reflect changes immediately. The layer.dataProvider().addFeatures() method delegates all this to the developer. Cheers, Matthias On 08/05/2015 08:28 PM, Raymond Nijssen wrote: Hi Denis, Adding all features at once, or 1000 by 1000, speeds up enormously. It only takes a few minutes, at a steady speed of 480 fpm. Where adding the same dataset 1 by 1 took about 5 hours. Thanks for pointing this out! Raymond On 30-07-15 09:34, Denis Rouzaud wrote: From your code [0] , I would see 2 options: * add features all at once on the provider using QgsVectorDataProvider::addFeatures (the method you currently use) * work on the layer level rather than the provider, which I believe is the recommended way for plugins. Make the layer editable, and add features to the edit buffer and commit at once. Or maybe commit 1000 by 1000. I hope this helps. [0] https://github.com/opengeogroep/AERIUS-QGIS-plugins/blob/master/ImaerReader/imaer_reader.py#L228 On 07/30/2015 09:20 AM, Raymond Nijssen wrote: Hi Denis, The code is in the ImaerReader plugin in the qgis repo and in github: https://github.com/opengeogroep/AERIUS-QGIS-plugins I'm adding the features one by one. Regards, Raymond On 30-07-15 08:46, Denis Rouzaud wrote: Hi Raymond, Can you show us the code doing this? Do you commit features one by one ar all at once? Best wishes, Denis On 07/29/2015 09:04 AM, Raymond Nijssen wrote: Dear developers, ;) A plugin of mine imports data from a gml file into a memory layer. Works fine for tiny gml files, but takes forever on huge ones. Sounds plausible maybe, but the relation is not linear. So I did did some tests and found out that reading and parsing the gml and creating the features always goes at the same speed of about 400 features a second (fps). But when adding these to my memory layer, the process slows down tremendously. I output the fps for every 1000 features and it gave me this graph: http://terglobo.nl/downloads/memory-layer-performance.png At the end of the importing process I'm processing just 3 features per second. Is this expected behaviour? Is a memory layer not meant for something like this? Or is this a bug? In the source code I found that for every feature I add to a memory layer the index is updated. Could that be inefficient? Hoping anyone can explain! Regards, Raymond signature.asc Description: OpenPGP digital signature ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Nominations for new PSC member - Treasurer
Hi all Please note the important correction for my previous announcement: On 04 Aug 2015, at 23:51, Tim Sutton t...@qgis.org wrote: SWISS Citizen (this is a requirement for establishing a SWISS Verein, which is the basis we will use for creating QGIS.org http://qgis.org/ as a legal entity) So this is NOT a prerequisite. So feel free to nominate persons from any country. The only prerequisite we have for the QGIS.org http://qgis.org/ formation is that one board member is from Swizterland - which is currently taken care of by the fact that we have Marco Hugentobler on the board. Thanks, Tim Sutton QGIS Project Steering Committee Member t...@qgis.org ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QGIS 2.10.1 Pisa - Read CSV file problem
Hi, In my opinion it is quite special to name columns with integer numbers. Not what the average GIS user would do. In my own 2-decade GIS career I never had such an issue. I am not against fixing this issue, but I don't think it is a serious issue. We have many more important issues in QGIS. Andreas On 2015-08-06 07:31, Zoltan Szecsei wrote: Hi Chris, Thanks for the opinion. Do I log this as a bug? Whilst I am quite happy to write a bash script to parse and alter my 500 CSV files, I do feel that this is likely a more serious issue, as it will affect, I assume a lot of, users that load CSV files to join them to their spatial data. Maybe the silence on this is because it either goes unnoticed, or there are many people just doing a work-around. Let me know. Thanks regards, Zoltan On 2015/08/05 02:55, Chris Crook wrote: Hi Zoltan I think this could be classed as an error! The source code rejects field names that look like positive numbers (some digits optionally followed by a period and some more digits). I can't recall a reason why it should do this. It could be reasonable to require field names to be compatible to database attribute names, but I can't see any need for that within QGIS itself. This can go on a 'to-do' list to fix... Cheers Chris -----Original Message----- From: Zoltan Szecsei [mailto:zolt...@geograph.co.za] Sent: Tuesday, 4 August 2015 10:27 p.m. To: Qgis-developer@lists.osgeo.org Subject: [Qgis-developer] QGIS 2.10.1 Pisa - Read CSV file problem Hi, Using the above version on Win 7 64 bit, I read a CSV file (as attributes only) stipulating that first record has field names Record 1 is as follows: SALnum,SALnam,1,2,3,4,5,6,7,8,9,10+ When I open the attribute table, I see that fields 1 2 have names SALnum and SALnam, but the rest are called 'Field_3', 'Field_4' and so on. When I edit record 1 of this CSV file to look like: SALnum,SALnam,1p,2p,3p,4p,5p,6p,7p,8p,9p,10+p The I get the correct field names (albeit 1p instead of just 1) Is this an error, or is there some reason further down the line, that attribute tables cannot have 'numeric' field names? Thanks and regards, Zoltan -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 Fax: +27-86-6115323 www.geograph.co.za [1] === This message contains information, which may be in confidence and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify us immediately (Phone 0800 665 463 or i...@linz.govt.nz) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You. -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 Fax: +27-86-6115323 www.geograph.co.za [1] === ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer [2] Links: -- [1] http://www.geograph.co.za [2] 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] QGIS 2.10.1 Pisa - Read CSV file problem
Hi Chris, Thanks for the opinion. Do I log this as a bug? Whilst I am quite happy to write a bash script to parse and alter my 500 CSV files, I do feel that this is likely a more serious issue, as it will affect, I assume a lot of, users that load CSV files to join them to their spatial data. Maybe the silence on this is because it either goes unnoticed, or there are many people just doing a work-around. Let me know. Thanks regards, Zoltan On 2015/08/05 02:55, Chris Crook wrote: Hi Zoltan I think this could be classed as an error! The source code rejects field names that look like positive numbers (some digits optionally followed by a period and some more digits). I can't recall a reason why it should do this. It could be reasonable to require field names to be compatible to database attribute names, but I can't see any need for that within QGIS itself. This can go on a 'to-do' list to fix... Cheers Chris -Original Message- From: Zoltan Szecsei [mailto:zolt...@geograph.co.za] Sent: Tuesday, 4 August 2015 10:27 p.m. To: Qgis-developer@lists.osgeo.org Subject: [Qgis-developer] QGIS 2.10.1 Pisa - Read CSV file problem Hi, Using the above version on Win 7 64 bit, I read a CSV file (as attributes only) stipulating that first record has field names Record 1 is as follows: SALnum,SALnam,1,2,3,4,5,6,7,8,9,10+ When I open the attribute table, I see that fields 1 2 have names SALnum and SALnam, but the rest are called 'Field_3', 'Field_4' and so on. When I edit record 1 of this CSV file to look like: SALnum,SALnam,1p,2p,3p,4p,5p,6p,7p,8p,9p,10+p The I get the correct field names (albeit 1p instead of just 1) Is this an error, or is there some reason further down the line, that attribute tables cannot have 'numeric' field names? Thanks and regards, Zoltan -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 Fax:+27-86-6115323 www.geograph.co.za === This message contains information, which may be in confidence and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify us immediately (Phone 0800 665 463 or i...@linz.govt.nz) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You. -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. GIS and Photogrammetric Services P.O. Box 7, Muizenberg 7950, South Africa. Mobile: +27-83-6004028 Fax:+27-86-6115323 www.geograph.co.za === ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer