[Qgis-developer] Unsubscribe

Jarrad Wright jgwright at ieee.org
Sun Jan 27 12:09:17 PST 2013


On Jan 27, 2013 9:51 PM, <qgis-developer-request at lists.osgeo.org> wrote:

> Send Qgis-developer mailing list submissions to
>         qgis-developer at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.osgeo.org/mailman/listinfo/qgis-developer
> or, via email, send a message with subject or body 'help' to
>         qgis-developer-request at lists.osgeo.org
>
> You can reach the person managing the list at
>         qgis-developer-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qgis-developer digest..."
>
>
> Today's Topics:
>
>    1. Re: New qgis for android installer (Etienne Tourigny)
>    2. Re: new_vector_api merged (Paolo Cavallini)
>    3. Re: new_vector_api merged (Martin Dobias)
>    4. Re: new_vector_api merged (Borys Jurgiel)
>    5. Re: new_vector_api merged (Matthias Kuhn)
>    6. Re: new_vector_api merged (Matthias Kuhn)
>    7. Re: new_vector_api merged (Paolo Cavallini)
>    8. QFontMetrics problem in composer (Chris Crook)
>    9. Plugin layer and labelling (Chris Crook)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 26 Jan 2013 20:12:55 -0200
> From: Etienne Tourigny <etourigny.dev at gmail.com>
> To: Paolo Cavallini <cavallini at faunalia.it>
> Cc: qgis-developer at lists.osgeo.org
> Subject: Re: [Qgis-developer] New qgis for android installer
> Message-ID:
>         <CA+TxYvMWQxLcV7Kx-k+=
> tw0pQPkYei6TLvDEuXsoP5phJV-nXQ at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Sat, Jan 26, 2013 at 5:12 PM, Paolo Cavallini <cavallini at faunalia.it>
> wrote:
> > Il 24/01/2013 20:49, Marco Bernasocchi ha scritto:
> >> Hi all,
> >> So I'm finally back on working on QGIS for android. Currently thanks to
> >> the QGIS usergroup Switzerland and norbit.de I'm porting python QGIS to
> >> android. So stay tuned on that one.
> >>
> >>
> > Hi Marco.
> > Just installed, I get:
> > No QGIS data provider plugins found in: /data/app-lib/lib
>
> I got the same issue on a previous build - although I did not test
> opening data though.
>
> > Moreover, I do not seem to be able to close it.
> > Anything I should do?
> > 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
> >
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 26 Jan 2013 23:29:42 +0100
> From: Paolo Cavallini <cavallini at faunalia.it>
> To: qgis-developer at lists.osgeo.org
> Subject: Re: [Qgis-developer] new_vector_api merged
> Message-ID: <510458D6.8050906 at faunalia.it>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Il 26/01/2013 19:48, Martin Dobias ha scritto:
> >
> > Looking forward to the feedback from testing!
> >
> >
> Hi Martin,
> I'm getting the (usual?)
>
>  4/57 Test  #4: qgis_diagramtest .....................***Failed   13.58 sec
>
> but for the rest it compiles fine.
> Obviously packaging fails with:
>
> cp: impossibile eseguire stat di
> "debian/tmp/usr/lib/qgis/plugins/libmssqlprovider.so": File o directory
> non esistente
> dh_install: cp -a debian/tmp/usr/lib/qgis/plugins/libmssqlprovider.so
> debian/qgis-providers//usr/lib/qgis/plugins/ returned exit code 1
> make: *** [binary-arch] Errore 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
> status 2
>
> 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
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 27 Jan 2013 00:30:28 +0100
> From: Martin Dobias <wonder.sk at gmail.com>
> To: Paolo Cavallini <cavallini at faunalia.it>
> Cc: qgis-dev <qgis-developer at lists.osgeo.org>
> Subject: Re: [Qgis-developer] new_vector_api merged
> Message-ID:
>         <CAC2XbFfyL9rV0UAnNSoQO+X2p6=
> WvTgov8E7GNe2R+ditSM7gA at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Sat, Jan 26, 2013 at 11:29 PM, Paolo Cavallini <cavallini at faunalia.it>
> wrote:
> > Il 26/01/2013 19:48, Martin Dobias ha scritto:
> >>
> >> Looking forward to the feedback from testing!
> >>
> >>
> > Hi Martin,
> > I'm getting the (usual?)
> >
> >  4/57 Test  #4: qgis_diagramtest .....................***Failed   13.58
> sec
> >
> > but for the rest it compiles fine.
>
> >From a quick look it actually seems to me that it should be vice versa
> - for some reason the rotation and scale attribute of layer's default
> QML have been ignored before, but now they are correctly used, so the
> expected image is maybe wrong. I need to have a more detailed look.
>
> > Obviously packaging fails with:
> >
> > cp: impossibile eseguire stat di
> > "debian/tmp/usr/lib/qgis/plugins/libmssqlprovider.so": File o directory
> > non esistente
> > dh_install: cp -a debian/tmp/usr/lib/qgis/plugins/libmssqlprovider.so
> > debian/qgis-providers//usr/lib/qgis/plugins/ returned exit code 1
> > make: *** [binary-arch] Errore 2
> > dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
> > status 2
>
> I would suggest temporarily removing the disabled providers from
> debian build until they are fixed and enabled again.
>
> Martin
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 27 Jan 2013 15:04:22 +0100
> From: Borys Jurgiel <lists at borysjurgiel.pl>
> To: qgis-developer at lists.osgeo.org
> Subject: Re: [Qgis-developer] new_vector_api merged
> Message-ID: <201301271504.22883.lists at borysjurgiel.pl>
> Content-Type: Text/Plain;  charset="utf-8"
>
> Big thanks for all that job!
>
> Is there any short document for plugin authors, describing which methods
> should be replaced? The [1] doesn't contain any word about select(),
> nextFeature() nor featureAtId() yet. I remember you post some information
> last
> weeks.
>
> [1] http://hub.qgis.org/wiki/quantum-gis/API_changes_for_version_20
>
>
> Dnia sobota, 26 stycznia 2013 o 19:48:41 Martin Dobias napisa?(a):
> > Hi everyone
> >
> > I'm pleased to announce that new_vector_api branch has been merged to
> > master. From user's point of view there should be ideally no change -
> > everything should work as before, except for various plugins that will
> > need update to support new API. With such extent of refactoring of
> > vector layer code it is possible that some new bugs have been
> > introduced - I hope there won't be any serious problems. I would like
> > to ask people to test master branch with various data providers and
> > report any regressions related to vector handling (e.g. access to
> > data, editing or joins).
> >
> > I have also created a tag "Before-merge-new_vector_api" that points to
> > the last commit on master before the merge - in case someone would
> > like to stick with pre-merge code for some reason.
> >
> > What's next?
> > osm, mssql and sqlanywhere providers are currently disabled - but they
> > should be adapted to new API and re-enabled soon by their respective
> > authors. QgsVectorLayer still has old API methods (select(),
> > nextFeature() and featureAtId()). There are more than a hundred of
> > these call just in QGIS code base. I have marked them as deprecated
> > now - we should slowly get rid of them and finally remove them before
> > 2.0.
> >
> > Of course the most awaited feature is the threaded rendering -
> > experimental support should be coming in the following months, so
> > please stay tuned.
> >
> > One of the next steps will be already mentioned move to newer sip/PyQt
> > APIs for common classes like QString and QVariant that will simplify
> > plugins' code and make them more ready for python3 (where the new APIs
> > will be default). I would also like to look into support of python3,
> > so that ideally QGIS 2.0 could be built either with python2 or
> > python3. I expect that QGIS 2.0 will stick to python2 and QGIS 3.0
> > will use python3.
> >
> > Looking forward to the feedback from testing!
> >
> > Regards
> > Martin
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 27 Jan 2013 15:39:37 +0100
> From: Matthias Kuhn <matthias.kuhn at gmx.ch>
> To: qgis-developer at lists.osgeo.org
> Subject: Re: [Qgis-developer] new_vector_api merged
> Message-ID: <51053C29.6040406 at gmx.ch>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Martin,
>
> Nice too see this changes merged.
>
> A minor question, regarding the discussion about the cache we had
> already. Would it be ok for you to rename QgsVectorLayerCache to e.g.
> QgsGeometryCache? I think this would more precisely reflect the purpose
> of your implementation and keep the rather bold name QgsVectorLayerCache
> free for a more generic approach.
>
> Regards,
> Matthias
>
> On 01/26/2013 07:48 PM, Martin Dobias wrote:
> > Hi everyone
> >
> > I'm pleased to announce that new_vector_api branch has been merged to
> > master. From user's point of view there should be ideally no change -
> > everything should work as before, except for various plugins that will
> > need update to support new API. With such extent of refactoring of
> > vector layer code it is possible that some new bugs have been
> > introduced - I hope there won't be any serious problems. I would like
> > to ask people to test master branch with various data providers and
> > report any regressions related to vector handling (e.g. access to
> > data, editing or joins).
> >
> > I have also created a tag "Before-merge-new_vector_api" that points to
> > the last commit on master before the merge - in case someone would
> > like to stick with pre-merge code for some reason.
> >
> > What's next?
> > osm, mssql and sqlanywhere providers are currently disabled - but they
> > should be adapted to new API and re-enabled soon by their respective
> > authors. QgsVectorLayer still has old API methods (select(),
> > nextFeature() and featureAtId()). There are more than a hundred of
> > these call just in QGIS code base. I have marked them as deprecated
> > now - we should slowly get rid of them and finally remove them before
> > 2.0.
> >
> > Of course the most awaited feature is the threaded rendering -
> > experimental support should be coming in the following months, so
> > please stay tuned.
> >
> > One of the next steps will be already mentioned move to newer sip/PyQt
> > APIs for common classes like QString and QVariant that will simplify
> > plugins' code and make them more ready for python3 (where the new APIs
> > will be default). I would also like to look into support of python3,
> > so that ideally QGIS 2.0 could be built either with python2 or
> > python3. I expect that QGIS 2.0 will stick to python2 and QGIS 3.0
> > will use python3.
> >
> > Looking forward to the feedback from testing!
> >
> > Regards
> > Martin
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 27 Jan 2013 16:08:55 +0100
> From: Matthias Kuhn <matthias.kuhn at gmx.ch>
> To: qgis-developer at lists.osgeo.org
> Subject: Re: [Qgis-developer] new_vector_api merged
> Message-ID: <51054307.4050501 at gmx.ch>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Martin,
>
> On 01/27/2013 12:30 AM, Martin Dobias wrote:
> > On Sat, Jan 26, 2013 at 11:29 PM, Paolo Cavallini <cavallini at faunalia.it>
> wrote:
> >> Il 26/01/2013 19:48, Martin Dobias ha scritto:
> >>> Looking forward to the feedback from testing!
> >>>
> >>>
> >> Hi Martin,
> >> I'm getting the (usual?)
> >>
> >>   4/57 Test  #4: qgis_diagramtest .....................***Failed
> 13.58 sec
> >>
> >> but for the rest it compiles fine.
> >  From a quick look it actually seems to me that it should be vice versa
> > - for some reason the rotation and scale attribute of layer's default
> > QML have been ignored before, but now they are correctly used, so the
> > expected image is maybe wrong. I need to have a more detailed look.
> I added a pull request with an updated expected image to fix this test. [1]
>
> Please accept this, once you figured out if this is not a problem
> introduced by your changes, but actually a (unintentional?) fix.
>
> Cheers
>
> [1] https://github.com/qgis/Quantum-GIS/pull/405
>
>
> ------------------------------
>
> Message: 7
> Date: Sun, 27 Jan 2013 20:24:26 +0100
> From: Paolo Cavallini <cavallini at faunalia.it>
> To: qgis-developer at lists.osgeo.org
> Subject: Re: [Qgis-developer] new_vector_api merged
> Message-ID: <51057EEA.8020606 at faunalia.it>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Il 27/01/2013 16:08, Matthias Kuhn ha scritto:
> > I added a pull request with an updated expected image to fix this
> > test. [1]
> >
> > Please accept this, once you figured out if this is not a problem
> > introduced by your changes, but actually a (unintentional?) fix.
>
> tests run fine now (6 warnings), pull accepted.
> thanks.
>
> --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
>
>
>
> ------------------------------
>
> Message: 8
> Date: Mon, 28 Jan 2013 08:36:01 +1300
> From: Chris Crook <ccrook at linz.govt.nz>
> To: "qgis-developer at lists.osgeo.org" <qgis-developer at lists.osgeo.org>
> Subject: [Qgis-developer] QFontMetrics problem in composer
> Message-ID:
>         <
> 666FB8D75E95AE42965A0E76A5E5337E0EDF770176 at prdlsmmsg01.ad.linz.govt.nz>
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi All
>
> I'm working on a plugin which adds a custom plugin layer to the map.  This
> all works fine on the desktop, but goes horribly wrong in print composer
> and in printed outout.
>
> What it comes down to is that I'm using QFontMetricsF to calculate the
> size of some text, which I'm then using for layout. On the screen this is
> fine.  In the printed output the rectangle returned by QFontMetricsF is
> about 1/3 the size of the printed text, which makes the layout pretty
> awful!  The test code I have is as follows:
>
>             painter.save()
>             painter.setPen(QPen())
>             painter.setBrush(Qt.NoBrush)
>             painter.translate(position.x(),position.y())
>             painter.scale(fontFactor,fontFactor)
>             painter.setFont(font)
>             painter.drawText(QPointF(0.0,0.0),text)
>             painter.drawRect(QFontMetricsF(font).boundingRect(text))
>             painter.restore()
>
> The result (after printing to PDF) is that the box printed by drawRect is
> about 1/3 the size of the text printed by drawText.  This seems to be
> independent of the size and location of the map in print composer or the
> font used.  Also printing to PDF or PNG gives the same result.
>
> At first sight this looks to me like a bug in Qt, but that seems unlikely?
>  Any thoughts please?
>
> I'm running this on Ubuntu 11.10.  Qgis version information as follows:
>
> QGIS version
> 1.8.0-Lisboa
> QGIS code revision
> exported
> Compiled against Qt
> 4.7.4
> Running against Qt
> 4.7.4
> Compiled against GDAL/OGR
> 1.9.2
> Running against GDAL/OGR
> 1.9.2
> GEOS Version
> 3.3.3
> PostgreSQL Client Version
> 9.1.6
> SpatiaLite Version
> 2.4.0
> QWT Version
> 5.2.2
>
>
> Chris Crook
>
> This message contains information, which is confidential 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 info at 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.
>
>
> ------------------------------
>
> Message: 9
> Date: Mon, 28 Jan 2013 08:41:50 +1300
> From: Chris Crook <ccrook at linz.govt.nz>
> To: "qgis-developer at lists.osgeo.org" <qgis-developer at lists.osgeo.org>
> Subject: [Qgis-developer] Plugin layer and labelling
> Message-ID:
>         <
> 666FB8D75E95AE42965A0E76A5E5337E0EDF77018D at prdlsmmsg01.ad.linz.govt.nz>
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi All
>
> I'm updating a plugin to use a plugin layer to display a scale box, and I
> have a problem with labelling from other layers appearing on top of my
> plugin layer.
>
>
> I'm using a plugin layer so that the scale box will appear on the map when
> it is printed.  It basically draws a filled rectangle and puts some text in
> it.  The problem I have is that labelling from layers underneath the scale
> box layer end up plotting on top of it.
>
> Is there a simple way of ensuring that the box appears on top of the
> labelling.  I'm wondering about drawing the rectangle as a label itself
> with some sort of custom labelling, but that looks like a lot more work :-(
>
> Is there a simpler way?
>
> Thanks
> Chris Crook
>
> This message contains information, which is confidential 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 info at 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.
>
>
> ------------------------------
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> End of Qgis-developer Digest, Vol 87, Issue 59
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130127/da180302/attachment-0001.html>


More information about the Qgis-developer mailing list