Re: [Qgis-developer] Plugin reorganization (again)
Il 20/12/2011 18:55, Alexander Bruy ha scritto: Hi all, finally I push all changes to master. This include: - new methods to add/remove plugins from Raster menu addPluginToRasterMenu(QString, QAction) removePluginRasterMenu(QString, QAction) Hi Alex. Thanks for this. How about adding a Web category? A number of plugins would fit nicely in there. All the best. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
Il 21/12/2011 08:56, Alessandro Pasotti ha scritto: 1 - are there any plan for making any use of the plugin tags metadata as was planned in Lisbon ? In fact, category==main tag, in a way. All the best. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
2011/12/21 Paolo Cavallini cavall...@faunalia.it: Il 21/12/2011 08:56, Alessandro Pasotti ha scritto: 1 - are there any plan for making any use of the plugin tags metadata as was planned in Lisbon ? In fact, category==main tag, in a way. Not really: tags have absolutely no hierarchy (and no order). -- 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] Symbology: strange behaviour of offset
Hi all. When a rotation is applied to a symbol, the offset is no longer orthogonal, but is along rotated axes. Is this the expected behaviour? Thanks. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] New CRS selector widget: autoselect first item (wrong)
Hi all. The current implementation of the CRS selector is much nicer, but it has a problem: the first item on the list of recent CRSs is always selected automatically when the widget is opened, without the user could notice it, or do anything about. An easy fix. All the best. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] New labelling: options grayed out
Hi all. In the Advanced tab of the new labelling, several options are greyed out (e.g. the option to show colliding labels): why this is so? All the best. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
Hi Paolo, 2011/12/21 Paolo Cavallini cavall...@faunalia.it: Thanks for this. How about adding a Web category? A number of plugins would fit nicely in there. Ok I'll add Web menu (hidden by default, as Database) and toolbar and move OpenStreetMap and Mapserver Export plugins to it. -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin ziplayers: error
Hi all. Consistently got an error when some elements are selected. Thanks. === Errore durante l'esecuzione di codice Python: Traceback (most recent call last): File /home/paolo/.qgis/python/plugins/ziplayers/logic/ziplayerswidget.py, line 61, in __signal_bbMain_clicked self.__createZips(lstIdLayer) File /home/paolo/.qgis/python/plugins/ziplayers/logic/ziplayerswidget.py, line 92, in __createZips lstIdLayer, self.ui.textEditStatus.append, self.__pb) File /home/paolo/.qgis/python/plugins/ziplayers/logic/cziplayers.py, line 222, in createZipLayer self.__createShapefileZip(dirWork, id, nameZip) File /home/paolo/.qgis/python/plugins/ziplayers/logic/cziplayers.py, line 188, in __createShapefileZip self.__zipShapefile(dirWork, fileInfoShape, nameZip) TypeError: __zipShapefile() takes exactly 5 arguments (4 given) Versione Python: 2.7.2+ (default, Nov 30 2011, 22:33:30) [GCC 4.6.2] Versione di QGIS: 1.9.90-Alpha Alpha, 7442047 Percorso Python: ['/home/paolo/.qgis/python/plugins/cswclient', '/home/paolo/.qgis/python/plugins/elevation', '/usr/share/qgis/python', '/home/paolo/.qgis/python', '/home/paolo/.qgis/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '~/.qgis/python', '.', '/home/paolo/.qgis/python/plugins/ziplayers/logic', '/home/paolo/.qgis/python/plugins/ziplayers/gui', '.', '/usr/share/qgis/python/plugins/fTools/tools'] -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
2011/12/21 Alexander Bruy alexander.b...@gmail.com: Hi Alessandro 2011/12/21 Alessandro Pasotti apaso...@gmail.com: I'm not sure I got it right, does this metadata also apply to python plugins ? Yes, this metadata applied to all plugins: Python and C++ A few questions arise in this case: 1 - are there any plan for making any use of the plugin tags metadata as was planned in Lisbon ? Unfortunately I miss Lisbon meeting and can't find any page with results of this discussion. I think we anyway should review QGIS plugin system and make it more user friendly and improve it's usability. Alexander, I completely agree about the need of better plugins organization in the QGIS client, in Lisbon we discussed (IIRC Boris and Tim were most involved in this topic) and decided to add tags to cassify plugins. Tags have been implemented in the new plugin app ( plugins.qgis.org ) since june 2011. There were some discussions concerning plugin tags on this list during the last few months and weeks, you can find some specs about the plugins metadata here: https://github.com/qgis/qgis-django/blob/master/qgis-app/plugins/docs/introduction.rst tags are just a space-separated list of words. I'm not against hierarchy-based (category) classification in principle, but I'm reluctant to throw away a considerable amount of work already done in the web application to support tags and implement a brand new classification system for plugins (which will require another fair good amount of work). 2 - the new optional category metadata can be any value or the choice will be a limited set (vector databases etc.) There is no limitations, but as this metadata now used to inform users where to find plugin I suggest to limit available values with currently available menu/toolbar entries. Can you please provide a list of the permitted values ? What do you think we should do when a user uploads a plugin with an invalid category (ignore, warn, abort) ? 3 - do you think that the category will ever be a tree data structure or it will always be a flat list ? Well, I think something like tree with categories (and maybe subcategories) and filtering capabilities will be nice. Also it will be good to move plugin to the proper menu/toolbar automatically, not using hardcoded destination. Talking about the new plugin web application, I'm a bit confused about what to do at this point: adding a category text field and keeping tags is the easiest solution (with potential problems with typos in the category and no validation possible) , but other options are possible: * throw away tags * implement a MPTT tree-like category structure, in this case an invalid category will abort the plugin upload * implement the category as a FK relation from the plugin table and use a flat list for categories in any case, the category should become the main navigation system for plugins in the web app and this is also not trivial. -- Alessandro Pasotti w3: www.itopen.it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin ziplayers: error
it usually give this error with whatever vector is not a shapefile (postgis, in memory, etc.) -- Giovanni -- On Wed, 2011-12-21 at 10:07 +0100, Paolo Cavallini wrote: Hi all. Consistently got an error when some elements are selected. Thanks. === Errore durante l'esecuzione di codice Python: Traceback (most recent call last): File /home/paolo/.qgis/python/plugins/ziplayers/logic/ziplayerswidget.py, line 61, in __signal_bbMain_clicked self.__createZips(lstIdLayer) File /home/paolo/.qgis/python/plugins/ziplayers/logic/ziplayerswidget.py, line 92, in __createZips lstIdLayer, self.ui.textEditStatus.append, self.__pb) File /home/paolo/.qgis/python/plugins/ziplayers/logic/cziplayers.py, line 222, in createZipLayer self.__createShapefileZip(dirWork, id, nameZip) File /home/paolo/.qgis/python/plugins/ziplayers/logic/cziplayers.py, line 188, in __createShapefileZip self.__zipShapefile(dirWork, fileInfoShape, nameZip) TypeError: __zipShapefile() takes exactly 5 arguments (4 given) Versione Python: 2.7.2+ (default, Nov 30 2011, 22:33:30) [GCC 4.6.2] Versione di QGIS: 1.9.90-Alpha Alpha, 7442047 Percorso Python: ['/home/paolo/.qgis/python/plugins/cswclient', '/home/paolo/.qgis/python/plugins/elevation', '/usr/share/qgis/python', '/home/paolo/.qgis/python', '/home/paolo/.qgis/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '~/.qgis/python', '.', '/home/paolo/.qgis/python/plugins/ziplayers/logic', '/home/paolo/.qgis/python/plugins/ziplayers/gui', '.', '/usr/share/qgis/python/plugins/fTools/tools'] -- Paolo Cavallini See: http://www.faunalia.it/pc ___ 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] Save edits button on table
Hi all. Apparently, the button to save edits is missing from the table widget on 1.7.3, at least on win: anyone confirms? Thanks. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin ziplayers: error
Il 21/12/2011 10:15, Giovanni Manghi ha scritto: it usually give this error with whatever vector is not a shapefile (postgis, in memory, etc.) in our case, it is a shp -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] checkbox table widget writing on the left column
Il 07/12/2011 10:56, Paolo Cavallini ha scritto: Il 05/12/2011 17:22, Paolo Cavallini ha scritto: Hi all. When choosing the checkbox table editing or the calendar, the values are displayed in the neighbouring field. When doing calculations,often NULLs are displayed (but correct values are saved in the field). I suspect something in the table display has been broken very recently. Any confirmation? Thanks One more, probably related, issue: adding a field with Field caluculator, with the expression $rownum results in all NULLs. A recent regression, possibly due to table redesign? All the best. I confirm: checkboxes and value map do not work proprerly. Values inserted are not show correctly, even if they are written. All the best. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] checkbox table widget writing on the left column
I confirm: checkboxes and value map do not work proprerly. Values inserted are not show correctly, even if they are written. Are you using a docked table of attributes? I found that strange things happen when the table is docked... cheers -- Giovanni -- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
2011/12/21 Alessandro Pasotti apaso...@gmail.com: Can you please provide a list of the permitted values ? Here is it: Vector, Raster, Database, Web, Plugins, Layers. Maybe in future we will have other values of drop them all in favor of searchable tree. What do you think we should do when a user uploads a plugin with an invalid category (ignore, warn, abort) ? I think we should issue warning and suggest to fix category Talking about the new plugin web application, I'm a bit confused about what to do at this point: adding a category text field and keeping tags is the easiest solution (with potential problems with typos in the category and no validation possible) , but other options are possible: * throw away tags * implement a MPTT tree-like category structure, in this case an invalid category will abort the plugin upload * implement the category as a FK relation from the plugin table and use a flat list for categories in any case, the category should become the main navigation system for plugins in the web app and this is also not trivial. Here I agree with Richard 2011/12/21 Richard Duivenvoorde rdmaili...@duif.net: Agreed, but are tags and categories not two different beasts.? Tags are just usefull searchable free terms which can be used for mental grouping of plugins (eg I specially tagged the xytools with 'excel' because one user said that this off course was not very obvious from the name). Categories are a very small fixed(!) set of (not yet hierarchical) terms, to be used to place the plugin in a menu item. I also think tags and categories two different lists. Tags are used for search and categories for placing in right location. I think Alexanders plan to make it possible to 'place' your plugin in a certain menu is great, and having tags to be used for a filter/search is also good. -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] checkbox table widget writing on the left column
Il 21/12/2011 10:45, Giovanni Manghi ha scritto: I confirm: checkboxes and value map do not work proprerly. Values inserted are not show correctly, even if they are written. Are you using a docked table of attributes? I found that strange things happen when the table is docked... non docked thanks also, I confirm the problem with field calc filling up with NULLs instead of calculation results -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
2011/12/21 Alexander Bruy alexander.b...@gmail.com: 2011/12/21 Alessandro Pasotti apaso...@gmail.com: Can you please provide a list of the permitted values ? Here is it: Vector, Raster, Database, Web, Plugins, Layers. Maybe in future we will have other values of drop them all in favor of searchable tree. What do you think we should do when a user uploads a plugin with an invalid category (ignore, warn, abort) ? I think we should issue warning and suggest to fix category Talking about the new plugin web application, I'm a bit confused about what to do at this point: adding a category text field and keeping tags is the easiest solution (with potential problems with typos in the category and no validation possible) , but other options are possible: * throw away tags * implement a MPTT tree-like category structure, in this case an invalid category will abort the plugin upload * implement the category as a FK relation from the plugin table and use a flat list for categories in any case, the category should become the main navigation system for plugins in the web app and this is also not trivial. Here I agree with Richard 2011/12/21 Richard Duivenvoorde rdmaili...@duif.net: Agreed, but are tags and categories not two different beasts.? Tags are just usefull searchable free terms which can be used for mental grouping of plugins (eg I specially tagged the xytools with 'excel' because one user said that this off course was not very obvious from the name). Categories are a very small fixed(!) set of (not yet hierarchical) terms, to be used to place the plugin in a menu item. I also think tags and categories two different lists. Tags are used for search and categories for placing in right location. I think Alexanders plan to make it possible to 'place' your plugin in a certain menu is great, and having tags to be used for a filter/search is also good. -- Alexander Bruy Ok, so we need a list of valid category values. Additionally, there must be a place where the specifications for the plugin metadata structure is maintained. AFAIK the most up-to-date source of information is the page on github https://github.com/qgis/qgis-django/blob/master/qgis-app/plugins/docs/introduction.rst Are there any other places ? Can we keep the informations there or move them to a better place ? Options: * gihub docs * the wiki * the new plugin web app (on a static page) Also: the list of valid category values must be added to the specs and a pointer must be provided when the user uploads a plugin with the wrong/empty category metadata. -- Alessandro Pasotti w3: www.itopen.it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
On 2011-12-21 11:11, Alessandro Pasotti wrote: Additionally, there must be a place where the specifications for the plugin metadata structure is maintained. AFAIK the most up-to-date source of information is the page on github https://github.com/qgis/qgis-django/blob/master/qgis-app/plugins/docs/introduction.rst Are there any other places ? * gihub docs * the wiki * the new plugin web app (on a static page) All is fine, but keep them with there implementation now, I would think. I point to there in wiki: http://hub.qgis.org/wiki/quantum-gis/Writing_Python_Plugins#Creating-necessary-files R ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
2011/12/21 Alessandro Pasotti apaso...@gmail.com: Ok, so we need a list of valid category values. 2011/12/21 Alexander Bruy alexander.b...@gmail.com: 2011/12/21 Alessandro Pasotti apaso...@gmail.com: Can you please provide a list of the permitted values ? Here is it: Vector, Raster, Database, Web, Plugins, Layers. Maybe in future we will have other values of drop them all in favor of searchable tree. -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
Am 21.12.2011 11:11, schrieb Alessandro Pasotti: [snip] Ok, so we need a list of valid category values. Additionally, there must be a place where the specifications for the plugin metadata structure is maintained. AFAIK the most up-to-date source of information is the page on github https://github.com/qgis/qgis-django/blob/master/qgis-app/plugins/docs/introduction.rst Are there any other places ? Can we keep the informations there or move them to a better place ? Options: * gihub docs * the wiki * the new plugin web app (on a static page) Also: the list of valid category values must be added to the specs and a pointer must be provided when the user uploads a plugin with the wrong/empty category metadata. Hello! I do not want to make things more complicated and I am not a developer, but in future I might write the one or the other plugin and additionally, there is an old idea of an Ecological Toolbox floating around (http://hub.qgis.org/wiki/quantum-gis/Ecology_Tools): If there is a plugin which might be more of a small application by itself (but not big enough for a standalone app) and therefore does not fit into the basic GIS/technical groups of raster, vector... and needs several sub-menu items, will it be still be possible to give this plugin its own menu? Sticking to the example of this ecological toolbox, I think it would be the best solution to give it an own menu with submenus: Ecological Toolbox - Niche modelling - Landscape metrics - ... and that should still be possible, so for clarification: Will this still possible? kind regards, Albin -- | Albin Blaschka, Mag.rer.nat. | Etrichstrasse 26, A-5020 Salzburg | * www.albinblaschka.info * www.thinkanimal.info * | - It's hard to live in the mountains, hard but not hopeless! ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
2011/12/21 Richard Duivenvoorde rdmaili...@duif.net: On 2011-12-21 11:11, Alessandro Pasotti wrote: Additionally, there must be a place where the specifications for the plugin metadata structure is maintained. AFAIK the most up-to-date source of information is the page on github https://github.com/qgis/qgis-django/blob/master/qgis-app/plugins/docs/introduction.rst Are there any other places ? * gihub docs * the wiki * the new plugin web app (on a static page) All is fine, but keep them with there implementation now, I would think. Sorry, but having the same information duplicated in several places is not fine: it's a mess. We must decide where the specifications are and who makes changes or additions (like alexbruy for the category metadata in this case) must update the master specifications and warn the other involved developers to be sure they don't miss the update (for example: Gary should also take this category into account for his plugin builder). Other documents should only provide a pointer to the master specifications. I point to there in wiki: http://hub.qgis.org/wiki/quantum-gis/Writing_Python_Plugins#Creating-necessary-files It's fine for me to keep the master specifications on the wiki, I see it is already in sync with the specs on github, right ? -- Alessandro Pasotti w3: www.itopen.it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugin reorganization (again)
On 2011-12-21 11:32, Alessandro Pasotti wrote: Additionally, there must be a place where the specifications for the plugin metadata structure is maintained. AFAIK the most up-to-date source of information is the page on github https://github.com/qgis/qgis-django/blob/master/qgis-app/plugins/docs/introduction.rst All is fine, but keep them with there implementation now, I would think. Sorry, but having the same information duplicated in several places is not fine: it's a mess. It's fine for me to keep the master specifications on the wiki, I see it is already in sync with the specs on github, right ? I meant actually: keep your page on github as first source/master specification, eg the wiki is pointing to there. Only thing I duplicated was the metadata.txt example (which indeed would have been updated), but I think that is the 'problem' with all documentation. But if you prefer to put it somewhere in the wiki, that is fine too. But it deserves it's own page, and not being part of the Writing_Python_Plugins page... (but we will have a partial copy there anyway.. I think) Richard ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Symbol properties dialog from plugin
Hi all, I wonder if there is a way of launching the symbol properties dialog (the one in the right of this image http://wiki.gfoss.it/images/Symbol_properties_random.jpg ) from a python script. My idea is to allow the user to edit a symbol for a mRubberBand. I would launch a method symbolDialog with my current symbol as argument and get the new edited one. Is there a way of doing this? Or, is it stupid to do so and what would be the other way around? Thanks a lot. Greetings, Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Symbol properties dialog from plugin
Hi Denis You can use the class QgsSymbolV2PropertiesDialog and pass existing symbol and vector layer in constructor. Afaik the symbol will be changed directly, however it is possible to make a backup with clone(). Regards, Marco On 21.12.2011 13:40, Denis Rouzaud wrote: Hi all, I wonder if there is a way of launching the symbol properties dialog (the one in the right of this image http://wiki.gfoss.it/images/Symbol_properties_random.jpg ) from a python script. My idea is to allow the user to edit a symbol for a mRubberBand. I would launch a method symbolDialog with my current symbol as argument and get the new edited one. Is there a way of doing this? Or, is it stupid to do so and what would be the other way around? Thanks a lot. Greetings, Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Churerstrasse 22, CH-8808 Pfäffikon SZ, 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] WMS Error when accessing layer properties
Did anyone else manage to get the same error loading the WMS feed I supplied? Does anyone know how I can make a WMS layer grayscale without being able to get into the layer properties dialog? James Stott BSc (Hons) MSc | Senior Professional Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN T: 01225 445548 | M: - http://www.npaconsult.co.uk/ -Original Message- From: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of James Stott Sent: 19 December 2011 16:14 To: giovanni.man...@gmail.com; rich...@duif.net Cc: qgis-developer@lists.osgeo.org; Ivan Mincik Subject: RE: [Qgis-developer] WMS Error when accessing layer properties I get an error on QGIS 1.9 on OSGeo4W. It errors on this publically available WMS feed: http://gis.nbn.org.uk/arcgis/rest/services/grids/SingleSpeciesMap/NHMSYS080214/WMSServer?VERSION=1.3.0BBOX=0,0,70,90WIDTH=640; HEIGHT=640TRANSPARENT=trueCRS=EPSG:27700 It errors on both right click and double click. I also am getting problems with another WMS feed but I am unavailable to provide the link to that. James James Stott BSc (Hons) MSc | Senior Professional Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN T: 01225 445548 | M: - http://www.npaconsult.co.uk/ -Original Message- From: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Giovanni Manghi Sent: 19 December 2011 15:14 To: rich...@duif.net Cc: qgis-developer@lists.osgeo.org; Ivan Mincik Subject: Re: [Qgis-developer] WMS Error when accessing layer properties Me neither a20cec3 on Ubuntu Natty. Both ways work. Is it a public service? Can we try that service? in my linux and windows installations it crashes with any kind of local (qgis-server, mapserver)/remote WMS servers. I removed also any python plugin just to be sure something it was interfering. cheers -- Giovanni -- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp http://www.npaconsult.co.uk/terms.asp This Electronic Transmission is intended only for the attention of the addressee. It may contain privileged and confidential information. If you are not the person for whom it is intended, you must not copy, distribute or take any action in reliance on it. If you have received this electronic transmission in error please notify us immediately by telephone, delete the transmission and destroy any hard copies. Nicholas Pearson Associates has used all reasonable efforts to ensure that this message and any attachments are free from viruses. Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/ ___ 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] Add delimited text files plugin
Hi all. I noticed a couple of strange things in the plugin: - the name of the layer is now blank, both in 1.7.3 and in master (it was automatically filled with filename until recently) - at least in the IT translation, the option skip first lines is wrong: it says skip columns in 1.7.3 (wrong) and skip rows in master (correct). Aren't translations updated? All the best. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
RE: [Qgis-developer] WMS Error when accessing layer properties
On Wed, 2011-12-21 at 12:58 +, James Stott wrote: Did anyone else manage to get the same error loading the WMS feed I supplied? not today with qgis-master and your WMS server, but I still get crashes with local qgis-server layers or other WMS servers like http://mapas.igeo.pt/wms/crif http://mapas.igeo.pt/tilecache/tilecache.py cheers -- Giovanni -- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] WMS Error when accessing layer properties
On 2011-12-21 13:58, James Stott wrote: Did anyone else manage to get the same error loading the WMS feed I supplied? Yes, I succeeded Does anyone know how I can make a WMS layer grayscale without being able to get into the layer properties dialog? Nope, and I did not know that this should be possible anyway for a wms (please show me if it IS possible). Should this not be a WMS style? Regards Richard ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
RE: [Qgis-developer] WMS Error when accessing layer properties
It still won't work on Windows (OSGeo4W - updated this morning to 1.9.90-25). I was hoping that I could somehow edit the project file to set it to grayscale. But I can't even test if I can set a WMS to grayscale as I cannot get into any WMS feeds properties. James Stott BSc (Hons) MSc | Senior Professional Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN T: 01225 445548 | M: - http://www.npaconsult.co.uk/ -Original Message- From: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Richard Duivenvoorde Sent: 21 December 2011 13:20 To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] WMS Error when accessing layer properties On 2011-12-21 13:58, James Stott wrote: Did anyone else manage to get the same error loading the WMS feed I supplied? Yes, I succeeded Does anyone know how I can make a WMS layer grayscale without being able to get into the layer properties dialog? Nope, and I did not know that this should be possible anyway for a wms (please show me if it IS possible). Should this not be a WMS style? Regards Richard ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp http://www.npaconsult.co.uk/terms.asp This Electronic Transmission is intended only for the attention of the addressee. It may contain privileged and confidential information. If you are not the person for whom it is intended, you must not copy, distribute or take any action in reliance on it. If you have received this electronic transmission in error please notify us immediately by telephone, delete the transmission and destroy any hard copies. Nicholas Pearson Associates has used all reasonable efforts to ensure that this message and any attachments are free from viruses. Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Applying qml causes qgis to crash
Dear list When I try to apply a qml file to a new vector file (of the same type), it crashes QGIS: Fatal: ASSERT: pfi.exists() in file /build/buildd/qgis-1.7.3/src/core/qgsproject.cpp, line 1382 Aborted QGIS 1.7.3 using new symbology Ubuntu 10.04 Cheers Saber ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] compiling fail
Hi devs, I don't understand but I cannot compile from source (trunk and 1.7.3) on a Debian stable, the error is here [0] any hint? [0] http://pastebin.com/fwL2MjfV -- 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] WMS Error when accessing layer properties
On Wed, Dec 21, 2011 at 4:24 PM, James Stott james.st...@npaconsult.co.uk wrote: It still won't work on Windows (OSGeo4W - updated this morning to 1.9.90-25). I was hoping that I could somehow edit the project file to set it to grayscale. But I can't even test if I can set a WMS to grayscale as I cannot get into any WMS feeds properties. Maybe You can provide some debug output and gdb backtrace to help devs to understand the problem. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Save edits button on table
On 21/12/2011, at 17:28 , Paolo Cavallini wrote: Hi all. Apparently, the button to save edits is missing from the table widget on 1.7.3, at least on win: anyone confirms? Thanks. Paolo, do you mean on the dialogue from layer - open attribute table? If so, I don't recall it being there in 1.6 either. It's certainly not been there for 1.7.x Isn't the save edits button on the main screen new-ish itself, dating from about 1.6? Prior to that we were expected to toggle the edit button off and on. Now we've got the save edits button on the main screen it seems obvious that there should be one on the attributes table - if it's not a real estate issue. An easy wish list item? -ramon.___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] checkbox table widget writing on the left column
On 21/12/2011, at 17:45 , Giovanni Manghi wrote: I confirm: checkboxes and value map do not work proprerly. Values inserted are not show correctly, even if they are written. Are you using a docked table of attributes? I found that strange things happen when the table is docked... cheers -- Giovanni -- For me, it's if the attributes are open (and not just docked) while I'm editing the layer. Then it's very likely that the rows/objects that are edited and unsaved will display strangely. -ramon. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Add delimited text files plugin
On 21/12/2011, at 21:08 , Paolo Cavallini wrote: Hi all. I noticed a couple of strange things in the plugin: - the name of the layer is now blank, both in 1.7.3 and in master (it was automatically filled with filename until recently) I can't confirm that one. Could it be limited to the translations, like the Start import at row problem below? -ramon. - at least in the IT translation, the option skip first lines is wrong: it says skip columns in 1.7.3 (wrong) and skip rows in master (correct). Aren't translations updated? All the best. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Symbol properties dialog from plugin
Thanks Marco, that worked! I first create a symbol using self.symbol = QgsLineSymbolV2() And then I can edit it using QgsSymbolV2PropertiesDialog(self.symbol,self.layer).exec_() There is only one concern, the rubber band does not accept a full symbol, only a width and a color. Is there a reason for that? BTW, I just applied to this list, and I don't really know how to answer emails as I checked the daily digest option. Does anyone has a tip? Thanks again, Greetings, Denis Hi Denis You can use the class QgsSymbolV2PropertiesDialog and pass existing symbol and vector layer in constructor. Afaik the symbol will be changed directly, however it is possible to make a backup with clone(). Regards, Marco ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Save edits button on table
Il 21/12/2011 22:33, Ramon Andiñach ha scritto: Paolo, do you mean on the dialogue from layer - open attribute table? Yes. If so, I don't recall it being there in 1.6 either. It's certainly not been there for 1.7.x It is there in master - so, a new (and welcome) feature. Thanks. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer