Re: [Qgis-user] PyQGIS: 1.8 to 2.0 upgrades?

2013-10-22 Thread Etienne Tourigny
http://hub.qgis.org/wiki/quantum-gis/API_changes_for_version_20

also see this which is Python specific
http://hub.qgis.org/wiki/quantum-gis/Python_plugin_API_changes_from_18_to_20




On Fri, Oct 18, 2013 at 3:50 AM, Derek Hohls  wrote:

> Hi
>
> We have a third-party Python app (not a plugin) that we would like to
> upgrade for compatibility with 2.0.  I came across this page -
> http://hub.qgis.org/projects/quantum-gis/wiki/API_changes_for_version_20- 
> which details some of the changes.  However, just a quick check reveals
> that, where we have this import,:
>
> from qgis.core import QgsSingleSymbolRenderer
> from qgis.core import QgsSymbol
>
> both of these imports fails; but neither is mentioned on that page.  Is
> there a more comprehensive guide to upgrading available?
>
> Thanks
> Derek
>
>
> --
> This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
>
>
> This message has been scanned for viruses and dangerous content by *
> MailScanner* ,
> and is believed to be clean.
>
>
> Please consider the environment before printing this email.
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] PyQGIS: 1.8 to 2.0 upgrades?

2013-10-18 Thread Luca Manganelli
On Fri, Oct 18, 2013 at 8:50 AM, Derek Hohls  wrote:

> Hi
>
> We have a third-party Python app (not a plugin) that we would like to
> upgrade for compatibility with 2.0.  I came across this page -
> http://hub.qgis.org/projects/quantum-gis/wiki/API_changes_for_version_20- 
> which details some of the changes.  However, just a quick check reveals
> that, where we have this import,:
>
> from qgis.core import QgsSingleSymbolRenderer
> from qgis.core import QgsSymbol
>
> both of these imports fails; but neither is mentioned on that page.  Is
> there a more comprehensive guide to upgrading available?
>
>
See this page: http://qgis.org/api/annotated.html

I see new classes like:

QgsSingleSymbolRendererV2
QgsSymbolV2
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] PyQGIS: 1.8 to 2.0 upgrades?

2013-10-17 Thread Derek Hohls
Hi

We have a third-party Python app (not a plugin) that we would like to upgrade 
for compatibility with 2.0.  I came across this page - 
http://hub.qgis.org/projects/quantum-gis/wiki/API_changes_for_version_20 - 
which details some of the changes.  However, just a quick check reveals that, 
where we have this import,:

from qgis.core import QgsSingleSymbolRenderer
from qgis.core import QgsSymbol

both of these imports fails; but neither is mentioned on that page.  Is there a 
more comprehensive guide to upgrading available?

Thanks
Derek



-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user