Re: [QGIS-Developer] Changelog for 3.8! ARgh!

2019-07-15 Thread Matthias Kuhn

Hi Tim

On 6/23/19 8:37 PM, Tim Sutton wrote:

Hi Matthias

On 21 Jun 2019, at 11:47, Matthias Kuhn > wrote:


Hi

On 6/21/19 9:03 AM, Tim Sutton wrote:

Hi

On 21 Jun 2019, at 08:50, Matthias Kuhn > wrote:



Yes, I think it would make a lot of sense to integrate the 
changelog creation directly with labels into pull requests.


Since projecta is also based on markdown this should all play 
nicely together. And we could even add an (optional) #Changelog 
section to the pull requests and some other tags to automatically 
set funder etc. so one could already write the whole changelog 
entry during the development cycle. That should easily pay back 
with all the volunteer time that is saved during the already busy 
run up time to release!


Resource wise, most the allocated time in the grant proposal is for 
getting the service up and running and integrating with all the 
notification hooks. Parsing the content and sending it to another 
API should be pretty much straightforward. The main question would 
rather be if creation of new versions can also be automated and how 
to decide to which version a new feature should be sent (i.e. find 
out the "current" version). The best match for this would probably 
be to use github milestones. In the end I would say that this 
should increase the offer by 20%.


Tim, is everything ready on your end for that?


So yes we would be happy to pitch in to help here. Admire can help 
more immediately by getting this changelog ready and we can work 
with Anita (Hapsari) to get things in place to support PR githook 
thing-a-me-doodahs. (See my reply to OP)


Great! I started with the changelog, but it's not even close to 
finished, so whatever Admire gets too on Monday will be appreciated. 
And of course whatever others get to meanwhile!


Concerning the changelog, I think there are too possibilities:

  * Integrate it into the service we are going to set up if the grant 
proposal is accepted. This will already have some logic builtin to 
cover things like also reacting to labels added after the PR is 
merged etc.


  * Bypass the grant proposal service and directly hook into the 
github webhooks, which I think is what you propose.




Can you share the link again to your proposal?


Sure,

After some fiddling I finally found the link to the proposals again.

https://docs.google.com/document/d/1VzgLJ-hy2GtcWrAy5geivhDDdXRGJUDcikCWUtXRe9k/edit#heading=h.cuzf1c5o2ciq

Basically the idea is to do pretty much the same thing as the GitHub 
Backporting App (https://github.com/tibdex/backport#goal). The app will 
listen to label changes and state (open/close) changes and open issues 
on the docs repo accordingly, but could very well also call other REST 
APIs upon such events. The result should be a fairly generic and open 
source Github App, that can be installed on any repo and configured via 
a yaml file inside the repo.


Best regards

Matthias




Yes I was leaning towards a generic approach if possible, but let me 
read your proposal again and see how that fits in…


Regards

Tim

I think the main advantage of the first one would be that it could be 
integrated in a single tool and since we would be working on it 
already it would be less effort. The second one would add some value 
to projecta if it can be used for other projects too.


I'm happy to step back if the second one is preferred.

Regards

Matthias




Regards

Tim




—








*Tim Sutton*

*Co-founder:*Kartoza
*Ex Project chair:*QGIS.org 

Visit http://kartoza.com  to find out about open 
source:


Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

*Skype*: timlinux
*IRC:*timlinux on #qgis at freenode.net 

I'd love to connect. Here's my calendar link 
 to make finding time easy.


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 7 Report

2019-07-15 Thread Martin Dobias
Hi

On Mon, Jul 15, 2019 at 9:40 PM Ismail Sunni  wrote:

>  Nice screencast. Are billboards able to handle alpha/opacity channel for
>> a given raster?
>
>
> Do you mean the billboard is transparent and we can see the stuff behind
> it?
>
> Well, I am not in that level of understanding of this 3D rendering. But I
> can say it's not easy to do something transparent in the 3D world. Since we
> need to reconsider how it will be done (without transparency means we just
> ignore the covered surface of the 3D objects, while with transparency we
> need to know the order of the object). That's what I got from my discussion
> with Martin. *Please correct me if I am wrong Martin :)
>

For billboards that do not rectangular shape (a circle) yes that should be
possible and easy to support fully transparent pixels. For semi-transparent
images, there will be an issue, rendering output is not going to look good
without some special techniques because of how Z buffer works and because
objects would need to be always rendered back to front (from camera's view)
for alpha blending to be correct.

Cheers
Martin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 7 Report

2019-07-15 Thread Tim Sutton
Hi



On Mon, 15 Jul 2019, 20:39 Ismail Sunni,  wrote:

> Hi Tim and Mathieu,
>
> Thanks! Do the billboards always face the camera? Or can you fly behind
>> them?
>
>
> It will always face the came, by definition :).
>

I imagined more they would behave like real billboards, facing a particular
direction (or at least having the option to do that).

Regards

Tim
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 7 Report

2019-07-15 Thread Ismail Sunni
Hi Tim and Mathieu,

Thanks! Do the billboards always face the camera? Or can you fly behind
> them?


It will always face the came, by definition :).

And will you give them a little pin and frame to anchor them to a place?


Do you mean like a line to connect the billboard to the terrain? There is a
wishlist for that. But the first step, render this billboard on QGIS first.

 Nice screencast. Are billboards able to handle alpha/opacity channel for a
> given raster?


Do you mean the billboard is transparent and we can see the stuff behind
it?

Well, I am not in that level of understanding of this 3D rendering. But I
can say it's not easy to do something transparent in the 3D world. Since we
need to reconsider how it will be done (without transparency means we just
ignore the covered surface of the 3D objects, while with transparency we
need to know the order of the object). That's what I got from my discussion
with Martin. *Please correct me if I am wrong Martin :)

Best regards/


On Mon, Jul 15, 2019 at 4:10 PM Mathieu Pellerin 
wrote:

> Nice screencast. Are billboards able to handle alpha/opacity channel for a
> given raster?
>
> On Mon, Jul 15, 2019, 20:10 Ismail Sunni  wrote:
>
>> Hi Tim,
>>
>> Hehe, yeah, I am the one who missed it. I put it in my billboard
>> repository now:
>> https://github.com/ismailsunni/qt3d-custom-shader/blob/master/README.md (both
>> screenshot and screencast). I will update my weekly report to show the
>> screenshot and the screencast.
>>
>> You can also see it here:
>>
>>1. Screenshot:
>>
>> https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.jpg
>>2. Screencast in GIF:
>>
>> https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.gif
>>
>> Thanks for reminding me :)
>>
>> Best Regards
>>
>> On Mon, Jul 15, 2019 at 12:40 AM Tim Sutton  wrote:
>>
>>> Hi
>>>
>>>
>>> A no screenshots? Did I miss them? Its the most exciting part of
>>> your reports :-P
>>>
>>> Keep up the good work Sunni!
>>>
>>> Regards
>>>
>>> Tim
>>>
>>> On 14 Jul 2019, at 19:48, Ismail Sunni  wrote:
>>>
>>> Dear QGIS developers,
>>>
>>> Here is my 7th-week report for my GSoC Project[7]. You can also check
>>> the project wiki page [3]. Comments and suggestions are welcome :)
>>>
>>> GSoC QGIS 3D Improvement Week 7 Report
>>>
>>> *Period*: 8 July 2019 - 14 July 2019
>>>
>>> *Report*
>>> 1. What did I complete this week?
>>>- Porting billboard from QML to QT C++ [4] as my discussion with
>>> mentors to start from outside QGIS first.
>>>- Learning GLSL
>>>- Add UI for the billboard options (very initial work only) [1]
>>> 2. What am I going to achieve for next week?
>>>- Move the ported billboard to QGIS code
>>>- Work on the applying billboard workflow
>>> 3. Is there any blocking issue?
>>>- Debugging in 3D stuff is not easy. Especially when something is not
>>> shown up and no error message. I got an obstacle when the billboard didn't
>>> show up. But finally Martin helps me, and it's fixed.
>>> 4. Code
>>>- Branch for billboard feature [1]
>>>- Repo for QT C++ billboard [4]
>>> 5. Misc
>>>- As I wrote on the previous weekly report, I only had a half time
>>> for working on GSoC compared to the usual week.
>>>- PR for measurement tool is merged [2]
>>>- There are two small bugs in the measurement tools, I have created
>>> the issues for myself [5] [6]. I will address it later.
>>>- For the next 3 weeks, I have different course schedule, so we will
>>> move our weekly meeting schedule.
>>>
>>> *References*
>>> - [1] https://github.com/ismailsunni/QGIS/tree/billboard
>>> - [2] https://github.com/qgis/QGIS/pull/30299
>>> - [3] Project Wiki:
>>> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
>>> - [4] https://github.com/ismailsunni/qt3d-custom-shader
>>> - [5] https://github.com/ismailsunni/QGIS/issues/4
>>> - [6] https://github.com/ismailsunni/QGIS/issues/5
>>> - [7] https://github.com/ismailsunni/QGIS/wiki/Week-7-Report
>>>
>>> Best Regards.
>>>
>>> --
>>> Ismail Sunni
>>> ismailsunni.wordpress.com
>>> ___
>>> QGIS-Developer mailing list
>>> QGIS-Developer@lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>>
>>> —
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Tim Sutton*
>>>
>>> *Co-founder:* Kartoza
>>> *Ex Project chair:* QGIS.org
>>>
>>> Visit http://kartoza.com to find out about open source:
>>>
>>> Desktop GIS programming services
>>> Geospatial web development
>>> GIS Training
>>> Consulting Services
>>>
>>> *Skype*: timlinux
>>> *IRC:* timlinux on #qgis at freenode.net
>>>
>>> I'd love to connect. Here's my calendar link
>>>  to make finding time easy.
>>>
>>>
>>
>> --
>> Ismail Sunni
>> ismailsunni.wordpress.com
>> 

[QGIS-Developer] Plugin [1732] Usługa Lokalizacji Działek Katastralnych approval notification.

2019-07-15 Thread noreply

Plugin Usługa Lokalizacji Działek Katastralnych approval by pcav.
The plugin version "[1732] Usługa Lokalizacji Działek Katastralnych 0.1" is now 
approved
Link: http://plugins.qgis.org/plugins/uldk_gugik/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1732] Usługa Lokalizacji Działek Katastralnych approval notification.

2019-07-15 Thread noreply

Plugin Usługa Lokalizacji Działek Katastralnych approval by pcav.
The plugin version "[1732] Usługa Lokalizacji Działek Katastralnych Oak" is now 
approved
Link: http://plugins.qgis.org/plugins/uldk_gugik/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1410] ImportPhotos approval notification.

2019-07-15 Thread noreply

Plugin ImportPhotos approval by pcav.
The plugin version "[1410] ImportPhotos 2.2" is now approved
Link: http://plugins.qgis.org/plugins/ImportPhotos/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 7 Report

2019-07-15 Thread Mathieu Pellerin
Nice screencast. Are billboards able to handle alpha/opacity channel for a
given raster?

On Mon, Jul 15, 2019, 20:10 Ismail Sunni  wrote:

> Hi Tim,
>
> Hehe, yeah, I am the one who missed it. I put it in my billboard
> repository now:
> https://github.com/ismailsunni/qt3d-custom-shader/blob/master/README.md (both
> screenshot and screencast). I will update my weekly report to show the
> screenshot and the screencast.
>
> You can also see it here:
>
>1. Screenshot:
>
> https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.jpg
>2. Screencast in GIF:
>
> https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.gif
>
> Thanks for reminding me :)
>
> Best Regards
>
> On Mon, Jul 15, 2019 at 12:40 AM Tim Sutton  wrote:
>
>> Hi
>>
>>
>> A no screenshots? Did I miss them? Its the most exciting part of your
>> reports :-P
>>
>> Keep up the good work Sunni!
>>
>> Regards
>>
>> Tim
>>
>> On 14 Jul 2019, at 19:48, Ismail Sunni  wrote:
>>
>> Dear QGIS developers,
>>
>> Here is my 7th-week report for my GSoC Project[7]. You can also check the
>> project wiki page [3]. Comments and suggestions are welcome :)
>>
>> GSoC QGIS 3D Improvement Week 7 Report
>>
>> *Period*: 8 July 2019 - 14 July 2019
>>
>> *Report*
>> 1. What did I complete this week?
>>- Porting billboard from QML to QT C++ [4] as my discussion with
>> mentors to start from outside QGIS first.
>>- Learning GLSL
>>- Add UI for the billboard options (very initial work only) [1]
>> 2. What am I going to achieve for next week?
>>- Move the ported billboard to QGIS code
>>- Work on the applying billboard workflow
>> 3. Is there any blocking issue?
>>- Debugging in 3D stuff is not easy. Especially when something is not
>> shown up and no error message. I got an obstacle when the billboard didn't
>> show up. But finally Martin helps me, and it's fixed.
>> 4. Code
>>- Branch for billboard feature [1]
>>- Repo for QT C++ billboard [4]
>> 5. Misc
>>- As I wrote on the previous weekly report, I only had a half time for
>> working on GSoC compared to the usual week.
>>- PR for measurement tool is merged [2]
>>- There are two small bugs in the measurement tools, I have created
>> the issues for myself [5] [6]. I will address it later.
>>- For the next 3 weeks, I have different course schedule, so we will
>> move our weekly meeting schedule.
>>
>> *References*
>> - [1] https://github.com/ismailsunni/QGIS/tree/billboard
>> - [2] https://github.com/qgis/QGIS/pull/30299
>> - [3] Project Wiki:
>> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
>> - [4] https://github.com/ismailsunni/qt3d-custom-shader
>> - [5] https://github.com/ismailsunni/QGIS/issues/4
>> - [6] https://github.com/ismailsunni/QGIS/issues/5
>> - [7] https://github.com/ismailsunni/QGIS/wiki/Week-7-Report
>>
>> Best Regards.
>>
>> --
>> Ismail Sunni
>> ismailsunni.wordpress.com
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>> —
>>
>>
>>
>>
>>
>>
>>
>>
>> *Tim Sutton*
>>
>> *Co-founder:* Kartoza
>> *Ex Project chair:* QGIS.org
>>
>> Visit http://kartoza.com to find out about open source:
>>
>> Desktop GIS programming services
>> Geospatial web development
>> GIS Training
>> Consulting Services
>>
>> *Skype*: timlinux
>> *IRC:* timlinux on #qgis at freenode.net
>>
>> I'd love to connect. Here's my calendar link
>>  to make finding time easy.
>>
>>
>
> --
> Ismail Sunni
> ismailsunni.wordpress.com
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 7 Report

2019-07-15 Thread Tim Sutton
Thanks! Do the billboards always face the camera? Or can you fly behind them? 
And will you give them a little pin and frame to anchor them to a place?

T

> On 15 Jul 2019, at 14:09, Ismail Sunni  wrote:
> 
> Hi Tim,
> 
> Hehe, yeah, I am the one who missed it. I put it in my billboard repository 
> now: https://github.com/ismailsunni/qt3d-custom-shader/blob/master/README.md 
>  
> (both screenshot and screencast). I will update my weekly report to show the 
> screenshot and the screencast.
> 
> You can also see it here:
> Screenshot: 
> https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.jpg
>  
> 
> Screencast in GIF: 
> https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.gif
>  
> 
> Thanks for reminding me :)
> 
> Best Regards
> 
> On Mon, Jul 15, 2019 at 12:40 AM Tim Sutton  > wrote:
> Hi
> 
> 
> A no screenshots? Did I miss them? Its the most exciting part of your 
> reports :-P
> 
> Keep up the good work Sunni!
> 
> Regards
> 
> Tim
> 
>> On 14 Jul 2019, at 19:48, Ismail Sunni > > wrote:
>> 
>> Dear QGIS developers,
>> 
>> Here is my 7th-week report for my GSoC Project[7]. You can also check the 
>> project wiki page [3]. Comments and suggestions are welcome :)
>> 
>> GSoC QGIS 3D Improvement Week 7 Report
>> 
>> Period: 8 July 2019 - 14 July 2019
>> 
>> Report
>> 1. What did I complete this week?
>>- Porting billboard from QML to QT C++ [4] as my discussion with mentors 
>> to start from outside QGIS first.
>>- Learning GLSL
>>- Add UI for the billboard options (very initial work only) [1]
>> 2. What am I going to achieve for next week?
>>- Move the ported billboard to QGIS code
>>- Work on the applying billboard workflow
>> 3. Is there any blocking issue?
>>- Debugging in 3D stuff is not easy. Especially when something is not 
>> shown up and no error message. I got an obstacle when the billboard didn't 
>> show up. But finally Martin helps me, and it's fixed.
>> 4. Code
>>- Branch for billboard feature [1]
>>- Repo for QT C++ billboard [4]
>> 5. Misc
>>- As I wrote on the previous weekly report, I only had a half time for 
>> working on GSoC compared to the usual week.
>>- PR for measurement tool is merged [2]
>>- There are two small bugs in the measurement tools, I have created the 
>> issues for myself [5] [6]. I will address it later.
>>- For the next 3 weeks, I have different course schedule, so we will move 
>> our weekly meeting schedule.
>> 
>> References
>> - [1] https://github.com/ismailsunni/QGIS/tree/billboard 
>> 
>> - [2] https://github.com/qgis/QGIS/pull/30299 
>> 
>> - [3] Project Wiki: 
>> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement 
>> 
>> - [4] https://github.com/ismailsunni/qt3d-custom-shader 
>> 
>> - [5] https://github.com/ismailsunni/QGIS/issues/4 
>> 
>> - [6] https://github.com/ismailsunni/QGIS/issues/5 
>> 
>> - [7] https://github.com/ismailsunni/QGIS/wiki/Week-7-Report 
>> 
>> 
>> Best Regards.
>> 
>> -- 
>> Ismail Sunni
>> ismailsunni.wordpress.com 
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org 
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
>> 
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
>> 
> —
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Tim Sutton
> 
> Co-founder: Kartoza
> Ex Project chair: QGIS.org 
> 
> Visit http://kartoza.com  to find out about open source:
> 
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
> 
> Skype: timlinux 
> IRC: timlinux on #qgis at freenode.net 
> 
> I'd love to connect. Here's my calendar link  
> to make finding time easy.
> 
> 
> 
> -- 
> Ismail Sunni
> ismailsunni.wordpress.com 
—









Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com  to find out about open 

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 7 Report

2019-07-15 Thread Ismail Sunni
Hi Tim,

Hehe, yeah, I am the one who missed it. I put it in my billboard repository
now: https://github.com/ismailsunni/qt3d-custom-shader/blob/master/README.md
(both
screenshot and screencast). I will update my weekly report to show the
screenshot and the screencast.

You can also see it here:

   1. Screenshot:
   
https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.jpg
   2. Screencast in GIF:
   
https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.gif

Thanks for reminding me :)

Best Regards

On Mon, Jul 15, 2019 at 12:40 AM Tim Sutton  wrote:

> Hi
>
>
> A no screenshots? Did I miss them? Its the most exciting part of your
> reports :-P
>
> Keep up the good work Sunni!
>
> Regards
>
> Tim
>
> On 14 Jul 2019, at 19:48, Ismail Sunni  wrote:
>
> Dear QGIS developers,
>
> Here is my 7th-week report for my GSoC Project[7]. You can also check the
> project wiki page [3]. Comments and suggestions are welcome :)
>
> GSoC QGIS 3D Improvement Week 7 Report
>
> *Period*: 8 July 2019 - 14 July 2019
>
> *Report*
> 1. What did I complete this week?
>- Porting billboard from QML to QT C++ [4] as my discussion with
> mentors to start from outside QGIS first.
>- Learning GLSL
>- Add UI for the billboard options (very initial work only) [1]
> 2. What am I going to achieve for next week?
>- Move the ported billboard to QGIS code
>- Work on the applying billboard workflow
> 3. Is there any blocking issue?
>- Debugging in 3D stuff is not easy. Especially when something is not
> shown up and no error message. I got an obstacle when the billboard didn't
> show up. But finally Martin helps me, and it's fixed.
> 4. Code
>- Branch for billboard feature [1]
>- Repo for QT C++ billboard [4]
> 5. Misc
>- As I wrote on the previous weekly report, I only had a half time for
> working on GSoC compared to the usual week.
>- PR for measurement tool is merged [2]
>- There are two small bugs in the measurement tools, I have created the
> issues for myself [5] [6]. I will address it later.
>- For the next 3 weeks, I have different course schedule, so we will
> move our weekly meeting schedule.
>
> *References*
> - [1] https://github.com/ismailsunni/QGIS/tree/billboard
> - [2] https://github.com/qgis/QGIS/pull/30299
> - [3] Project Wiki:
> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
> - [4] https://github.com/ismailsunni/qt3d-custom-shader
> - [5] https://github.com/ismailsunni/QGIS/issues/4
> - [6] https://github.com/ismailsunni/QGIS/issues/5
> - [7] https://github.com/ismailsunni/QGIS/wiki/Week-7-Report
>
> Best Regards.
>
> --
> Ismail Sunni
> ismailsunni.wordpress.com
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> —
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Ex Project chair:* QGIS.org
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> I'd love to connect. Here's my calendar link
>  to make finding time easy.
>
>

-- 
Ismail Sunni
ismailsunni.wordpress.com
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Procesing pyqgis with alg decorator

2019-07-15 Thread matteo
Hi all,

I'm trying a super simple script in Processing with the alg decorator
syntax.

Basically I'm not doing anything, but a weird error is thrown when I try
to append vector layer features to a list:

NameError: free variable 'self' referenced before assignment in
enclosing scope
Traceback (most recent call last):
  File
"/home/matteo/dev/build-QGIS-Desktop-Default/output/python/plugins/processing/gui/AlgorithmDialog.py",
line 244, in on_complete
self.feedback.pushInfo(self.tr('Execution completed in {0:0.2f}
seconds').format(time.time() - start_time))
NameError: free variable 'self' referenced before assignment in
enclosing scope


And this the super small script:


from qgis.processing import alg
from qgis.core import QgsFeature, QgsFeatureSink

@alg(name="myalg", label=alg.tr("My Algorithm"), group="examplescripts",
group_label=alg.tr("Example Scripts"))
@alg.input(type=alg.SOURCE, name="INPUT", label="Input layer")
@alg.input(type=alg.SINK, name="OUTPUT", label="Output layer")

def myalg(instance, parameters, context, feedback, inputs):
"""
Description goes here. (Don't delete this! Removing this comment
will cause errors.)
"""
source = instance.parameterAsSource(parameters, "INPUT", context)

(sink, dest_id) = instance.parameterAsSink(
parameters,
"OUTPUT",
context,
source.fields(),
source.wkbType(),
source.sourceCrs()
)

l = []

features = source.getFeatures()

for current, feature in enumerate(features):

l.append(feature)

out_feature = QgsFeature(feature)
sink.addFeature(out_feature, QgsFeatureSink.FastInsert)

return {"OUTPUT": dest_id}

Some ideas?

Cheers and thanks

Matteo




___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1538] Land Survey Codes Import approval notification.

2019-07-15 Thread noreply

Plugin Land Survey Codes Import approval by pcav.
The plugin version "[1538] Land Survey Codes Import 0.1.1" is now approved
Link: http://plugins.qgis.org/plugins/LandSurveyCodesImport/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer