Re: [QGIS-Developer] Paste geometry functionality

2023-11-29 Thread Tomas Straupis via QGIS-Developer
Hello Regarding different plugin proposals. I have checked nexta plugin and even submitted a fix to it which solved the problem only partially. From what I see it cannot be solved nicely via python because of different environment/setup reasons. I know this can be done in some way using differen

Re: [QGIS-Developer] Paste geometry functionality

2023-11-29 Thread Germán Carrillo via QGIS-Developer
Hi Tomas, Let's say we have a layer L (PostgreSQL/PostGIS) with features A, B > > and C with corresponding attribute values set. > Now some external party sends us a shapefile S with an updated > geometry G which we want to apply to feature B. > We want to: > 1. Select G in layer S and pre

Re: [QGIS-Developer] Paste geometry functionality

2023-11-29 Thread Keith Jenkins via QGIS-Developer
> I am aware of a python plugin for that but it does not work for > large geometries as clipboard size limit is reached pretty fast on > windows. Hi, Tomas. I just tested the "Geometry Paster" plugin and also ran into this clipboard size limit. It looks like the code for the plugin tries to avoi

Re: [QGIS-Developer] Paste geometry functionality

2023-11-29 Thread Régis Haubourg via QGIS-Developer
Oh I get it now, you want to change in place the geometry of a select object. I tend to use spatial SQL myself for this kind of stuff as it starts to sound like spatial analysis. You can also use the geoprocessing toolbox with the "edit in place" flag. But that would not be a manual click and p

Re: [QGIS-Developer] Paste geometry functionality

2023-11-29 Thread Tomas Straupis via QGIS-Developer
2023-11-29, tr, 15:53 Régis Haubourg via QGIS-Developer rašė: > Can you be more precise on your use case scenario ? Let's say we have a layer L (PostgreSQL/PostGIS) with features A, B and C with corresponding attribute values set. Now some external party sends us a shapefile S with an updated

Re: [QGIS-Developer] Paste geometry functionality

2023-11-29 Thread Régis Haubourg via QGIS-Developer
Hi Tomas, copy-paste geometric features is implemented for years now, and copying to a spreadsheet or text file also. There is a setting if you don't want the geometry to be pasted as a WKT column in text/ spreadsheet format. The behavior of attribute forms can also be tuned by options rega

[QGIS-Developer] Paste geometry functionality

2023-11-28 Thread Tomas Straupis via QGIS-Developer
Hello I was wondering, is there any reason why "paste geometry" (for vector features) is not implemented in QGIS? Or is it simply because nobody implemented it (I'm thinking of trying to do that)? The use case is different government cadastres where geometry is provided by external institutio