Re: [Qgis-user] Removal of overlap geometries within the same layer - merge to largest neighbor polygon

2023-07-25 Thread Wouter Impens via QGIS-User
Hi Andreas,

You could do a ' self-intersect'  of the polygon layer, calculate the area,
select polygons under specific area (assuming they're small overlaps) and
run the ' eliminate selected polygons' tool.
The GRASS tool v.clean offers some solutions too.

Greetings
Wouter

Op di 25 jul 2023 om 12:02 schreef Andreas Neumann via QGIS-User <
qgis-user@lists.osgeo.org>:

> Hi,
>
> A friend of mine has a dirty input data set with lots of overlapping
> geometries (within the same layer) and asked me if there is a tool within
> QGIS to automatically remove the overlaps and assign the overlapping area
> to the neighbor polygon with the largest area.
>
> The solution was surprisingly hard to find, although I am pretty sure
> there are multiple combinations of algorithms that would solve the problem.
> Here is the solution I came up with: 
> https://github.com/qgis-ch/overlap_removal/tree/main
> - perhaps you have better ideas - more elegant solutions?
>
> Wouldn't it be great if QGIS had a processing tool to solve this overlap
> cleaning within the same layer "out of the box" without having to use a
> graphical model or a more or less complicated sequence of algorithms in the
> processing toolbox? Apparently, ArcGIS has such a tool ...
>
> Saga and GRASS also might have such tools - but I couldn't get the SAGA
> based QGIS plugin "Dissect and dissolve overlaps" (
> https://plugins.qgis.org/plugins/dissect_dissolve_overlaps).
>
> The same problem exists for automatically filling small gaps in the
> polygon data set ...
>
> Andreas
>
>
> ___
> 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] Drag/drop style.qml files?

2022-08-25 Thread Wouter Impens via Qgis-user
Hi Richard,

I think you've been dreaming about the .qlr file :)
Difference between Layer Definition File (qlr) and QGIS Layer Style File
(qml)? - Geographic Information Systems Stack Exchange


Greetings
Wouter

On Thu, 25 Aug 2022 at 11:14, Richard Duivenvoorde via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> Hi,
>
> Did I dream about this, or did I see some demo somewhere about dragging
> and dropping a style layer file (.qml) on a layer (in the layer panel) to
> style a layer?
>
> I just tried, and failed, I googled but hit only info about Qt-QML...
>
> Anybody can help me? Dream or Reality :-) ?
>
> Regards,
>
> Richard Duivenvoorde
> ___
> 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] QGIS WINDOWS 11

2022-06-15 Thread Wouter Impens via Qgis-user
Hi,

I've been using QGIS LTR on windows 11 for some time now, I didn't
encounter any issues..

Greetings
Wouter

Op wo 15 jun. 2022 om 11:23 schreef Johannes Kröger (WhereGroup) via
Qgis-user :

> Hey Samuel,
>
> it's hard to give guarantees when it comes to software but: I don't think
> there should be any issues with *modern* QGIS versions on Windows 11. QGIS
> 3.4 is 3 years old though and in no way supported any more. Please try to
> use QGIS 3.22 or later if you are worried about modern Windows support.
>
> Cheers, Hannes
> Am 15.06.22 um 08:09 schrieb sam via Qgis-user:
>
> Hello !
>
>
>
> I’m about to buy a new computer for my next year of university. I’ll have
> some Qgis lessons and I would like to know if all the Qgis versions are
> compatibles with Windows 11 (espacially the 3.4.9 ones).
>
>
>
> Thanks for your help !
>
>
>
> Samuel
>
>
>
> ___
> Qgis-user mailing listqgis-u...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> --
> Johannes Kröger / GIS-Entwickler/-Berater
>
> -
> Schon gewusst?
> In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software
> und berichten aus unserem Experten-Alltag:https://wheregroup.com/blog/
> -
>
> WhereGroup GmbH
> Grevenweg 89
> 20537 Hamburg
> Germany
>
> Tel: +49 (0)228 / 90 90 38 - 36
> Fax: +49 (0)228 / 90 90 38 - 11
> johannes.kroe...@wheregroup.comwww.wheregroup.com
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> ---
>
> ___
> 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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Wouter Impens via Qgis-user
Hi Walter,

I'm having good results using the 'r.patch' tool from GRASS for merging
rasters.

Hope this helps

Greetings
Wouter

Op do 19 mei 2022 om 23:31 schreef Walter Alvarez via Qgis-user <
qgis-user@lists.osgeo.org>:

>
> I’m trying to merge either two or twelve 30-m SRTM tiles using QGIS
> 3.14.3.  In either case (2 or 12) I am stopped by the following problem:
>
> Using Raster > Miscellaneous > Merge…
>
> I get the “Merge" window.   I try to use Input layers > Elements selected
> > “…"
>
> That takes me to the "Multiple Selection" window, showing the 2 or 12
> files I want to merge (filenames:   nXXeXXX_1arc_v3 [EPSG:4326]).
>
> After selecting all the files, when I click “OK”   the "Multiple Selection
> Window” and the “Merge” window both disappear, and I cannot figure out what
> to do next, or do differently.
>
> I can’t figure out how to get past this problem and merge my tiles.
>
> Thanks for any help you can offer!
>
> Walter
>
> __
>
>
> Walter Alvarez
> Professor of the Graduate School
> Department of Earth and Planetary Science
> University of California Berkeley
>
>
>
> ___
> 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] Write vector attribute table from pandas dataframe

2022-04-24 Thread Wouter Impens via Qgis-user
Hi,

If you have a field to join on, you could export the dataframe to something
that is readable in QGIS like csv or xlsx

Greetings
Wouter

Op za 23 apr. 2022 om 19:34 schreef Nicolas Cadieux via Qgis-user <
qgis-user@lists.osgeo.org>:

> Hi Ming,
>
> The best thing would be to show your code and ask others how it can be
> optimized.  I find that https://gis.stackexchange.com/ is the best place
> to do this but this user list definitely has some very  competent
> programmers.  Not being one of those competent programmers, I will just
> state that pandas and geopandas use a process called vectorization where
> the “for loop” is done for you.
>
>
> https://medium.com/analytics-vidhya/understanding-vectorization-in-numpy-and-pandas-188b6ebc5398
>
> This means that looping over elements in a dataframe can be MUCH slower
> than using vectorization.  So basically, you need to figure out the right
> code and avoid “for loops“ when using dataframes.
>
> Hope this helps
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 22 avr. 2022 à 11:50, ming han via Qgis-user 
> a écrit :
>
> 
> Hi everyone
>
>  Is there an efficient way to copy data in a pandas dataframe to the
> vector attribute table?
>
>   I am looping element by element, which is very slow.
>
> Thanks
> Ming
> ___
> 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