[Qgis-developer] Python plugin: open a project file in append mode

2012-08-22 Thread luca_manganelli
Hi, in the documentation, at the QgsProject entry, I read this: boolread (QFileInfo const file) read project file boolread () presuming that the caller has already reset the map canvas, map registry, and legend the first read (QFileInfo const file) sets the project

Rif: [Qgis-developer] Removing old labelling

2012-03-06 Thread luca_manganelli
-qgis-developer-boun...@lists.osgeo.org ha scritto: -Any objections for removing the oldlabellingstuff?See this bug:http://hub.qgis.org/issues/4634this is one cause that we still use the old labelling engine.___ Qgis-developer mailing list

[Qgis-developer] New labeling engine: problems

2011-12-15 Thread luca_manganelli
Hi, I have encountered problems with the new labelling engine. I have a cadastral layer and I set labels over centroid, but the new labeling engine moves them very away from the centroid. See this attachment: http://hub.qgis.org/attachments/4116/label-bug.jpeg If I use the old engine, it

Re: [Qgis-developer] Benchmarking / optimization

2011-11-30 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 30/11/2011 11.24.23 IMHO: - it would be easy to setup a test engine for QGIS Server, and keep updated a table of results, so we could spot promptly any change in performances - anyway, QGIS Server should be used as tiled, in any condition

Re: [Qgis-developer] Benchmarking / optimization

2011-11-29 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 28/11/2011 19.49.24 Hi, because I found QGIS to be terribly slow with larger vectors, I started to work a bit on rendering optimization. I am still at the beginning of the work, here are some first findings. [CUT ALL] These benchmarks are

Re: [Qgis-developer] API proposal: fetching of features

2011-10-28 Thread luca_manganelli
Martin Dobias wrote on 27/10/2011 19.07.43 What do you think? I would like to gather your opinions - is it good/bad/complex/inefficient/nonintuitive/verbose/...? +1, .select() and derivates are, maybe, the most important function and it's crucial that they must be optimized. Using them in

[Qgis-developer] Re: [Qgis-user] netiquette

2011-09-26 Thread luca_manganelli
qgis-user-boun...@lists.osgeo.org scritti il 26/09/2011 11.54.35 Hi all. Please avoid posting replies with very long citations. Many of us reads the email with cell phones, and having long unnecessary citations is quite annoying. Thanks. We could suspend the n00b-user for one week

Re: [Qgis-developer] netiquette

2011-09-26 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 26/09/2011 13.29.46 I mean hi :-) Maybe its time we do formalise the rules then - at least we can point people to a document describing our expectations RFC 1855, paragraph 3.0 and below, could be a good start:

Re: [Qgis-user] Re: [Qgis-developer] netiquette

2011-09-26 Thread luca_manganelli
qgis-user-boun...@lists.osgeo.org scritti il 26/09/2011 15.06.51 Frankly I do not believe that posting these rules (or a link to them) will improve the communication :-) ... mainly because the people who do not respect the usual netiquette also tend to ask wrong questions, do not read

Re: [Qgis-developer] 1.7.1 Branch created

2011-09-22 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 22/09/2011 12.14.05 and maybe: http://hub.qgis.org/issues/4173 Also does not apply cleanly to the relase branch. Will need more investigation. could you backport this fix?

Re: [Qgis-developer] 1.7.1 Branch created

2011-09-22 Thread luca_manganelli
Werner Macho wrote on 22/09/2011 15.49.35 could you backport this fix? http://hub.qgis.org/issues/3987 pull request out on github .. I don't understand, how can I do it?___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

Re: [Qgis-developer] Re: API 2.0

2011-09-12 Thread luca_manganelli
Another useful method: QgsDataProvider.searchForFeatures ( fieldIndex, searchString, searchMethod = 0 ) fieldIndex: search on idx-th field; searchString: search terms; searchMethod: 0x1 = match whole searchString 0x2

Re: [Qgis-developer] Re: Release plans for 1.7.1

2011-08-25 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 24/08/2011 17.48.21 We discovered that also the plugin repository never uses proxy user/password. Be sure to set proxy type to HttpProxy.___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] Re: [Qgis-user] Rubberband class in QGIS 1.7

2011-06-20 Thread luca_manganelli
qgis-user-boun...@lists.osgeo.org scritti il 20/06/2011 09.40.19 Dear All, I made features select plugin used rubberband class and extended QgsMapTool class. It work fine in QGIS 1.6, But not work in QGIS 1.7. After rubberBand.movePoint() in canvasMoveEvent(), it was crashed. Confirming.

Re: [Qgis-developer] Annoying bug found in QGIS 1.7 (not present in 1.6)

2011-06-16 Thread luca_manganelli
Giovanni Manghi giovanni.man...@gmail.com scritti il 16/06/2011 10.58.20 Hi, did you filed a ticket? Yes: http://hub.qgis.org/issues/3987___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] Annoying bug found in QGIS 1.7 (not present in 1.6)

2011-06-15 Thread luca_manganelli
Hi, I wrote a PYTHON plugin that does a simple feature select on a QgsVectorLayer: pnt = coordinates of mouse click on map myLayer= QgsVectorLayer Object tolerance = 1 rectangle = QgsRectangle() rectangle.setXMinimum (pnt.x() - tolerance) rectangle.setXMaximum (pnt.x() + tolerance)

Re: [Qgis-developer] release of 1.7

2011-05-31 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 31/05/2011 10.42.36 wow +1 for me on that .. a really good idea .. beta + call for funding to solve last bugs .. in that way some companys will probably see that there is a lot of work and time invested in opensource and it would be nice to

[Qgis-developer] QGIS doesn't use username and password in options dialog for proxy connections with WMS

2011-05-25 Thread luca_manganelli
QGIS doesn't use username and password inserted in the options dialog for proxy connections, to use with WMS connections. This problem affects 1.6.0 and trunk versions, on Linux and Windows. In the SQUID log, I see this when I try to connect to NASA WMS with Qgis: 1306326384.090 1

Re: [Qgis-developer] QGIS latest SVN: some WMS-C tiles are not loaded

2011-04-29 Thread luca_manganelli
To Radim and Ivan: That bug is fixed :-) Thank you! qgis-developer-boun...@lists.osgeo.org scritti il 28/04/2011 21.19.25 This bug doesn't happen in QGIS 1.6, which works perfectly. http://oi56.tinypic.com/15zs56u.jpg We heve opened a ticket in osgeo, #3738. Luca, isn't it duplicate

[Qgis-developer] Python plugin: how to set a symbol for a layer?

2011-04-01 Thread luca_manganelli
Hi, I've searched across documentation and mailing list, but I didn't found a page explaining how to set a symbol. For example: - point layer: I want to use a circle with width 0.5 and gray colour with black border; - line layer: width 1 and continous green line any hint? Thank you in

Re: [Qgis-developer] A roadmap to QGIS 2.0

2011-01-19 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 19/01/2011 11.30.15 You are definitely right! I agree that we probably should do the same as we did with 1.0 (with less success) and call 2.0 a Long Term release. 1.0 was almost abbandoned in favour of more stable 1.2/1.4. So I think it will

Re: [Qgis-developer] 1.6?

2010-11-23 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 23/11/2010 22.58.11 We are still testing them as there seems to be a problem with plugin fetching. which bug? ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

Re: [Qgis-developer] labelling-ng in qgis 1.6?

2010-11-08 Thread luca_manganelli
Marco Hugentobler marco.hugentob...@sourcepole.ch scritti il 08/11/2010 11.42.57 Hi Luca That should be the same as in 1.5: Activate the vector layer and go to menu 'Layer-Labeling' aaah... I thought that was the old ABC Label plugin :-) why do you not remove the old labelling on Layer

[Qgis-developer] Unable to compile QGIS under Ubuntu 10.04 LTS

2010-11-08 Thread luca_manganelli
Hi, I'm encounteering problems compiling latest SVN build of QGIS. I have this error: [ 44%] Building CXX object src/app/CMakeFiles/qgis.dir/qgisapp.cpp.o In file included from /usr/local/src/qgis_unstable/src/app/qgsrasterlayerproperties.h:23, from

Re: [Qgis-developer] Offline editing Plugin

2010-09-29 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 29/09/2010 11.37.21 I wrote a little blog article about it: http://www.sourcepole.ch/2010/9/29/offline-editing-plugin-for-qgis I cannot download sources and neither view the screenshot. ___

Re: [Qgis-developer] Python dynamic forms

2010-09-16 Thread luca_manganelli
qgis-developer-boun...@lists.osgeo.org scritti il 16/09/2010 07.21.45 Note I’m using psycopg2 for the database connections. Can I suggest you to use QSqlDatabase and QSqlQuery (both present in Qt classes) ?___ Qgis-developer mailing list