Re: [Qgis-user] Crashing with snapping and WFS !?

2021-10-21 Thread Michael Dufty
I'm not sure if its related, but I often have issues with snapping and arcgis 
rest layers.  The problem is if snapping is enabled QGIS will index the entire 
layer.  If it happens to be a national dataset - the sort of thing web layers 
are great for, this can take an hour or so, with QGIS unresponsive for the 
whole time often it won't actually crash if you are patient enough, but better 
to force quit if you have saved.  Often I don't even want to snap to that 
layer, just accidentally had snap to all layers enabled, and once you realise 
it is happening it is too late to save the setting.  Even worse the settings 
only seem to be available when snap is enabled, so to fix it, you need to hide 
the layer, turn snap on, change the settings, then turn the layers back on.

Michael Dufty
-Original Message-
From: Qgis-user  On Behalf Of Lars I. Nielsen
Sent: Wednesday, 20 October 2021 7:29 PM
To: Julien Cabieces 
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Crashing with snapping and WFS !?

Thanks Julien.

It's on Windows. It's at a customer, so I'm not entirely sure what version, 
except that it's Windows 10.

I did a bug report on it: # 45589.

Cheers
Lars

-Oprindelig meddelelse-
Fra: Julien Cabieces [mailto:julien.cabie...@oslandia.com] 
Sendt: 18. oktober 2021 09:15
Til: Lars I. Nielsen
Cc: qgis-user@lists.osgeo.org
Emne: Re: [Qgis-user] Crashing with snapping and WFS !?


Hi,


Could you please open an issue here https://github.com/qgis/QGIS/issues
?

Does it happen on Linux or Windows ?

Do you manage to reproduce the issue every time or it happen randomly?

Kind regards,
Julien

> Hi list.
>
>  
>
> We’re running a dataset via WFS (Geoserver 2.16) into QGIS.
>
> The user has snap turned on while digitizing/editing, and too often this 
> combo results in QGIS crashing.
>
>  
>
> However, this crash does not happen when digitizing/editing, but during other 
> operations like panning the map or something similar.
>
>  
>
> The stack dump mentions “snapPoint”, “snapToMap”, “nearestVertex”, and 
> “closestVertex”, which to me implies the snapping function in action.
>
> It also mentions “canvasMoveEvent”, which to me implies a panning operation.
>
>  
>
> I expect the snapping operation to be entirely local, i.e. independent of 
> actual data source type, but this apparently only happens when using a WFS 
> data source.
>
>  
>
> Can anyone shed some light on this unexpected behavior ? Is it a bug ?
>
>  
>
> Here’s the crash dialog box:
>
> *
>
>  
>
> QGIS is version 3.16.10, as the stack dump shows.
>
>  
>
>  
>
> Med venlig hilsen
>
> Lars I. Nielsen
> GIS-kons., FME+Python Certified Professional
> GeoData
>
>  
>
> * 
>  Dir. +4563136849 
>  Tlf.  +4563136800 
>  Mail  +l...@lifa.dk 
> *
>
>  
>
> LIFA A/S · Tlf +4563136800 · lifa.dk · CVRI20937289
>
> Odense · København · Fredericia · Vejle · Kolding · Aarhus · Middelfart · 
> Vissenbjerg · Kerteminde 
>
> * 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
___
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] k-means constrained

2021-10-21 Thread Wolfgang Meinolf
Hi and thanks for the info. I’ll try. Forget to ask, does it just cluster 
considering euclidian distance, or can I also use a road network for real 
distance?

Von: Ujaval Gandhi 
Gesendet: Donnerstag, 21. Oktober 2021 20:04
An: Wolfgang Meinolf 
Cc: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] k-means constrained

I wrote a QGIS processing alg for constrained k-means based on another library. 
You can check it out at 
https://spatialthoughts.com/2021/01/31/equal-sized-kmeans-qgis/

[Logo]
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: uja...@spatialthoughts.com
[LinkedIn icon]  [Twitter icon] 




On Thu, Oct 21, 2021 at 10:53 PM Wolfgang Meinolf 
mailto:wmein...@bbv-deutschland.de>> wrote:
Hi,
I need to use the https://github.com/joshlk/k-means-constrained in QGIS. 
Unfortunately this lib in not listed in the OSGeo4W installer. As I don’t like 
to install it separately on windows here my question:

Is there any comparable processing alg or Plugin available in QGIS, which I can 
Installviy QGIS Installer and use inside processing scripts?

Thanks and regards
Wolfgang
___
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


smime.p7s
Description: S/MIME cryptographic 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


Re: [Qgis-user] k-means constrained

2021-10-21 Thread Ujaval Gandhi
I wrote a QGIS processing alg for constrained k-means based on another
library. You can check it out at
https://spatialthoughts.com/2021/01/31/equal-sized-kmeans-qgis/

[image: Logo] 
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: uja...@spatialthoughts.com
[image: LinkedIn icon]   [image:
Twitter icon] 



On Thu, Oct 21, 2021 at 10:53 PM Wolfgang Meinolf <
wmein...@bbv-deutschland.de> wrote:

> Hi,
>
> I need to use the https://github.com/joshlk/k-means-constrained in QGIS.
> Unfortunately this lib in not listed in the OSGeo4W installer. As I don’t
> like to install it separately on windows here my question:
>
>
>
> Is there any comparable processing alg or Plugin available in QGIS, which
> I can Installviy QGIS Installer and use inside processing scripts?
>
>
>
> Thanks and regards
>
> Wolfgang
> ___
> 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] k-means constrained

2021-10-21 Thread Wolfgang Meinolf
Hi,
I need to use the https://github.com/joshlk/k-means-constrained in QGIS. 
Unfortunately this lib in not listed in the OSGeo4W installer. As I don't like 
to install it separately on windows here my question:

Is there any comparable processing alg or Plugin available in QGIS, which I can 
Installviy QGIS Installer and use inside processing scripts?

Thanks and regards
Wolfgang


smime.p7s
Description: S/MIME cryptographic 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


Re: [Qgis-user] wfs problems

2021-10-21 Thread Patrick Dunford
I am interested in your comment because I have noticed WFS is buggier 
than WMTS sources in Qgis.


I never have any trouble with WMTS, but with WFS, there is very often an 
issue of missing tiles that Qgis will not download from the server.


On 29/08/18 6:34 pm, Juerg Lindauer wrote:

___
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