Re: [Qgis-developer] Status of 2.8.1 offering on QGIS website

2015-02-28 Thread Richard Duivenvoorde
On 28-02-15 03:24, Mathieu Pellerin wrote:
 Greetings,
 
 I got contacted by a student yesterday asking whether 2.8 was out. He
 knew of release date and visited website but only saw 2.6.1.
 
 Would be good to update website ASAP.

Mathieu,

2.8.0 had been available for some hours, but had flaws/bugs.
2.8.1 is (almost) packaged, but we miss some changelog parts which we
want to have in place for the official launch

All (except visual changelog) in website is ready to be switched.

When it is ready the Release Manager (Jürgen) will tell us (do NOT
listen to the eager bloggers which tell you otherwise), and we will
rebuild the website immediately.

plz bear with us..

Regards,

Richard Duivenvoorde

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


Re: [Qgis-developer] Strange behaviour in feature ids when editing PostGIS layer

2015-02-28 Thread Régis Haubourg
Hi, 
well pgadmin sets table view in readonly mode if no Primary Key is defined..
That is more than a good practice from a DBA point of view, I wouldn't be
against such a constraint for tables. We should raise some user warning when
connecting to PG, so that users don't get confuzed 
Another point, what about views that do not have PK (but may be editable) ? 
Cheers
Régis



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Strange-behaviour-in-feature-ids-when-editing-PostGIS-layer-tp5185929p5190614.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] hub.qgis.org down to speed up disk rebuild

2015-02-28 Thread Richard Duivenvoorde
Hi,

we have shutdown hub.qgis.org because the server which it is served from
get's a new disk (raid) and hopefully less IO will speed up the build of
that disk.

As soon as the disk is rebuild we will bring back hub too.

Regards,

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


[Qgis-developer] info about plugin and processing toolbox

2015-02-28 Thread Sergio Vignali
Dear all,
I would like to know if there is a tutorial or text that explains how to
write a plugin for the processing toolbox. The QGis documentation explains
how to write a plugin but I didn't find anything about the processing
toolbox... So I would like to know the structure and the code necessary to
add some script to the toolbox.
 All the best

Sergio

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

Re: [Qgis-developer] info about plugin and processing toolbox

2015-02-28 Thread Sergio Vignali
... and is also possible to include a check box in the script?

best

2015-02-28 19:25 GMT+01:00 Sergio Vignali vignalisergi...@gmail.com:

 I didn't know the selection data type, this is cool, thanks Victor!

 and thanks Alexander, the example provider is really useful

 All the best

 s.

 2015-02-28 19:09 GMT+01:00 Victor Olaya vola...@gmail.com:

 you can add a combo box in a script, using selection as data type,
 followed by the possible values separated by semicolons

 For instance

 method=selection First method;Another method;The last method

 Hope this helps

 2015-02-28 18:34 GMT+01:00 Alexander Bruy alexander.b...@gmail.com:
  Hi Sergio,
 
  look at the Example Provider code [0]. This is example developed
 specially
  as tutorial how to implement own provider plugins for Processing.
 
  [0]
 https://github.com/qgis/QGIS/tree/master/python/plugins/processing/algs/exampleprovider
 
  2015-02-28 19:21 GMT+02:00 Sergio Vignali vignalisergi...@gmail.com:
  Thank you Victor and Anita,
  maybe my message was not so clear. Yes I know how to write a simple
 script,
  but I would like to transform it in a plugin.
  The simple script, for that I know, does not allow to insert a combobox
  while in some plugin like LECOS there is one.
  It is difficult for me reading the plugin code and understand which
 part is
  for a normal plugin and which one for the processing toolbox, if you
 have
  any suggestion please let me know.
 
  Best
 
  Sergio
 
  2015-02-28 18:05 GMT+01:00 Anita Graser anitagra...@gmx.at:
 
  On Sat, Feb 28, 2015 at 5:47 PM, Sergio Vignali
  vignalisergi...@gmail.com wrote:
 
  Dear all,
  I would like to know if there is a tutorial or text that explains
 how to
  write a plugin for the processing toolbox. The QGis documentation
 explains
  how to write a plugin but I didn't find anything about the processing
  toolbox... So I would like to know the structure and the code
 necessary to
  add some script to the toolbox.
 
 
  Hi Sergio,
 
  If you just want to add a simple script to the Processing toolbox, you
  don't need a plugin at all. All you need to do is go to Scripts |
 Tools |
  Create new script in the toolbox. You can find many examples of how
 these
  scripts have to look like in the following repository:
 
  https://github.com/qgis/QGIS-Processing/tree/master/scripts
 
  Best wishes
  Anita
 
 
 
 
  --
  Sergio Vignali
 
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 
 
 
  --
  Alexander Bruy
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer




 --
 Sergio Vignali




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

Re: [Qgis-developer] Mixing GPL-2 GPL-3 code in QGIS (official Debian package rejected by FTP master)

2015-02-28 Thread Jürgen E . Fischer
Hi Bas,

On Sat, 28. Feb 2015 at 19:21:23 +0100, Sebastiaan Couwenberg wrote:
 The dxf2shp_converter plugin contains code under GPL-2 (v2 only), GPL-2+
 (v2 or later), MIT, LGPL-2+ and commercial licenses. This is documented
 in the debian/copyright file as follows:
 

 Files: src/plugins/dxf2shp_converter/getInsertions.h
 Copyright: Christopher Michaelis
 License: GPL-2
 
 Files: src/plugins/dxf2shp_converter/getInsertions.cpp
 Copyright: Christopher Michaelis
 License: GPL-2+

 Files: src/plugins/dxf2shp_converter/shapelib-1.2.10/*
 Copyright: 1999, 2001-2002, Frank Warmerdam
 License: MIT or LGPL-2+
 
 Files: src/plugins/dxf2shp_converter/dxflib/src/*
 Copyright: 2001-2003, RibbonSoft
 2001, Robert J. Campbell Jr
 License: GPL-2 or dxflib-Commercial-License

The GPL-2 code in dxf2shp can be removed.  And the dxf2shp lib can be upgraded
to 3.7.5 that is licensed under GPL-2+.   The getInsertions code is trivial and
AFAICT the handling is wrong anyway - the content of a block is only inserted
once at the location of the first insert instead of repeatedly on every
location of the inserts.   It's probably better to handle inserts similar to
the texts.

After that there's not GPL-2 only code in QGIS, right?

 Removing the dxf2shp_converter plugin from QGIS would get rid of the
 problematic GPL-2 licensed works, but the inclusion of GPL-3+ works
 still upgrades the GPL-2+ license for QGIS to GPL-3+.

Would that be a problem?  In that case Debian is free to redistribute.

 
 Excluding the GPL-3+ resources doesn't look very problematic at first
 glance, but I expect the removal of libpal to cause more breakage.

That would kill labeling.


 Besides the GPL-2/GPL-3 issue, one of the resources also has problematic
 license terms:

 Files: resources/cpt-city-qgis-min/es/*
 Copyright: 2008, ElvenSword (http://elvensword.deviantart.com/)
 Comment: Credit requested for use, required for distribution
 License: ElvenSword

Looks like there are more with non-free license and also stuff
that is GPL-2 only.  I suppose we can remove all of those too.
Etienne?



Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Upgrading qgis

2015-02-28 Thread Sebastiaan Couwenberg
On 02/23/2015 09:01 AM, Alex Mandel wrote:
 On 02/22/2015 11:42 PM, Paolo Cavallini wrote:
 Hi all,
 when upgrading qgis from 2.7 to 2.8 on Debian sid, python-qgis is not
 upgraded automatically, so python support is disabled.
 All the best.

 This seems to be a perpetually unresolved bug. Had this same issue
 upgrading to 2.6 on ubuntu systems. I'm not sure what needs to change in
 the Debian control file to do this right.

The only dependency pulling in the python-qgis package is the Recommends
by the qgis package. Because there is no version requirement the package
is not forced to update when a new version is available in the archive,
although this is usually what happens. Recommends is not as strict a
dependency as Depends is, it allows to keep a package at the version as
installed if it allows the upgrade of other packages explicitly depended
upon.

It probably makes sense to move the python-qgis Recommends to Depends
and add a strict version requirement on the same binary version as is
done for qgis-providers too. See the attached patch for example.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


move-python-qgis-to-depends.patch
Description: inode/symlink
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Mixing GPL-2 GPL-3 code in QGIS (official Debian package rejected by FTP master)

2015-02-28 Thread Sebastiaan Couwenberg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Jürgen,

On 02/28/2015 10:47 PM, Jürgen E. Fischer wrote:
 On Sat, 28. Feb 2015 at 19:21:23 +0100, Sebastiaan Couwenberg
 wrote:
 The dxf2shp_converter plugin contains code under GPL-2 (v2 only),
 GPL-2+ (v2 or later), MIT, LGPL-2+ and commercial licenses. This
 is documented in the debian/copyright file as follows:
 
 
 The GPL-2 code in dxf2shp can be removed.  And the dxf2shp lib can
 be upgraded to 3.7.5 that is licensed under GPL-2+.   The
 getInsertions code is trivial and AFAICT the handling is wrong
 anyway - the content of a block is only inserted once at the
 location of the first insert instead of repeatedly on every 
 location of the inserts.   It's probably better to handle inserts
 similar to the texts.
 
 After that there's not GPL-2 only code in QGIS, right?

That's right, the dxf2shp converter plugin is the only one with GPL-2
licensed files.

I've updated the Debian packaging to exclude the dxf2shp converter
plugin from the upstream tarball, and patched the build to not install
the library. That should address this issue on the Debian side for the
time being.

Upgrading the library to the current version in which the license
issue is resolved sounds much better on the longer term.

 Removing the dxf2shp_converter plugin from QGIS would get rid of
 the problematic GPL-2 licensed works, but the inclusion of GPL-3+
 works still upgrades the GPL-2+ license for QGIS to GPL-3+.
 
 Would that be a problem?  In that case Debian is free to
 redistribute.

It's not a problem with the DFSG, but it may not be the intention or
desire of the QGIS developers.

 Excluding the GPL-3+ resources doesn't look very problematic at
 first glance, but I expect the removal of libpal to cause more
 breakage.
 
 That would kill labeling.

Enough reason to keep it, or search for a GPL-2+ replacement if the
upgrade to GPL-3+ is considered problematic.

 Besides the GPL-2/GPL-3 issue, one of the resources also has
 problematic license terms:
 
 Files: resources/cpt-city-qgis-min/es/* Copyright: 2008,
 ElvenSword (http://elvensword.deviantart.com/) Comment: Credit
 requested for use, required for distribution License: ElvenSword
 
 Looks like there are more with non-free license and also stuff that
 is GPL-2 only.  I suppose we can remove all of those too. Etienne?

The only other issue I found with the resources is that it seems
resources/cpt-city-qgis-min/nd/COPYING.xml does not correspond to the
CC-BY-SA-3.0 license stated on the DeviantArt page (and d/copyright).

Kind Regards,

Bas

- -- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCgAGBQJU8j9NAAoJEGdQ8QrojUrxWZAP/j0oeqP3anQSoVVAxVchR7k6
CUBXkNf/tfmAxM+G3PFp1tlsysVVWKRpu5L4G6W6Pbtmv42xjcq1DjayCcKB8RIu
GHG62P8/3JohqSNwruuNCaHqO+/n8p36LYoeeAphJBXdET5fDvrfawQK3gRfIePL
F09A7J2ln0RWkUzZN8LeFjvNoy42wkUJnJ6PsB0o300ewNetTjLsxZyL0Sgaul84
kJ7xe1nZlON4efNngL3o8F8ztx1Ikhtk4NBgAvvakJsY6MnqXcFGFECGrf8YijaN
Kv9hlrTyBic624kVpiRl08PMpZpF8CC1Fb0T7JHsroOmy43CVrSWyF2+kM7HoIFY
TQhx2IjI8n9i+j3sUYbNWnA2+tUvedhms6lJP7IWpjHiezpojKmbqGId31nGjAno
TeNxWVKZjudr9XyBpUTW0blt6dNR9w0PvoSoHSbwWM3lfcVrlTwp8i+Z7eMLekfe
mi14vY1sieGjSekQVjl+0RAIyE9W68Y2rYoqtoMVEEgIibj3fsOaOLrLSJAY2Psu
FbNYJu8ZmjiTez6LH33TrbmFHrK6+NiDHqmL+2Lm6cz98HUeD3NWn6aST6ZUegJK
BJDd3TLY97AnIoxPuLZFhLi04XDAlt945vNDQ4e7o1QGpGXbhAB5Dk0ZP7n8fAZB
yIvhRhHIlyE/4nV1ktY/
=Y8s+
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] info about plugin and processing toolbox

2015-02-28 Thread Anita Graser


 2015-02-28 19:09 GMT+01:00 Victor Olaya vola...@gmail.com:

 you can add a combo box in a script, using selection as data type,
 followed by the possible values separated by semicolons

 For instance

 method=selection First method;Another method;The last method



​It would be great if the selection input type could be documented in
http://docs.qgis.org/2.6/en/docs/user_manual/processing/console.html#creating-scripts-and-running-them-from-the-toolbox

for the 2.8 documentation​.

Thanks and best wishes,
Anita
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] info about plugin and processing toolbox

2015-02-28 Thread Alexander Bruy
Hi Sergio,

look at the Example Provider code [0]. This is example developed specially
as tutorial how to implement own provider plugins for Processing.

[0] 
https://github.com/qgis/QGIS/tree/master/python/plugins/processing/algs/exampleprovider

2015-02-28 19:21 GMT+02:00 Sergio Vignali vignalisergi...@gmail.com:
 Thank you Victor and Anita,
 maybe my message was not so clear. Yes I know how to write a simple script,
 but I would like to transform it in a plugin.
 The simple script, for that I know, does not allow to insert a combobox
 while in some plugin like LECOS there is one.
 It is difficult for me reading the plugin code and understand which part is
 for a normal plugin and which one for the processing toolbox, if you have
 any suggestion please let me know.

 Best

 Sergio

 2015-02-28 18:05 GMT+01:00 Anita Graser anitagra...@gmx.at:

 On Sat, Feb 28, 2015 at 5:47 PM, Sergio Vignali
 vignalisergi...@gmail.com wrote:

 Dear all,
 I would like to know if there is a tutorial or text that explains how to
 write a plugin for the processing toolbox. The QGis documentation explains
 how to write a plugin but I didn't find anything about the processing
 toolbox... So I would like to know the structure and the code necessary to
 add some script to the toolbox.


 Hi Sergio,

 If you just want to add a simple script to the Processing toolbox, you
 don't need a plugin at all. All you need to do is go to Scripts | Tools |
 Create new script in the toolbox. You can find many examples of how these
 scripts have to look like in the following repository:

 https://github.com/qgis/QGIS-Processing/tree/master/scripts

 Best wishes
 Anita




 --
 Sergio Vignali


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



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


Re: [Qgis-developer] info about plugin and processing toolbox

2015-02-28 Thread Sergio Vignali
I didn't know the selection data type, this is cool, thanks Victor!

and thanks Alexander, the example provider is really useful

All the best

s.

2015-02-28 19:09 GMT+01:00 Victor Olaya vola...@gmail.com:

 you can add a combo box in a script, using selection as data type,
 followed by the possible values separated by semicolons

 For instance

 method=selection First method;Another method;The last method

 Hope this helps

 2015-02-28 18:34 GMT+01:00 Alexander Bruy alexander.b...@gmail.com:
  Hi Sergio,
 
  look at the Example Provider code [0]. This is example developed
 specially
  as tutorial how to implement own provider plugins for Processing.
 
  [0]
 https://github.com/qgis/QGIS/tree/master/python/plugins/processing/algs/exampleprovider
 
  2015-02-28 19:21 GMT+02:00 Sergio Vignali vignalisergi...@gmail.com:
  Thank you Victor and Anita,
  maybe my message was not so clear. Yes I know how to write a simple
 script,
  but I would like to transform it in a plugin.
  The simple script, for that I know, does not allow to insert a combobox
  while in some plugin like LECOS there is one.
  It is difficult for me reading the plugin code and understand which
 part is
  for a normal plugin and which one for the processing toolbox, if you
 have
  any suggestion please let me know.
 
  Best
 
  Sergio
 
  2015-02-28 18:05 GMT+01:00 Anita Graser anitagra...@gmx.at:
 
  On Sat, Feb 28, 2015 at 5:47 PM, Sergio Vignali
  vignalisergi...@gmail.com wrote:
 
  Dear all,
  I would like to know if there is a tutorial or text that explains how
 to
  write a plugin for the processing toolbox. The QGis documentation
 explains
  how to write a plugin but I didn't find anything about the processing
  toolbox... So I would like to know the structure and the code
 necessary to
  add some script to the toolbox.
 
 
  Hi Sergio,
 
  If you just want to add a simple script to the Processing toolbox, you
  don't need a plugin at all. All you need to do is go to Scripts |
 Tools |
  Create new script in the toolbox. You can find many examples of how
 these
  scripts have to look like in the following repository:
 
  https://github.com/qgis/QGIS-Processing/tree/master/scripts
 
  Best wishes
  Anita
 
 
 
 
  --
  Sergio Vignali
 
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 
 
 
  --
  Alexander Bruy
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer




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

Re: [Qgis-developer] info about plugin and processing toolbox

2015-02-28 Thread Anita Graser
On Sat, Feb 28, 2015 at 5:47 PM, Sergio Vignali vignalisergi...@gmail.com
wrote:

 Dear all,
 I would like to know if there is a tutorial or text that explains how to
 write a plugin for the processing toolbox. The QGis documentation explains
 how to write a plugin but I didn't find anything about the processing
 toolbox... So I would like to know the structure and the code necessary to
 add some script to the toolbox.


​Hi Sergio,

If you just want to add a simple script to the Processing toolbox, you
don't need a plugin at all. All you need to do is go to Scripts | Tools |
Create new script in the toolbox. You can find many examples of how these
scripts have to look like in the following repository:

https://github.com/qgis/QGIS-Processing/tree/master/scripts

Best wishes
Anita
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] info about plugin and processing toolbox

2015-02-28 Thread Sergio Vignali
Thank you Victor and Anita,
maybe my message was not so clear. Yes I know how to write a simple script,
but I would like to transform it in a plugin.
The simple script, for that I know, does not allow to insert a combobox
while in some plugin like LECOS there is one.
It is difficult for me reading the plugin code and understand which part is
for a normal plugin and which one for the processing toolbox, if you have
any suggestion please let me know.

Best

Sergio

2015-02-28 18:05 GMT+01:00 Anita Graser anitagra...@gmx.at:

 On Sat, Feb 28, 2015 at 5:47 PM, Sergio Vignali vignalisergi...@gmail.com
  wrote:

 Dear all,
 I would like to know if there is a tutorial or text that explains how to
 write a plugin for the processing toolbox. The QGis documentation explains
 how to write a plugin but I didn't find anything about the processing
 toolbox... So I would like to know the structure and the code necessary to
 add some script to the toolbox.


 ​Hi Sergio,

 If you just want to add a simple script to the Processing toolbox, you
 don't need a plugin at all. All you need to do is go to Scripts | Tools |
 Create new script in the toolbox. You can find many examples of how these
 scripts have to look like in the following repository:

 https://github.com/qgis/QGIS-Processing/tree/master/scripts

 Best wishes
 Anita




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

Re: [Qgis-developer] info about plugin and processing toolbox

2015-02-28 Thread Victor Olaya
you can add a combo box in a script, using selection as data type,
followed by the possible values separated by semicolons

For instance

method=selection First method;Another method;The last method

Hope this helps

2015-02-28 18:34 GMT+01:00 Alexander Bruy alexander.b...@gmail.com:
 Hi Sergio,

 look at the Example Provider code [0]. This is example developed specially
 as tutorial how to implement own provider plugins for Processing.

 [0] 
 https://github.com/qgis/QGIS/tree/master/python/plugins/processing/algs/exampleprovider

 2015-02-28 19:21 GMT+02:00 Sergio Vignali vignalisergi...@gmail.com:
 Thank you Victor and Anita,
 maybe my message was not so clear. Yes I know how to write a simple script,
 but I would like to transform it in a plugin.
 The simple script, for that I know, does not allow to insert a combobox
 while in some plugin like LECOS there is one.
 It is difficult for me reading the plugin code and understand which part is
 for a normal plugin and which one for the processing toolbox, if you have
 any suggestion please let me know.

 Best

 Sergio

 2015-02-28 18:05 GMT+01:00 Anita Graser anitagra...@gmx.at:

 On Sat, Feb 28, 2015 at 5:47 PM, Sergio Vignali
 vignalisergi...@gmail.com wrote:

 Dear all,
 I would like to know if there is a tutorial or text that explains how to
 write a plugin for the processing toolbox. The QGis documentation explains
 how to write a plugin but I didn't find anything about the processing
 toolbox... So I would like to know the structure and the code necessary to
 add some script to the toolbox.


 Hi Sergio,

 If you just want to add a simple script to the Processing toolbox, you
 don't need a plugin at all. All you need to do is go to Scripts | Tools |
 Create new script in the toolbox. You can find many examples of how these
 scripts have to look like in the following repository:

 https://github.com/qgis/QGIS-Processing/tree/master/scripts

 Best wishes
 Anita




 --
 Sergio Vignali


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



 --
 Alexander Bruy
 ___
 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] QGIS 2.6.1: minidumps (2nd season)

2015-02-28 Thread Niccolò Marchi

Hi Giovanni and all devs,
sorry for bothering again but, within the last 2weeks, I'm still 
experiencing minidumps.
As suggested months ago (with 2.6-- solved), I tried to uninstall 
plugins in a progressive way but, this time, it's not simple to 
understand what can cause the crash due to the fact that it appears just 
sometimes in different situations (mainly quick zoom inout, or while 
loading sth). I don't know if it can be related to the multiple 
processor rendering.
The project has: around 20 shapefile, Bing OpenLayer (mostly switched 
off) and around 50 tiff maps (mostly switched off).

Probably similar to THIS ISSUE https://hub.qgis.org/issues/12077.
Am I the only one?

I'm working on W8.1 64bit and QGIS 2.6.1 from Osgeo 64bit.

Thank you all!

all the best,

Niccolò


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] info about plugin and processing toolbox

2015-02-28 Thread Victor Olaya
http://docs.qgis.org/2.6/en/docs/user_manual/processing/scripts.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Mixing GPL-2 GPL-3 code in QGIS (official Debian package rejected by FTP master)

2015-02-28 Thread Sebastiaan Couwenberg
Hi all,

After 4 releases and a significant update of the debian/copyright file,
the Debian FTP masters have reviewed the qgis package and unfortunately
rejected it due to incompatibly licensed code.

I've included the FTP master response below, and it's also available in
the list archive:

http://lists.alioth.debian.org/pipermail/pkg-grass-devel/2015-February/027884.html

The dxf2shp_converter plugin contains code under GPL-2 (v2 only), GPL-2+
(v2 or later), MIT, LGPL-2+ and commercial licenses. This is documented
in the debian/copyright file as follows:


Files: src/plugins/dxf2shp_converter/builder.cpp
 src/plugins/dxf2shp_converter/builder.h
Copyright: 1999, Frank Warmerdam warme...@pobox.com
Comment: The code is heavily based on Christopher Michaelis' DXF to
 Shapefile Converter (http://www.wanderingidea.com/content/view/12/25/),
 released under GPL License
 .
 This code is based on two other products:
DXFLIB (http://www.ribbonsoft.com/dxflib.html)
 This is a library for reading DXF files, also GPL.
SHAPELIB (http://shapelib.maptools.org/)
 Used for the Shapefile functionality.
License: MIT

Files: src/plugins/dxf2shp_converter/getInsertions.h
Copyright: Christopher Michaelis
License: GPL-2

Files: src/plugins/dxf2shp_converter/getInsertions.cpp
Copyright: Christopher Michaelis
License: GPL-2+

Files: src/plugins/dxf2shp_converter/shapelib-1.2.10/*
Copyright: 1999, 2001-2002, Frank Warmerdam
License: MIT or LGPL-2+

Files: src/plugins/dxf2shp_converter/dxflib/src/*
Copyright: 2001-2003, RibbonSoft
2001, Robert J. Campbell Jr
License: GPL-2 or dxflib-Commercial-License


The GPL-2 (v2 only) files are problematic because their license prevents
the upgrade to the GPL-3+ license used for libpal:


Files: src/core/pal/*
Copyright: 2008, Maxence Laurent, MIS-TIC, HEIG-VD
License: GPL-3+

Files: src/core/pal/costcalculator.cpp
 src/core/pal/costcalculator.h
Copyright: 2009, Martin Dobias
License: GPL-2+

Files: src/core/pal/rtree.hpp
Copyright: disclaimed
Comment: from http://www.superliminal.com/
 .
 AUTORS
- 1983 Original algorithm and test code by Antonin Guttman and
  Michael Stonebraker, UC Berkely
- 1994 ANCI C ported from original test code by Melinda Green -
  meli...@superliminal.com
- 1995 Sphere volume fix for degeneracy problem submitted by
  Paul Brook
- 2004 Templated C++ port by Greg Douglas
- 2008 Portability issues fixed by Maxence Laurent
License: public-domain
 LICENSE : Entirely free for all uses. Enjoy!
 This File is in the public domain


The use of the GPL instead of LGPL by libpal is unfortunate, because the
GPL doesn't have the link exceptions. The use libpal in QGIS makes the
combination fall under the GPL-3+ which GPL-2+ license for QGIS allows,
but the GPL-2 licensed work do not.

See the GPL license compatibility matrix for an overview of the effects
of combining works under various GPL licenses:

http://www.gnu.org/licenses/gpl-faq.html#AllCompatibility

To keep the combined work shipped in QGIS releases under the GPL-2+
license of GPL-3+ works needs to be changed. This requires all copyright
holders of the work to consent with the GPL-2+ license for their
contributions.


libpam is not the only problematic GPL-3+ work included in QGIS, a
couple of resources are too:


Files: resources/cpt-city-qgis-min/ds9/*
Copyright: 2010, William Joye
License: GPL-3+

Files: resources/cpt-city-qgis-min/grass/*
Copyright: 2009, GRASS Development Team
License: GPL-3+


Removing the dxf2shp_converter plugin from QGIS would get rid of the
problematic GPL-2 licensed works, but the inclusion of GPL-3+ works
still upgrades the GPL-2+ license for QGIS to GPL-3+.

Excluding the GPL-3+ resources doesn't look very problematic at first
glance, but I expect the removal of libpal to cause more breakage.


Besides the GPL-2/GPL-3 issue, one of the resources also has problematic
license terms:


Files: resources/cpt-city-qgis-min/es/*
Copyright: 2008, ElvenSword (http://elvensword.deviantart.com/)
Comment: Credit requested for use, required for distribution
License: ElvenSword
 For use:
 .
 * Using for commercial works, prints:
 Yes. There is no need ask permission first, or after.
 My resources are free for personal or commercial arts works. Credit is
 enough if possible, if there is a description. Note link to me not
 necessary. But it is good, I can not see them otherwise, feel free
 about it.
 .
 * Using in only DA:
 I submit them only DA yes, but you may use out of DA.
 .
 For distribute:
 .
 * I like sharing. So okay distributing my resources with credit,
 for good, for free. But,
 .
 * Do not distribute my resource files without original preview.
 ('cause previews including credit. Credit is important point on
 this situation.)
 .
 * Do not remove my name on it (preview). I saw some Turkish and
 Russian forum sites delete artists names though, and they puting
 their own cursed crappy logos on the previews. It is not sharing.
 It is ...
 .
 * Do