[Qgis-developer] Running QGIS in RHEL
Hi, While running the QGIS in RHEL error is coming even after successful compilation of qgis. qgis:error while loading shared libraries: libqwt.so.6:cannot open shared object file:No such file or directory. But qwt6.0 is successfully installed in my pc in the bath /usr/local/qwt-6.0. And same path I have passed to cmake for compiling the qgis1.8. Guide me. Thanks, Sugandha Every 3000 Sheets of paper costs us a tree.. Save trees... Conserve Trees. Don't print this email or any Files unless you really need to Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Bharat Electronics or supp...@bel.co.in immediately and destroy all copies of this message and any attachments. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Brighton HF preparation
Hi Vincent, Have you added your names to the wiki? Today is the deadline if you'd like me to book your stay at Ibis. http://hub.qgis.org/wiki/quantum-gis/10_QGIS_Developer_Meeting_in_Brighton_2013 Cheers, Saber -Original Message- From: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Vincent Mora Sent: 01 August 2013 09:11 To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Brighton HF preparation We will be 2 from Oslandia this year. Cheers, Vincent On 23/07/2013 10:16, Saber Razmjooei wrote: Ibis is very close to the station and has just opened! There are nice bars around for breakfast. Cheers Saber Jürgen E. Fischer j...@norbit.de wrote: Hi Paolo, On Tue, 23. Jul 2013 at 08:25:27 +0200, Paolo Cavallini wrote: * it would be good if we stay at the same hotel, so logistics is easy, and contacts are maximised: can we agree on one? IBIS (like in Lisboa)? ~330 EUR per room for 4 nights excl. breakfast. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de committ(ed|ing) to QGISIRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Whilst reasonable care has been taken to avoid virus transmission, no responsibility for viruses is taken and it is your responsibility to carry out such checks as you feel appropriate. Saber Razmjooei and Peter Wells trading as Lutra Consulting ___ 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
[Qgis-developer] Panel Browser is doubled?
Hi, I have two browser panels available here , is that related to my install or config? They are named Browser and Browser (2). Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Panel-Browser-is-doubled-tp5070165.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] Panel Browser is doubled?
I have this as well. Installed via OSGeo4W. -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Régis Haubourg Sendt: 1. august 2013 12:10 Til: qgis-developer@lists.osgeo.org Emne: [Qgis-developer] Panel Browser is doubled? Hi, I have two browser panels available here , is that related to my install or config? They are named Browser and Browser (2). Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Panel-Browser-is-doubled-tp5070165.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] Panel Browser is doubled?
This was added as a feature so you can you drag and drop between them. Sent from some fancy phone looking thingo From: Stott James Sent: 1/08/2013 8:18 PM To: Régis Haubourg; qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Panel Browser is doubled? I have this as well. Installed via OSGeo4W. -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Régis Haubourg Sendt: 1. august 2013 12:10 Til: qgis-developer@lists.osgeo.org Emne: [Qgis-developer] Panel Browser is doubled? Hi, I have two browser panels available here , is that related to my install or config? They are named Browser and Browser (2). Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Panel-Browser-is-doubled-tp5070165.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 mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Panel Browser is doubled?
Oh, I hadn't seen that , sorry for the noise. I think, we maybe will have to describe it in docs, and why not add a startup tooltip. Not sure users will guess that alone. Drag 'n Drop inside the same browser would be convenient for the future (with a drodown menu asking if user want to copy or move files after drag and drop action..) Nothing urgent anyway. Régis -Message d'origine- De : Nathan Woodrow [mailto:madman...@gmail.com] Envoyé : jeudi 1 août 2013 12:36 À : Stott James; HAUBOURG; qgis-developer@lists.osgeo.org Objet : RE: [Qgis-developer] Panel Browser is doubled? This was added as a feature so you can you drag and drop between them. Sent from some fancy phone looking thingo From: Stott James Sent: 1/08/2013 8:18 PM To: Régis Haubourg; qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Panel Browser is doubled? I have this as well. Installed via OSGeo4W. -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Régis Haubourg Sendt: 1. august 2013 12:10 Til: qgis-developer@lists.osgeo.org Emne: [Qgis-developer] Panel Browser is doubled? Hi, I have two browser panels available here , is that related to my install or config? They are named Browser and Browser (2). Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Panel-Browser-is-doubled- tp5070165.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 mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Panel Browser is doubled?
Drag and Drop already works in the same browser for importing into the different database types e.g drag a shp file into postgis and it will import. - Nathan On Thu, Aug 1, 2013 at 8:58 PM, HAUBOURG regis.haubo...@eau-adour-garonne.fr wrote: Oh, I hadn't seen that , sorry for the noise. I think, we maybe will have to describe it in docs, and why not add a startup tooltip. Not sure users will guess that alone. Drag 'n Drop inside the same browser would be convenient for the future (with a drodown menu asking if user want to copy or move files after drag and drop action..) Nothing urgent anyway. Régis -Message d'origine- De : Nathan Woodrow [mailto:madman...@gmail.com] Envoyé : jeudi 1 août 2013 12:36 À : Stott James; HAUBOURG; qgis-developer@lists.osgeo.org Objet : RE: [Qgis-developer] Panel Browser is doubled? This was added as a feature so you can you drag and drop between them. Sent from some fancy phone looking thingo From: Stott James Sent: 1/08/2013 8:18 PM To: Régis Haubourg; qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Panel Browser is doubled? I have this as well. Installed via OSGeo4W. -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Régis Haubourg Sendt: 1. august 2013 12:10 Til: qgis-developer@lists.osgeo.org Emne: [Qgis-developer] Panel Browser is doubled? Hi, I have two browser panels available here , is that related to my install or config? They are named Browser and Browser (2). Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Panel-Browser-is-doubled- tp5070165.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 mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] WFS Client skipping features?
I'm not seeing this. My WFS is GeoServer 2.3.4. I've tried several layers and they're all showing the right feature count. Are you certain it's the client that's skipping? Jonathan On 31 July 2013 18:27, Giovanni Manghi giovanni.man...@faunalia.pt wrote: I am testing QGIS desktop WFS client against a QGIS WFS server and see that the client is skipping features - quite a lot in fact. The server part seems to be fine as I can get all features to display when using FME viewer as a client. Do others have similar issues? Are there open bugs on the WFS client regarding this? Any tips what I can do? Any hidden settings for limiting the number of features? I had files a ticket about a similar issue http://hub.qgis.org/issues/8287 is the same issue or another one? cheers! ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Panel Browser is doubled?
So, moving file to file and database to file is missing within one browser ? .. maybe interesting for 2.1 - 2.2 .. De : Nathan Woodrow [mailto:madman...@gmail.com] Envoyé : jeudi 1 août 2013 13:02 À : HAUBOURG Cc : Stott James; qgis-developer@lists.osgeo.org Objet : Re: [Qgis-developer] Panel Browser is doubled? Drag and Drop already works in the same browser for importing into the different database types e.g drag a shp file into postgis and it will import. - Nathan On Thu, Aug 1, 2013 at 8:58 PM, HAUBOURG regis.haubo...@eau-adour-garonne.frmailto:regis.haubo...@eau-adour-garonne.fr wrote: Oh, I hadn't seen that , sorry for the noise. I think, we maybe will have to describe it in docs, and why not add a startup tooltip. Not sure users will guess that alone. Drag 'n Drop inside the same browser would be convenient for the future (with a drodown menu asking if user want to copy or move files after drag and drop action..) Nothing urgent anyway. Régis -Message d'origine- De : Nathan Woodrow [mailto:madman...@gmail.commailto:madman...@gmail.com] Envoyé : jeudi 1 août 2013 12:36 À : Stott James; HAUBOURG; qgis-developer@lists.osgeo.orgmailto:qgis-developer@lists.osgeo.org Objet : RE: [Qgis-developer] Panel Browser is doubled? This was added as a feature so you can you drag and drop between them. Sent from some fancy phone looking thingo From: Stott James Sent: 1/08/2013 8:18 PM To: Régis Haubourg; qgis-developer@lists.osgeo.orgmailto:qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Panel Browser is doubled? I have this as well. Installed via OSGeo4W. -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.orgmailto:qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.orgmailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Régis Haubourg Sendt: 1. august 2013 12:10 Til: qgis-developer@lists.osgeo.orgmailto:qgis-developer@lists.osgeo.org Emne: [Qgis-developer] Panel Browser is doubled? Hi, I have two browser panels available here , is that related to my install or config? They are named Browser and Browser (2). Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Panel-Browser-is-doubled- tp5070165.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.orgmailto:Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.orgmailto: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] Panel Browser is doubled?
Hi, On Thu, 01. Aug 2013 at 21:02:08 +1000, Nathan Woodrow wrote: Drag and Drop already works in the same browser for importing into the different database types e.g drag a shp file into postgis and it will Having two browsers just allows to dd between to distant points in the tree without having to scroll back an forth. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de committ(ed|ing) to QGISIRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Panel Browser is doubled?
File to File or Database to file is missing for anything. Having two browser is useful for dragging a file into a database if you are deep within a folder tree. Doing this with one browser is a pain. I have some ideas on how to improve this in 2.1 and 2.2 - Nathan On Thu, Aug 1, 2013 at 10:04 PM, HAUBOURG regis.haubo...@eau-adour-garonne.fr wrote: ** ** So, moving file to file and database to file is missing within one browser ? .. maybe interesting for 2.1 – 2.2 .. ** ** *De :* Nathan Woodrow [mailto:madman...@gmail.com] *Envoyé :* jeudi 1 août 2013 13:02 *À :* HAUBOURG *Cc :* Stott James; qgis-developer@lists.osgeo.org *Objet :* Re: [Qgis-developer] Panel Browser is doubled? ** ** Drag and Drop already works in the same browser for importing into the different database types e.g drag a shp file into postgis and it will import. ** ** - Nathan ** ** On Thu, Aug 1, 2013 at 8:58 PM, HAUBOURG regis.haubo...@eau-adour-garonne.fr wrote: Oh, I hadn't seen that , sorry for the noise. I think, we maybe will have to describe it in docs, and why not add a startup tooltip. Not sure users will guess that alone. Drag 'n Drop inside the same browser would be convenient for the future (with a drodown menu asking if user want to copy or move files after drag and drop action..) Nothing urgent anyway. Régis -Message d'origine- De : Nathan Woodrow [mailto:madman...@gmail.com] Envoyé : jeudi 1 août 2013 12:36 À : Stott James; HAUBOURG; qgis-developer@lists.osgeo.org Objet : RE: [Qgis-developer] Panel Browser is doubled? This was added as a feature so you can you drag and drop between them. Sent from some fancy phone looking thingo From: Stott James Sent: 1/08/2013 8:18 PM To: Régis Haubourg; qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Panel Browser is doubled? I have this as well. Installed via OSGeo4W. -Opprinnelig melding- Fra: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne av Régis Haubourg Sendt: 1. august 2013 12:10 Til: qgis-developer@lists.osgeo.org Emne: [Qgis-developer] Panel Browser is doubled? Hi, I have two browser panels available here , is that related to my install or config? They are named Browser and Browser (2). Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Panel-Browser-is-doubled- tp5070165.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 mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Panel Browser is doubled?
On Thu, Aug 1, 2013 at 2:13 PM, Nathan Woodrow madman...@gmail.com wrote: File to File or Database to file is missing for anything. Having two browser is useful for dragging a file into a database if you are deep within a folder tree. Doing this with one browser is a pain. I have some ideas on how to improve this in 2.1 and 2.2 I have to say I also got confused at first when I have seen Browser (2). Maybe it would be more sensible to allow horizontal split within the browser panel in order to get two independent views (a feature common in various text editors). Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Redmine: projects in wrong place
Hi all, there are two new projects in QGIS redmine [0, 1] that are top-level items, while both should be under User plugins. Can anyone fix this? [0] http://hub.qgis.org/projects/reloader [1] http://hub.qgis.org/projects/selectools01 Thanks -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] [SoC] Resource Sharing in QGIS - Weekly Report #6
Hello, Thank you for the ideas. And Borys, your idea does make me question a lot of things and the approach I have taken. As far as the symbols go, I think I am on the right side with server side filtering. But when we move towards more complicated stuff with votes, and versioning, it does makes sense to have a local cache of meta-data to do the filtering. I guess I will have to think more about this and figure out the distinction and the way through it. Thank you for giving me the other way to do. On 8/1/13, Victor Olaya vola...@gmail.com wrote: From the point of view of SEXTANTE, I like the idea of having a library that other developers can use to get access to the sharing platform. Just make sure that the library is well-documented and to provide an example case for a given resource, so other people can use that as a model to implement the same functionality from their own resources. In the case of SEXTANTE, models, script and R scripts look like the most interesting ones to share, and if the library is ready and working fine, that could be directly implemented in the SEXTANTE toolbox, so it can be populateed with resources from the sharing platform. Feel free to ask me in case you want more information about this, so as to have a good overview of what we users of your library would like to have to make our work easier. Keep up the good work! Cheers Victor 2013/7/31 Borys Jurgiel li...@borysjurgiel.pl: Dnia środa, 31 lipca 2013 o 19:21:08 arunthe...@gmail.com napisał(a): Hello, Sorry for the late reply. With respect to the types of resources, I had symbols, symbology style sheets, plugins, script runner scripts, sextante models, and if possible print composer templates. But the basic idea is not to create a GUI for all of these or change the existing ones like the plugins downloader, that is already present. My idea is to create the remote infrastructure (server - qgis-django) with the required API and write the basic backend library for the Quantum-GIS desktop application. Then the desktop application API can be used at respective places, wherever required. Sure. I mentioned the GUI issue,as I find it probably the most divergent part. All the rest (API for up/downloading, voting etc, qgs classes for storing metadata and handling communication, and the django part) could be probably easily unified... However look two paragraphs further. When I wrote the proposal, initially I had the idea to write a single plugin, perhaps in Python to show-case the idea. But presently I think writing the backend code in the core library would be more helpful than a single plugin for a particular resource. Basic working is downloading - validating - initiating integration. This is common to any resource we might share. Exactly. The present code with the QgsSymbolResource class in my gsoc13 branch is an example of the above mentioned methodology with GUI integration done in the Symbol Import Dialog. So you used server-side filtering. My approach is different. First download metadata of all available and installed plugins to a metadata registry, then process it (filter, sort etc) locally. The metadata registry is just a nested QMap: QMap QString plugin_id, QMap QString property, QString value Did you considered such approach? And if so, what downsides you see? I'm afraid for plugins it's the only solution, because of metadata complexity [1] and the need of finding updates at startup. For styles, it looks like an overkill at this stage, however, if you'd like to implement filtering/sorting by votes or versioning/updating (like in plugins) in the future, I encourage you to consider refactoring the idea unless it's too late :-) Instead of simple QMap of QMaps, there could be also some dedicated classes: QgsAbstractMetadataRegistry ( containing a map of QgsAbstractMetadata ) QgsPluginMetadataRegistry ( containing a map of QgsPluginMetadata) QgsSymbolMetadataRegistry ( containing a map of QgsSymbolMetadata) etc. The QgsAbstractMetadataRegistry class could contain methods for fetching, downloading, uploading, voting etc. If you prefer to stay with your approach, probably the currently implemented core part of the installer has to remain separated, however, auhentication/upload/voting API probably can be shared. I'm not very familiar with the existing repository django app though. I hope I didn't drive you mad with this idea of refactoring ;-)) Regards, B. [1] https://github.com/qgis/Quantum-GIS/blob/master/src/app/pluginmanager/README ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Regards Arunmozhi ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] update plugin to QGIS 2.0
Hi otto, A super wild guess: whats the value of IdentifyFormat in your call? Hth, Marc Otto Dassau das...@gbd-consult.de schrieb: Hi, I want to update a plugin from 1.8 to QGIS 2.0 and it throws following error: Traceback (most recent call last): File /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py, line 447, in printValue self.showValues() File /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py, line 453, in showValues self.plot() File /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py, line 514, in plot w = float(self.sampleRaster(self.InRastW.currentText(), self.xCoord, self.yCoord))/10 File /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py, line 299, in sampleRaster return self.sampleRaster20(layer, x, y) File /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py, line 284, in sampleRaster20 success, data = layer.dataProvider().identify(QgsPoint(x,y)) TypeError: QgsRasterDataProvider.identify(QgsPoint, QgsRaster.IdentifyFormat, QgsRectangle theExtent=QgsRectangle(), int theWidth=0, int theHeight=0): not enough arguments I found at http://hub.qgis.org/wiki/quantum-gis/API_changes_for_version_20 the section QgsRasterDataProvider which should fit. And the Method, where I assume the error occurs should be this # get value at mouse position QGIS = 1.8 (working for 1.8) def sampleRaster18(self, layer, x, y): success, data = layer.identify(QgsPoint(x,y)) for band, value in data.items(): return value now what I tried but doesn't work (see error above) # get value at mouse position QGIS = 2.0 (not working yet :() def sampleRaster20(self, layer, x, y): success, data = layer.dataProvider().identify(QgsPoint(x,y)) for band, value in data.items(): return value my problem is, that I don't understand how to implement in sampleRaster20 the new method from the API_changes_for_version_20 website which says: QMapint, QVariant identify( const QgsPoint thePoint, IdentifyFormat theFormat, const QgsRectangle theExtent = QgsRectangle(), int theWidth = 0, int theHeight = 0 ) can anybody help? Thanks Otto ___ 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] update plugin to QGIS 2.0
Have a look at the source of the value tool plugin, it calls the identify() method and has been updated to 2.0 api. Etienne On Thu, Aug 1, 2013 at 1:58 PM, Otto Dassau das...@gbd-consult.de wrote: Hi, I want to update a plugin from 1.8 to QGIS 2.0 and it throws following error: Traceback (most recent call last): File /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py, line 447, in printValue self.showValues() File /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py, line 453, in showValues self.plot() File /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py, line 514, in plot w = float(self.sampleRaster(self.InRastW.currentText(), self.xCoord, self.yCoord))/10 File /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py, line 299, in sampleRaster return self.sampleRaster20(layer, x, y) File /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py, line 284, in sampleRaster20 success, data = layer.dataProvider().identify(QgsPoint(x,y)) TypeError: QgsRasterDataProvider.identify(QgsPoint, QgsRaster.IdentifyFormat, QgsRectangle theExtent=QgsRectangle(), int theWidth=0, int theHeight=0): not enough arguments I found at http://hub.qgis.org/wiki/quantum-gis/API_changes_for_version_20 the section QgsRasterDataProvider which should fit. And the Method, where I assume the error occurs should be this # get value at mouse position QGIS = 1.8 (working for 1.8) def sampleRaster18(self, layer, x, y): success, data = layer.identify(QgsPoint(x,y)) for band, value in data.items(): return value now what I tried but doesn't work (see error above) # get value at mouse position QGIS = 2.0 (not working yet :() def sampleRaster20(self, layer, x, y): success, data = layer.dataProvider().identify(QgsPoint(x,y)) for band, value in data.items(): return value my problem is, that I don't understand how to implement in sampleRaster20 the new method from the API_changes_for_version_20 website which says: QMapint, QVariant identify( const QgsPoint thePoint, IdentifyFormat theFormat, const QgsRectangle theExtent = QgsRectangle(), int theWidth = 0, int theHeight = 0 ) can anybody help? Thanks Otto ___ 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] new icons
Hi Denis, It was great work on some of the icons you did recently(particularly the add layer icons).. I am on the side of replacing the topology checker icon..I did that while playing with Inkscape :) please consider it if you have time.. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/new-icons-tp5063997p5070377.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] Redmine: projects in wrong place
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 01/08/2013 17:43, Alexander Bruy ha scritto: Hi all, there are two new projects in QGIS redmine [0, 1] that are top-level items, while both should be under User plugins. Can anyone fix this? This is a known bug: new projects go to top level, opening them and saving they go back to their appropriate level. More generally, our Redmine needs some love. All the best. - -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlH7SCwACgkQ/NedwLUzIr5IrwCgmYd0aODzsYceSx3Vtb1bZaLr yZkAn3zeM4rhkGCX5pEABpdNLZeuARST =dtT3 -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer