Re: [QGIS-Developer] Changelog descriptions for Scenes

2023-11-05 Thread Nyall Dawson via QGIS-Developer
On Thu, 2 Nov 2023 at 19:01, Tim Sutton via QGIS-Developer <
qgis-developer@lists.osgeo.org> wrote:

> Hi all
>
> Martin / Nyall - I noticed we don't have anything in the 3.34 changelog (
> https://changelog.qgis.org/en/qgis/version/3.34) for the new 3D scenes,
> adding Cesium / Google 3d tiles. I think most users won't even realise this
> cool new functionality is there. Could you share some content for us to add
> to the changelog (and for Selma to add to the user manual)?
>

Hi Tim!

I've submitted a PR adding this at
https://github.com/qgis/QGIS-Website/pull/1197 .

I can't work out how to embed a video for the item though... it needs to
have the video at https://youtu.be/lvl8zVZ8glY attached. Any ideas?

Nyall



>
> Thanks!
>
> Tim
>
> --
>
> --
>
> Tim Sutton
> Kartoza Co-Founder
> Visit http://kartoza.com to find out about open source:
>  * Desktop GIS programming services
>  * Geospatial web development
> * GIS Training
> * Consulting Services
> Tim is a member of the QGIS Project Steering Committee
>
> ---
> ___
> 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] Removing __author__ , __date__, __copyright__ from python files?

2023-11-05 Thread Sebastiaan Couwenberg via QGIS-Developer

On 11/6/23 22:53, Nyall Dawson via QGIS-Developer wrote:

I'd like to propose that we remove all the __author__ , __date__ and
__copyright__ strings from the python files in our repository.


Please also remove __revision__ which changes the commit hash in every 
release tarball without any changes to the file content cluttering the 
diff which needs to be reviewed for license & copyright changes.


Kind Regards,

Bas

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

___
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] Removing __author__ , __date__, __copyright__ from python files?

2023-11-05 Thread Nyall Dawson via QGIS-Developer
Hey list,

I'd like to propose that we remove all the __author__ , __date__ and
__copyright__ strings from the python files in our repository.

My thinking:

- This isn't an official Python style standard or universally recommended
approach. It *is* used elsewhere, but there's an equally large group which
consider it just unnecessary noise.
- It's misleading, and presents the incorrect impression that a single
person is responsible for the code in that file. That's 100% NOT the case
with QGIS.
- It's all redundant. This information is available in a MUCH more accurate
form via git history.

Are there any objections to removing this?

(For completeness: In a follow up proposal I'm going to suggest removing
ALL the "Date: / Copyright: / Email: " strings from our file headers, for
the same reasons).

Nyall
___
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] Open plugin automatically when file is dragged onto QGIS

2023-11-05 Thread Nyall Dawson via QGIS-Developer
On Mon, 6 Nov 2023, 6:32 am David Signer via QGIS-Developer, <
qgis-developer@lists.osgeo.org> wrote:

> You can use an eventfilter. You can find an example here
> https://github.com/opengisch/QgisModelBaker/blob/master/QgisModelBaker/qgismodelbaker.py#L507C7-L552
>

A better approach would be a QgsCustomDropHandler. See

https://api.qgis.org/api/3.28/classQgsCustomDropHandler.html

Nyall


>
> However, it may be appropriate to have a setting for this. In the plugin
> mentioned above, the user is asked if they want to open this type of file
> always with this plugin in the future.
>
> Cheers
> Dave
>
> On Sun, Nov 5, 2023 at 1:54 AM Pankajeshwara Sharma via QGIS-Developer <
> qgis-developer@lists.osgeo.org> wrote:
>
>> Hello all,
>>
>> I would like a feature within QGIS so that when files with ".xyz"
>> extension are dragged onto the application, would make my plugin to open
>> automatically.
>> This can prevent the user from having to go to the File menu and open the
>> file.
>>
>> This is similar to when shapefiles are dragged onto QGIS, and the
>> shapefiles are automatically loaded and displayed in QGIS.
>> Except, dragging a file with a ".xyz" extension should result in my
>> plugin (a dialog box from then plugin) to open.
>>
>> Is there a setting I can configure?
>>
>> Yours sincerely,
>> Pankaj Sharma
>> Research Fellow
>> University of Auckland
>> pankaj.sha...@auckland.ac.nz
>> ___
>> 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
>
___
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] Open plugin automatically when file is dragged onto QGIS

2023-11-05 Thread David Signer via QGIS-Developer
You can use an eventfilter. You can find an example here
https://github.com/opengisch/QgisModelBaker/blob/master/QgisModelBaker/qgismodelbaker.py#L507C7-L552

However, it may be appropriate to have a setting for this. In the plugin
mentioned above, the user is asked if they want to open this type of file
always with this plugin in the future.

Cheers
Dave

On Sun, Nov 5, 2023 at 1:54 AM Pankajeshwara Sharma via QGIS-Developer <
qgis-developer@lists.osgeo.org> wrote:

> Hello all,
>
> I would like a feature within QGIS so that when files with ".xyz"
> extension are dragged onto the application, would make my plugin to open
> automatically.
> This can prevent the user from having to go to the File menu and open the
> file.
>
> This is similar to when shapefiles are dragged onto QGIS, and the
> shapefiles are automatically loaded and displayed in QGIS.
> Except, dragging a file with a ".xyz" extension should result in my plugin
> (a dialog box from then plugin) to open.
>
> Is there a setting I can configure?
>
> Yours sincerely,
> Pankaj Sharma
> Research Fellow
> University of Auckland
> pankaj.sha...@auckland.ac.nz
> ___
> 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] Can't download models

2023-11-05 Thread Tim Sutton via QGIS-Developer
Hi

We are aware of the issue - it seems some models were lost too :-( We will
try to get it resolved as best we can (including contacting original
authors where needed) over the next week or two.

My apologies for the inconvenience.

Regards

Tim

On Sun, Nov 5, 2023 at 11:57 AM Laurențiu Nicola via QGIS-Developer <
qgis-developer@lists.osgeo.org> wrote:

> Thank you, I'll pass it on to the user who asked about them.
>
> Laurentiu
>
> On Sun, Nov 5, 2023, at 13:44, Andrea Giudiceandrea via QGIS-Developer
> wrote:
> > Il 05/11/2023 12:22, Laurențiu Nicola via QGIS-Developer ha scritto:
> >> I can't download anything from https://plugins.qgis.org/models/
> >> , every links returns a 500 error.
> >> This made [someone] believe an account is needed to get them.
> >
> > Hi all,
> > FYI the issue has been already reported some months ago:
> > https://github.com/qgis/QGIS-Django/issues/298
> >
> > Best regards.
> >
> > Andrea
> > ___
> > 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
>


-- 
--
​

Tim Sutton
Kartoza Co-Founder
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Tim is a member of the QGIS Project Steering Committee
---
___
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] Can't download models

2023-11-05 Thread Laurențiu Nicola via QGIS-Developer
Thank you, I'll pass it on to the user who asked about them.

Laurentiu

On Sun, Nov 5, 2023, at 13:44, Andrea Giudiceandrea via QGIS-Developer wrote:
> Il 05/11/2023 12:22, Laurențiu Nicola via QGIS-Developer ha scritto:
>> I can't download anything from https://plugins.qgis.org/models/ 
>> , every links returns a 500 error. 
>> This made [someone] believe an account is needed to get them.
>
> Hi all,
> FYI the issue has been already reported some months ago: 
> https://github.com/qgis/QGIS-Django/issues/298
>
> Best regards.
>
> Andrea
> ___
> 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] Can't download models

2023-11-05 Thread Andrea Giudiceandrea via QGIS-Developer

Il 05/11/2023 12:22, Laurențiu Nicola via QGIS-Developer ha scritto:
I can't download anything from https://plugins.qgis.org/models/ 
, every links returns a 500 error. 
This made believe an account is needed to get them.


Hi all,
FYI the issue has been already reported some months ago: 
https://github.com/qgis/QGIS-Django/issues/298


Best regards.

Andrea
___
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] Can't download models

2023-11-05 Thread Laurențiu Nicola via QGIS-Developer
I can't download anything from https://plugins.qgis.org/models/, every links 
returns a 500 error. This made believe an account is needed to get them.

Laurentiu

PS: about half of the mantra requests are for publishing or downloading 
plugins, is there anyone from QGIS in the mantra-request group?
___
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