Re: [Qgis-user] Announce - migrate our mailing lists to Discourse

2024-04-04 Thread David Strip via QGIS-User


  
  
I've never used Discourse so I'm not in a position to compare it's
usefulness to the existing email format. I can add one more voice
expressing satisfaction with the email approach and how it
encourages readers to view everything rather than narrowing focus to
topics of interest. It also strikes me that we will inevitably lose
some people in the transition because of the friction required to
move focus to a new format, regardless of whether you like or hate
Discourse.
  

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


Re: [Qgis-user] Announce - migrate our mailing lists to Discourse

2024-04-04 Thread Michael Shand via QGIS-User
Another great mapping list bites the dust.
I used CartoSOC for over 20 years which was great for info and connecting with 
like minded cartographers, after a merger it became a Forum and died a slow 
death.

Sent from Samsung mobile

On 4 Apr 2024 21:29, DancesWithCars via QGIS-User  
wrote:
I won't be making the transition.
Bye


On Thu, Apr 4, 2024, 14:06 chris hermansen via QGIS-User 
mailto:qgis-user@lists.osgeo.org>> wrote:
Régis and everyone else,

My apologies; I try not to top post but my response is more an overall reaction 
to your announcement rather than a point by point response.

I was a member (??) over at opensource.com's Discourse 
instance until RedHat decided to shut down support for 
opensource.com, so I have some experience with that 
Discourse configuration, also plenty of experience with mailing lists.  Also 
familiarity with the Ubuntu Forums, Stack Exchange etc.

In my experience, Discourse "out of the box" doesn't offer any net benefit to 
its users.

It's quite possible that people interested in, and willing to invest time and 
effort into customizing their usage profile would benefit more from Discourse 
than from a mailing list.  I have no experience with that.

You may be correct when you say that we will attract more new users by offering 
them Discourse than by maintaining a mailing list.  I guess the question that 
begs to be asked is, will those new users thereby turn into contributors, or 
will the biggest Discourse channel be "how do I install QGIS on my new Mac"?

I suppose, perhaps wrongly, that most of us on this (and other) mailing lists 
are here because the list provides a sense of community, an opportunity to pay 
back by offering a bit of help, an opportunity to stumble on something new and 
useful from time to time... what else?  I'm pretty sure none of us participate 
in this list to learn how to participate effectively in lists.  Moreover, we 
don't really have the tools to "only pay attention to topics X, Y and Z".  So 
all of us get to see the beginner questions, and the responses, and sometimes 
we find ourselves in the situation of starting fresh with something that, 
because of this broad familiarity, is not a total blank.

In contrast, in my experience, moving to Discourse, or any other similar 
forum-type structure, allows or even encourages us to stick to certain topics 
that we think may be of interest and avoid all others.

I would argue that we thereby cheapen and diminish our contribution back to the 
forum, simply because we miss real opportunities to help while we avoid reading 
certain topics; and by doing so, we reduce the sense of community we get by 
belonging to the list.  I would further argue that we run the risk of not 
learning many new things because by streaming topics into tens or hundreds of 
specialist channels, we inevitably miss things that might benefit us.

Finally, we have the "opportunity" to spend more of our limited time learning 
about configuring our participation in this mechanism, rather than just 
participating.  Your example of learning how to treat Discourse like a mailing 
list by following the Mozilla tutorial addresses this situation precisely - 
instead of helping a person with their configuration issues, or learning more 
about how to structure the queries used in QGIS, we are tweaking the Discourse 
knobs and levers to get the "optimum" experience.

I guess you can tell that I'm negative on this concept.  I don't feel that the 
mailing list is a be-all and end-all.  But I am pretty sure, again based on my 
experience, that the lovely community we have here on 
qgis-user@lists.osgeo.org will not be the 
same collection of good things once migrated to Discourse.  I do hope that I am 
wrong!

On Wed, Apr 3, 2024 at 7:04 AM Régis Haubourg via QGIS-User 
mailto:qgis-user@lists.osgeo.org>> wrote:

[Message sent to all QGIS's lists. Sorry for crossposting - **please reply only 
in PSC list**  ]

[stuff deleted]


Any thought from you is more than welcome, from ranting against modernity to 
thanking SAC for their hard work.

 And thank you, SAC, for your hard work!

--

Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

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


Re: [Qgis-user] Announce - migrate our mailing lists to Discourse

2024-04-04 Thread DancesWithCars via QGIS-User
I won't be making the transition.
Bye


On Thu, Apr 4, 2024, 14:06 chris hermansen via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> Régis and everyone else,
>
> My apologies; I try not to top post but my response is more an overall
> reaction to your announcement rather than a point by point response.
>
> I was a member (??) over at opensource.com's Discourse instance until
> RedHat decided to shut down support for opensource.com, so I have some
> experience with that Discourse configuration, also plenty of experience
> with mailing lists.  Also familiarity with the Ubuntu Forums, Stack
> Exchange etc.
>
> In my experience, Discourse "out of the box" doesn't offer any net benefit
> to its users.
>
> It's quite possible that people interested in, and willing to invest time
> and effort into customizing their usage profile would benefit more from
> Discourse than from a mailing list.  I have no experience with that.
>
> You may be correct when you say that we will attract more new users by
> offering them Discourse than by maintaining a mailing list.  I guess the
> question that begs to be asked is, will those new users thereby turn into
> contributors, or will the biggest Discourse channel be "how do I install
> QGIS on my new Mac"?
>
> I suppose, perhaps wrongly, that most of us on this (and other) mailing
> lists are here because the list provides a sense of community, an
> opportunity to pay back by offering a bit of help, an opportunity to
> stumble on something new and useful from time to time... what else?  I'm
> pretty sure none of us participate in this list to learn how to participate
> effectively in lists.  Moreover, we don't really have the tools to "only
> pay attention to topics X, Y and Z".  So all of us get to see the beginner
> questions, and the responses, and sometimes we find ourselves in the
> situation of starting fresh with something that, because of this broad
> familiarity, is not a total blank.
>
> In contrast, in my experience, moving to Discourse, or any other similar
> forum-type structure, allows or even encourages us to stick to certain
> topics that we think may be of interest and avoid all others.
>
> I would argue that we thereby cheapen and diminish our contribution back
> to the forum, simply because we miss real opportunities to help while we
> avoid reading certain topics; and by doing so, we reduce the sense of
> community we get by belonging to the list.  I would further argue that we
> run the risk of not learning many new things because by streaming topics
> into tens or hundreds of specialist channels, we inevitably miss things
> that might benefit us.
>
> Finally, we have the "opportunity" to spend more of our limited time
> learning about configuring our participation in this mechanism, rather than
> just participating.  Your example of learning how to treat Discourse like a
> mailing list by following the Mozilla tutorial addresses this situation
> precisely - instead of helping a person with their configuration issues, or
> learning more about how to structure the queries used in QGIS, we are
> tweaking the Discourse knobs and levers to get the "optimum" experience.
>
> I guess you can tell that I'm negative on this concept.  I don't feel that
> the mailing list is a be-all and end-all.  But I am pretty sure, again
> based on my experience, that the lovely community we have here on
> qgis-user@lists.osgeo.org will not be the same collection of good things
> once migrated to Discourse.  I do hope that I am wrong!
>
> On Wed, Apr 3, 2024 at 7:04 AM Régis Haubourg via QGIS-User <
> qgis-user@lists.osgeo.org> wrote:
>
>> [Message sent to all QGIS's lists. Sorry for crossposting - **please
>> reply only in PSC list**  ]
>> [stuff deleted]
>>
>>
>> Any thought from you is more than welcome, from ranting against modernity
>> to thanking SAC for their hard work.
>>
>  And thank you, SAC, for your hard work!
>
> --
> Chris Hermansen · clhermansen "at" gmail "dot" com
>
> C'est ma façon de parler.
> ___
> QGIS-User mailing list
> QGIS-User@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Moving many project files - bulk updating paths to tables?

2024-04-04 Thread Tony Shepherd (FarmMaps NZ) via QGIS-User
Thanks Jorge

 

Yes, I toyed with that, but somewhat painful with thousands to process.

 

Has anybody scripted or coded something for this?

 

Cheers

 

From: QGIS-User  On Behalf Of Jorge Gustavo 
Rocha via QGIS-User
Sent: Friday, April 5, 2024 7:53 AM
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Moving many project files - bulk updating paths to 
tables?

 

Hi Tony,

You can unzip the qgz file and change the text in the qgs files. qgs are text 
files. Afterwards, you can create the zip again with the qgz extension or open 
the qgs file directly.

I hope it helps,

Jorge

On 04/04/24 19:28, Tony Shepherd (FarmMaps NZ) via QGIS-User wrote:

Hi All

 

I am sure I am not the first to ponder how to deal with this.  I have loads, 
thousands likely, of project files in a series of folders and subfolders.  I 
need to move those files and folders to a new location to enable other staff to 
use the project files and their associated shp files, geo packages, rasters etc.

 

Essentially, I am shifting my entire collection of GIS work to a shared 
location for others to start using, so moving from a sole operator to a shared 
environment.

 

In my old MapInfo days, I would simply do a bulk search and replace over the 
workspace files (text-based so this is easy) and change the paths that need 
changing and all would be ok.

 

As qgz files are not easily modified through a text editor, are there any tools 
out there to enable bulk changing of file paths in those files? 

 

Any other approaches?

 

Cheers

Tony

 

--

Tony Shepherd

  GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos

 

Phone – 027 435 6193  | Website –   
shepherdphotos.co.nz

Email – Maps   t...@farmmaps.nz  |  Email – Photos   
 t...@shepherdphotos.co.nz

Facebook   TonyShepherdPhotos

 

 



 





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

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


Re: [Qgis-user] Moving many project files - bulk updating paths to tables?

2024-04-04 Thread oisin.kelly.wild--- via QGIS-User
If you use Python it should be fairly simple to enumerate all layers, test to 
see if they're file based and then use pattern matching to alter the file paths


⁣Oisin
07570 977449

Get BlueMail for Android ​

On 4 Apr 2024, 19:28, at 19:28, "Tony Shepherd (FarmMaps NZ) via QGIS-User" 
 wrote:
>Hi All
>
>
>
>I am sure I am not the first to ponder how to deal with this.  I have
>loads,
>thousands likely, of project files in a series of folders and
>subfolders.  I
>need to move those files and folders to a new location to enable other
>staff
>to use the project files and their associated shp files, geo packages,
>rasters etc.
>
>
>
>Essentially, I am shifting my entire collection of GIS work to a shared
>location for others to start using, so moving from a sole operator to a
>shared environment.
>
>
>
>In my old MapInfo days, I would simply do a bulk search and replace
>over the
>workspace files (text-based so this is easy) and change the paths that
>need
>changing and all would be ok.
>
>
>
>As qgz files are not easily modified through a text editor, are there
>any
>tools out there to enable bulk changing of file paths in those files?
>
>
>
>Any other approaches?
>
>
>
>Cheers
>
>Tony
>
>
>
>
>--
>
>Tony Shepherd
>
>  GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos
>
>
>
>Phone - 027 435 6193  | Website -  
>shepherdphotos.co.nz
>
>Email - Maps   t...@farmmaps.nz  |  Email -
>Photos
> t...@shepherdphotos.co.nz
>
>Facebook  
>TonyShepherdPhotos
>
>
>
>
>
>
>
>
>
>
>
>
>
>___
>QGIS-User mailing list
>QGIS-User@lists.osgeo.org
>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Moving many project files - bulk updating paths to tables?

2024-04-04 Thread Jorge Gustavo Rocha via QGIS-User

Hi Tony,

You can unzip the qgz file and change the text in the qgs files. qgs are 
text files. Afterwards, you can create the zip again with the qgz 
extension or open the qgs file directly.


I hope it helps,

Jorge

On 04/04/24 19:28, Tony Shepherd (FarmMaps NZ) via QGIS-User wrote:


Hi All

I am sure I am not the first to ponder how to deal with this.  I have 
loads, thousands likely, of project files in a series of folders and 
subfolders.  I need to move those files and folders to a new location 
to enable other staff to use the project files and their associated 
shp files, geo packages, rasters etc.


Essentially, I am shifting my entire collection of GIS work to a 
shared location for others to start using, so moving from a sole 
operator to a shared environment.


In my old MapInfo days, I would simply do a bulk search and replace 
over the workspace files (text-based so this is easy) and change the 
paths that need changing and all would be ok.


As qgz files are not easily modified through a text editor, are there 
any tools out there to enable bulk changing of file paths in those files?


Any other approaches?

Cheers

Tony

--

*Tony Shepherd*

/GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos/

*/Phone/**–* 027 435 6193  | */Website/ – *shepherdphotos.co.nz 



*/Email/**– Maps*t...@farmmaps.nz   | 
*/Email/ – Photos* t...@shepherdphotos.co.nz 



*/Facebook/*TonyShepherdPhotos 



FM_logo1_small (Custom)


___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Moving many project files - bulk updating paths to tables?

2024-04-04 Thread Tony Shepherd (FarmMaps NZ) via QGIS-User
Hi All

 

I am sure I am not the first to ponder how to deal with this.  I have loads,
thousands likely, of project files in a series of folders and subfolders.  I
need to move those files and folders to a new location to enable other staff
to use the project files and their associated shp files, geo packages,
rasters etc.

 

Essentially, I am shifting my entire collection of GIS work to a shared
location for others to start using, so moving from a sole operator to a
shared environment.

 

In my old MapInfo days, I would simply do a bulk search and replace over the
workspace files (text-based so this is easy) and change the paths that need
changing and all would be ok.

 

As qgz files are not easily modified through a text editor, are there any
tools out there to enable bulk changing of file paths in those files? 

 

Any other approaches?

 

Cheers

Tony

 


--

Tony Shepherd

  GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos

 

Phone - 027 435 6193  | Website -  
shepherdphotos.co.nz

Email - Maps   t...@farmmaps.nz  |  Email - Photos
 t...@shepherdphotos.co.nz

Facebook   TonyShepherdPhotos

 

 



 

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


Re: [Qgis-user] Announce - migrate our mailing lists to Discourse

2024-04-04 Thread chris hermansen via QGIS-User
Régis and everyone else,

My apologies; I try not to top post but my response is more an overall
reaction to your announcement rather than a point by point response.

I was a member (??) over at opensource.com's Discourse instance until
RedHat decided to shut down support for opensource.com, so I have some
experience with that Discourse configuration, also plenty of experience
with mailing lists.  Also familiarity with the Ubuntu Forums, Stack
Exchange etc.

In my experience, Discourse "out of the box" doesn't offer any net benefit
to its users.

It's quite possible that people interested in, and willing to invest time
and effort into customizing their usage profile would benefit more from
Discourse than from a mailing list.  I have no experience with that.

You may be correct when you say that we will attract more new users by
offering them Discourse than by maintaining a mailing list.  I guess the
question that begs to be asked is, will those new users thereby turn into
contributors, or will the biggest Discourse channel be "how do I install
QGIS on my new Mac"?

I suppose, perhaps wrongly, that most of us on this (and other) mailing
lists are here because the list provides a sense of community, an
opportunity to pay back by offering a bit of help, an opportunity to
stumble on something new and useful from time to time... what else?  I'm
pretty sure none of us participate in this list to learn how to participate
effectively in lists.  Moreover, we don't really have the tools to "only
pay attention to topics X, Y and Z".  So all of us get to see the beginner
questions, and the responses, and sometimes we find ourselves in the
situation of starting fresh with something that, because of this broad
familiarity, is not a total blank.

In contrast, in my experience, moving to Discourse, or any other similar
forum-type structure, allows or even encourages us to stick to certain
topics that we think may be of interest and avoid all others.

I would argue that we thereby cheapen and diminish our contribution back to
the forum, simply because we miss real opportunities to help while we avoid
reading certain topics; and by doing so, we reduce the sense of community
we get by belonging to the list.  I would further argue that we run the
risk of not learning many new things because by streaming topics into tens
or hundreds of specialist channels, we inevitably miss things that might
benefit us.

Finally, we have the "opportunity" to spend more of our limited time
learning about configuring our participation in this mechanism, rather than
just participating.  Your example of learning how to treat Discourse like a
mailing list by following the Mozilla tutorial addresses this situation
precisely - instead of helping a person with their configuration issues, or
learning more about how to structure the queries used in QGIS, we are
tweaking the Discourse knobs and levers to get the "optimum" experience.

I guess you can tell that I'm negative on this concept.  I don't feel that
the mailing list is a be-all and end-all.  But I am pretty sure, again
based on my experience, that the lovely community we have here on
qgis-user@lists.osgeo.org will not be the same collection of good things
once migrated to Discourse.  I do hope that I am wrong!

On Wed, Apr 3, 2024 at 7:04 AM Régis Haubourg via QGIS-User <
qgis-user@lists.osgeo.org> wrote:

> [Message sent to all QGIS's lists. Sorry for crossposting - **please reply
> only in PSC list**  ]
> [stuff deleted]
>
>
> Any thought from you is more than welcome, from ranting against modernity
> to thanking SAC for their hard work.
>
 And thank you, SAC, for your hard work!

-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [QGIS-Developer] Announce - migrate our mailing lists to Discourse

2024-04-04 Thread Marco Bernasocchi via QGIS-User
Hi Jürgen,
On Thu, 4 Apr 2024 at 02:29, Jürgen E. Fischer via QGIS-Developer <
qgis-develo...@lists.osgeo.org> wrote:

> Hi Greg,
>
> On Wed, 03. Apr 2024 at 18:23:47 -0400, Greg Troxel via QGIS-User wrote:
> > People like me tend not to be happy about things turning into forums and
> are
> > likely to participate less.  As an example, openstreetmap moved from
> > mailinglists to forums and I have not, so I interract far far less and
> spend
> > more time on other things.  I am probably somewhat unusual (started doing
> > email in the 70s), and here probably only strk thinks I"m normal :-)
>
> Just for the record: I also don't like the move, I also feel the same pain
> and
> I also think you're normal.
>
> To make it worse the advertised discourse mailing list option apparently
> doesn't work well - at least for "normal" people (see
> https://trac.osgeo.org/osgeo/ticket/3073).
>
> Seems fixed :)
https://trac.osgeo.org/osgeo/ticket/3073#comment:19

>
> Jürgen
>
> --
> Jürgen E. Fischer
> Dipl.-Inf. (FH)   norBIT GmbH   Tel. +49-4931-918175-31
> Software Engineer Rheinstraße 13Fax. +49-4931-918175-50
> Geschäftsführer   D-26506 Norden
> https://www.norbit.de
> ___
> QGIS-Developer mailing list
> qgis-develo...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>


-- 
Marco Bernasocchi
OPENGIS.ch CEO
QGIS.org Chair
OSGeo.org Board of Directors

Find a meeting time on my calendar 
!
ma...@opengis.ch
+41 (0)79 467 24 70 <+41794672470>


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


[Qgis-user] Calculate intersecting area of two layers in a virtual field. Context of @geometry in overlay_intersects()

2024-04-04 Thread Klaus Affeldt via QGIS-User
Hello Bruno,

try it the other way around:

coalesce(
  area(
intersection(
  @geometry, 
  collect_geometries(
overlay_intersects(
  'forest',
  @geometry
)
  )
)
  ),
  0
)

In addition you can use the inner part in the geometry generator.
So you have a visual help to compare your results:

intersection(
  @geometry, 
  collect_geometries(
overlay_intersects(
  'forest',
  @geometry
)
  )
)

Mit freundlichen Grüßen

Ihre PV ANSPERGER mbH
Klaus Affeldt

Zentrale Kamp-Lintfort
Südstraße 25
47475 Kamp-Lintfort
Tel. +49 2842 9635-14
https://www.ansperger.de

A==
>> 
>> Dear list
>> 
>> Great, how powerful expressions are in QGIS!
>> I have two polygon layers, one with parcels and one with forests. In a 
>> virtual field of the layer parcels I'm trying to calculate the area covered 
>> with forest. I can sum the area of intersecting forests in a virtual field 
>> with the follwing expression:
>> 
>> coalesce( 
>>   array_sum( 
>> overlay_intersects(
>>   layer:= 'forest', 
>>   expression:= area(@geometry)
>> )
>>   )
>> , 0)
>> 
>> But @geometry doesen't return the intersecting area. It returns the whole 
>> polygons, that partly intersect the parcel. So I could add an additional 
>> intersection():
>> 
>> coalesce( 
>>   array_sum( 
>> overlay_intersects(
>>   layer:= 'forest', 
>>   expression:= area(
>> intersection(
>>   @geometry, geometry(get_feature_by_id()
>> )
>>   )
>> )
>>   )
>> , 0)
>> 
>> @geometry is calculated in the context of the layer forests. How could I 
>> access the geometry of the parcel inside of overlay_intersects()? 
>> get_feature_by_id() doesn't seem to help, since I don't see a way to get the 
>> actual ID of the parcel. 
>> It is not possible to return @geometry as expression in overlay_intersects 
>> and do the intersection outside.
>> 
>> Does any one have an idea, how I could get the intersected area?
>> Thank you. Bruno
>>

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


[Qgis-user] Plugin using Pythonnet fails to start during installation

2024-04-04 Thread Lars I. Nielsen via QGIS-User
Hi all.

We've developed a QGIS plugin, that utilizes Pythonnet to communicate with C# 
on Windows.

Pythonnet is not part of the chosen distribution for Python in QGIS (as of 
3.34), so we do a separate installation of this module into %APPDATA%/Python, 
which is used by all Python distributions on the PC.

But even after Pythonnet has been installed correctly, we get an error when the 
QGIS plugin installer tries to start the plugin.

[cid:image003.png@01DA869B.F8C7D6B0]

However, the plugin has been installed correctly, and it starts just fine when 
one manually activates it in the plugin window list.


Why can't the plugin start when activated by the QGIS plugin installer ?
Is it running in some kind of restricted environment, that excludes use of the 
APPDATA location ?

Cheers.


Ps!
Yes, we are aware of different versions of Pythonnet in Python 3.7 vs 3.9. We 
install both.


Med venlig hilsen

Lars I. Nielsen
GIS-kons., FME+Python Certified Professional
GeoData

[cid:image001.png@01DA869A.F5B33920]


Dir.
+4563136849
Tlf.
+4563136800
Mail
+l...@lifa.dk




LIFA A/S · Tlf +4563136800 · lifa.dk · 
CVR 20937289
Odense · Fredericia · Glostrup · Hillerød · Kerteminde · Kolding · Middelfart · 
Vejle · Vissenbjerg · Aarhus
[cid:image002.png@01DA869A.F5B33920]
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S.

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


Re: [Qgis-user] Announce - migrate our mailing lists to Discourse

2024-04-04 Thread Tony Bazeley via QGIS-User
Hi Régis,

It seems the "end of life" refers to the Mailman 2, and there's no desire to 
migrate to 
Mailman3, which in my view is a pity as the archives[1] at least look like a 
nice piece of 
work.

I'm currently considering migrating a small list from mailman2 to mailman3 and 
wonder 
if you would mind explaining a little further those "not conclusive" tests.

Can you advise when it's proposed to close the qgis-user list?

And what will happen to the archives which to my mind represent the collective 
work of 
many contributors and a valuable piece of knowledge? 

Thanks
Tony

On Thursday 4 April 2024 6:27:24 PM ACDT Régis Haubourg via QGIS-User wrote:
> Hi Tony,
> 
> we know about mailman3 rewrite. from the tests of SAC and other
> projects, it was not conclusive.
> 
> About keeping both system, this is the best way to fragment a bit more
> our community, which already is dispersed through too many channels.
> This is the problem we want to fix here.   This is a hard requirement in
> this move, ie stay DRY.
> 
> Gnome, Mozilla and Ubuntu are all fighting against the same issue. We
> try to clarify which should be the official channels, and still want to
> offer communication means that are really used. From my perspective, I
> use Discourse mainly by mail, and have the additionnal possibility of
> using the web UI to write markdown , add images and color syntaxed code.
> I woud not see the benefit of having to "also" keep monitoring other
> mailing lists.
> 
> 
> Cheers
> 
> On 04/04/2024 01:07, Tony Bazeley via QGIS-User wrote:
> > I'm not against new communication channels, but imagine the maximum  >
> > benefit would be obtained by adding a discourse channel while
> keeping > the mailing list channel, and perhaps reviewing use after a
> period of > time. > > And just BTW, Mailman has just completed an
> upgrade to a major new > version so I'd be interested to learn the basis
> of claims for "end of > life" > > On Thursday 4 April 2024 8:53:47 AM
> ACDT Greg Troxel via QGIS-User > wrote: >> What I meant mostly is two
> things: >> >> People like me tend not to be happy about things turning
> into >> forums and are likely to participate less. As an example, >>
> openstreetmap moved from mailinglists to forums and I have not, so >> I
> interract far far less and spend more time on other things. I am >>
> probably somewhat unusual (started doing email in the 70s), and >> here
> probably only strk thinks I"m normal :-) >> >> My perception, perhaps
> off base, is that discourse facilitates >> people showing up, posting a
> question, and getting replies to the >> question, without also getting
> delivered to them everything else >> on the "mailing list". Thus I
> expect a lot more help desk type >> interactions, where new people ask a
> question and don't really >> engage, rather than joining the community.
> Many projects have >> communities of long-term participants who get to
> know each other. >> Partly from on-list, but partly from off-list
> converstations which >> are enabled by getting emails with the other
> person's email >> address. I don't see this happening in a discourse
> world. I'm not >> arguing there are no mechanisms and that people could
> not make it >> happen. I am saying that I expect it to happen much less
> in >> practice. >> >> I don't have any good ideas about the first
> pointl. >> >> The second point could be addressed by allowing web
> signup, but >> allowing posting only if one has email delivery of all
> messages, >> and having the From: address be the person, and not
> breaking DKIM >> signatures. In short, having the email interface be a
> first-class >> non-broken mailinglist, while also having a forum view.
> 
>  >> >> (I've dropped psc because it doesn't allow non-members to send.)
>  >> 
>  >> ___ QGIS-User mailing >>
> 
> list QGIS-User@lists.osgeo.org List info: >>
> https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: >>
> https://lists.osgeo.org/mailman/listinfo/qgis-user > > > > >
> ___ QGIS-User mailing > list
> QGIS-User@lists.osgeo.org List info: >
> https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: >
> https://lists.osgeo.org/mailman/listinfo/qgis-user




[1] https://lists.mailman3.org/archives/list/mailman-us...@mailman3.org/latest?
count=50=1
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] restrict QGIS user interface (project & layer properties and other dialogs)

2024-04-04 Thread Felix Deutsch via QGIS-User
Hi,

using 3.34.5 LTR version.

I want to lock down QGIS user interface as much as possible (for the casual 
user, I know that a determined user will always be able to reset settings).
In addition to using UI Customization (and then disabling this menu entry), I 
managed to customize context menus like in the LayerTree by implementing a 
custom QgsLayerTreeViewMenuProvider via startup.py.

What is missing is locking down project & layer properties, the latter of which 
is still reachable via doubleclick on the layer tree and also via hotkey. How 
can I accomplish this?

I first thought that disabling those widgets in the screenshot below would do 
the trick, but no.

[cid:image001.png@01DA867E.69FF47F0]
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Calculate intersecting area of two layers in a virtual field. Context of @geometry in overlay_intersects()

2024-04-04 Thread Bruno Streit via QGIS-User
Dear list

Great, how powerful expressions are in QGIS!
I have two polygon layers, one with parcels and one with forests. In a virtual 
field of the layer parcels I'm trying to calculate the area covered with 
forest. I can sum the area of intersecting forests in a virtual field with the 
follwing expression:

coalesce( 
  array_sum( 
overlay_intersects(
  layer:= 'forest', 
  expression:= area(@geometry)
)
  )
, 0)

But @geometry doesen't return the intersecting area. It returns the whole 
polygons, that partly intersect the parcel. So I could add an additional 
intersection():

coalesce( 
  array_sum( 
overlay_intersects(
  layer:= 'forest', 
  expression:= area(
intersection(
  @geometry, geometry(get_feature_by_id()
)
  )
)
  )
, 0)

@geometry is calculated in the context of the layer forests. How could I access 
the geometry of the parcel inside of overlay_intersects()? get_feature_by_id() 
doesn't seem to help, since I don't see a way to get the actual ID of the 
parcel. 
It is not possible to return @geometry as expression in overlay_intersects and 
do the intersection outside.

Does any one have an idea, how I could get the intersected area?
Thank you. Bruno
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] 1. Announce - migrate our mailing lists to Discourse (R?gis Haubourg)

2024-04-04 Thread Régis Haubourg via QGIS-User

Thanks for your feedback Raúl !

At this stage, just spreading the word of creating an account in 
discourse.osgeo.org via LDAP OSGEO should be enough. There is already a 
bunch of interesting to follow there.


Cheers

On 03/04/2024 16:37, raulnanclares--- via QGIS-User wrote:

Hi Règis, that's very nice to read! We're planning on migrating the
qgis-es list soon, we started a small discussion on the mailing list
and only one person was against the migration, some stated that they
would like to wait until the main qgis lists migrated, so I guess this
is the rigth time to move. If I can be of any help just let me know.

Thanks for all the hard work,
Raúl Nanclares
QGIS Spanish user group vocal.
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Announce - migrate our mailing lists to Discourse

2024-04-04 Thread Régis Haubourg via QGIS-User


Hi Tony,

we know about mailman3 rewrite. from the tests of SAC and other 
projects, it was not conclusive.


About keeping both system, this is the best way to fragment a bit more 
our community, which already is dispersed through too many channels. 
This is the problem we want to fix here.   This is a hard requirement in 
this move, ie stay DRY.


Gnome, Mozilla and Ubuntu are all fighting against the same issue. We 
try to clarify which should be the official channels, and still want to 
offer communication means that are really used. From my perspective, I 
use Discourse mainly by mail, and have the additionnal possibility of 
using the web UI to write markdown , add images and color syntaxed code. 
I woud not see the benefit of having to "also" keep monitoring other 
mailing lists.



Cheers

On 04/04/2024 01:07, Tony Bazeley via QGIS-User wrote:
I'm not against new communication channels, but imagine the maximum  > benefit would be obtained by adding a discourse channel while 
keeping > the mailing list channel, and perhaps reviewing use after a 
period of > time. > > And just BTW, Mailman has just completed an 
upgrade to a major new > version so I'd be interested to learn the basis 
of claims for "end of > life" > > On Thursday 4 April 2024 8:53:47 AM 
ACDT Greg Troxel via QGIS-User > wrote: >> What I meant mostly is two 
things: >> >> People like me tend not to be happy about things turning 
into >> forums and are likely to participate less. As an example, >> 
openstreetmap moved from mailinglists to forums and I have not, so >> I 
interract far far less and spend more time on other things. I am >> 
probably somewhat unusual (started doing email in the 70s), and >> here 
probably only strk thinks I"m normal :-) >> >> My perception, perhaps 
off base, is that discourse facilitates >> people showing up, posting a 
question, and getting replies to the >> question, without also getting 
delivered to them everything else >> on the "mailing list". Thus I 
expect a lot more help desk type >> interactions, where new people ask a 
question and don't really >> engage, rather than joining the community. 
Many projects have >> communities of long-term participants who get to 
know each other. >> Partly from on-list, but partly from off-list 
converstations which >> are enabled by getting emails with the other 
person's email >> address. I don't see this happening in a discourse 
world. I'm not >> arguing there are no mechanisms and that people could 
not make it >> happen. I am saying that I expect it to happen much less 
in >> practice. >> >> I don't have any good ideas about the first 
pointl. >> >> The second point could be addressed by allowing web 
signup, but >> allowing posting only if one has email delivery of all 
messages, >> and having the From: address be the person, and not 
breaking DKIM >> signatures. In short, having the email interface be a 
first-class >> non-broken mailinglist, while also having a forum view. 
>> >> (I've dropped psc because it doesn't allow non-members to send.) 
>> ___ QGIS-User mailing >> 
list QGIS-User@lists.osgeo.org List info: >> 
https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: >> 
https://lists.osgeo.org/mailman/listinfo/qgis-user > > > > > 
___ QGIS-User mailing > list 
QGIS-User@lists.osgeo.org List info: > 
https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: > 
https://lists.osgeo.org/mailman/listinfo/qgis-user___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Announce - migrate our mailing lists to Discourse

2024-04-04 Thread Julien Moura (Oslandia) via QGIS-User

Hi Régis and PSC,

Great news and exciting evolution for QGIS community! Thanks for the 
underlying work along with the OSGeo tech team.


On my side, I think it's a good evolution to make the project more 
reachable for classic end-users and an honest trade-off for long-live 
dev/tech users since Discourse can behave as a a mailing list too.


I hope that will help to reduce QGIS communication channels and look 
forward to see every related event and discussions live on Discourse.


Regards,
Julien

On 03/04/2024 21:14, Régis Haubourg via QGIS-User wrote:

Hi Greg,
Of course you are free to react !
I'm interested in understanding why you feel this would reduce 
engagement.
I've been testing Discourse a lot in the past years. From french 
spaces around open data and numeric commons, to a first test with QGIS 
french user lists.

What I have observed is :
- new users jump in more easily than with our obscure mailing list habits.
- I just don't see any usage difference once I changed my settings 
from the default digest setting to "one mail per interaction"
- it is a lot easier to subscribe to a category than to subscribe in 
mailman to a new mailing list.
- finding topics via search engine is so much more normal. Remember we 
needed Nabble to offer this and it was not an easy experience. And 
Nabble died.
- as a list administror, mailman backoffice interface does not make it 
easy. It has been designed in the early stages of the web. This is so 
hard to understand, read and maintain. And don't try on a phone.


On the downsides, I just had to explore notification settings and 
understand how categories work a bit more than I would have expected. 
But a lot less time than the numerous hours struggling with mailman 
admin interfaces.


So if you have tangible ideas or facts we are really interested.  
Discourse is open source and really full of features, settings or 
plugins to tune it to our needs.


Cheers
Régis

Le mer. 3 avr. 2024, 17:34, Greg Troxel via QGIS-User 
 a écrit :


Régis Haubourg via QGIS-User  writes:

> With this move, we hope that we can counter the current
fragmentation
> and streamline our discussions. Please fell free to react.

I'm unhappy about this, as I suspect are others who have been in the
Free Software world a long time.  I expect that this will lead to
reduced engagement by the longer-term-FS people.  Part of this is that
tools that encourage post-and-only-see-answers lead to a help desk
feeling that than a community.

I don't expect to be listened to in any serious way, but you said
"feel
free to react" :-)
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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


OpenPGP_0x5375CD81333F311E.asc
Description: OpenPGP public key
BEGIN:VCARD
VERSION:4.0
N:Moura;Julien;;;
FN:Julien Moura (Oslandia)
NICKNAME:jmoura
EMAIL;PREF=1;TYPE=work:julien.mo...@oslandia.com
EMAIL:juli...@oslandia.com
TZ:Europe/Paris
URL;TYPE=work:https://oslandia.com/
URL:https://geotribu.fr/
ORG:Oslandia
END:VCARD


OpenPGP_signature.asc
Description: OpenPGP digital signature
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user