[Qgis-user] Editing attributes in embedded forms

2021-06-01 Thread Pekka Sarkola
Hi folks!

I have a problem editing feature attributes in embedded forms. Data is
stored in PostGIS and I have a simple 1:1 relationship with the geometry
table and an additional attribute table. QGIS version is 3.18.3 on Ubuntu.

I have created a custom form with a drag-and-drop designer. I can edit
additional attribute table attributes in embedded form, but those edits are
not stored anywhere. I have to open a separate form and then edit attribute
values of the related attribute table. This is quite annoying for the end
user.

Any suggestions? Or should I write a better description to the Github?

Rgs,

Pekka

Pekka Sarkola
Gispo Oy
pekka.sark...@gispo.fi   - GSM +358 40 725 2042
www.gispo.fi – www.paikkatieto.com
___
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] Editing attributes in embedded forms

2021-06-01 Thread Andreas Neumann

Hi Pekka,

Have you enabled the  transaction mode in your project?

See menu "Project" --> "Properties" --> "Data Sources".

I usually enable all three check boxes:

- Automatically create transaction groups where possible

- Evaluate default values on provider side

- Trust project when data source has no metadata

The transaction mode allows to edit all layers from the same data base 
connection (needs identical db connection string and credentials) and - 
together with "evaluate default values on provider side" - immediately 
retrieves primary keys from the DB, so that you can link objects 
immediately, without having to save first.


Greetings,

Andreas

On 2021-06-01 09:55, Pekka Sarkola wrote:


Hi folks!

I have a problem editing feature attributes in embedded forms. Data is 
stored in PostGIS and I have a simple 1:1 relationship with the 
geometry table and an additional attribute table. QGIS version is 
3.18.3 on Ubuntu.


I have created a custom form with a drag-and-drop designer. I can edit 
additional attribute table attributes in embedded form, but those edits 
are not stored anywhere. I have to open a separate form and then edit 
attribute values of the related attribute table. This is quite annoying 
for the end user.


Any suggestions? Or should I write a better description to the Github?

Rgs,

Pekka

Pekka Sarkola
Gispo Oy
pekka.sark...@gispo.fi   - GSM +358 40 725 2042
www.gispo.fi [1] - www.paikkatieto.com [2]
___
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




Links:
--
[1] http://www.gispo.fi/
[2] http://www.paikkatieto.com/___
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] Is this a bug in the vector clipping algorithm?

2021-06-01 Thread Alister Hood
Hi everyone,

I found that if a line touches itself, if I use the vector overlay "clip"
algorithm on that layer, the feature gets broken up into 3 pieces (I can
tell by running it through the "multipart to singleparts" algorithm).

See the screenshot below of some example inputs, and I've attempted to
attach the layers.  If I run the line layer through "multipart to
singleparts" it produces a layer with only one feature.  But if I use the
polygon to clip the line layer, and then run it through "multipart to
singleparts" it gets split at the point where it touches itself,  into
three pieces.

I haven't been able to find a tool for validating or repairing geometries
that thinks there is a problem with the original geometry, so I think this
is a bug with the clip algorithm.  Should I file a ticket?

Or should the original geometry be considered invalid, so I can't expect
the algorithm to preserve it as a single feature?  If that's the case do we
need a better tool for validating or repairing geometries, which can
identify geometries with this problem?).
[image: image.png]

Regards,
Alister
<>
___
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] Is this a bug in the vector clipping algorithm?

2021-06-01 Thread Ujaval Gandhi
You can run the 'Check Validity' tool from the Processing Toolbox with
'QGIS' method and it will point out the error. (see screenshot
) 'line 1 contains 3 duplicate nodes starting
at vertex 13'. So QGIS will try to fix this by creating a multipart
geometry.
[image: Logo] 
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: uja...@spatialthoughts.com
[image: LinkedIn icon]   [image:
Twitter icon] 



On Tue, Jun 1, 2021 at 1:59 PM Alister Hood  wrote:

> Hi everyone,
>
> I found that if a line touches itself, if I use the vector overlay "clip"
> algorithm on that layer, the feature gets broken up into 3 pieces (I can
> tell by running it through the "multipart to singleparts" algorithm).
>
> See the screenshot below of some example inputs, and I've attempted to
> attach the layers.  If I run the line layer through "multipart to
> singleparts" it produces a layer with only one feature.  But if I use the
> polygon to clip the line layer, and then run it through "multipart to
> singleparts" it gets split at the point where it touches itself,  into
> three pieces.
>
> I haven't been able to find a tool for validating or repairing geometries
> that thinks there is a problem with the original geometry, so I think this
> is a bug with the clip algorithm.  Should I file a ticket?
>
> Or should the original geometry be considered invalid, so I can't expect
> the algorithm to preserve it as a single feature?  If that's the case do we
> need a better tool for validating or repairing geometries, which can
> identify geometries with this problem?).
> [image: image.png]
>
> Regards,
> Alister
> ___
> 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] Rename column

2021-06-01 Thread Ursula Heinze
Hello,
I have a little problem with the field calculator. I want to rename a column, 
and I don´t find any way to do it. 
Now I tried to copy the field values in a new column with the right name, and 
am also not successful. Has anybody an idea for me, how to solve the problem? 
Many thanks in advance!
Ursula Heinze

Gesendet von Mail für Windows 10

___
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] Rename column

2021-06-01 Thread Matt Boyd
You can rename columns (or fields) in the layer properties (need to
have editting turned on)
In the field calculator, sometimes I have issues with the data type
and "fieldname" doesn't work so well but if I do "1*fieldname" it
does.



On Tue, Jun 1, 2021 at 7:31 PM Ursula Heinze  wrote:
>
> Hello,
>
> I have a little problem with the field calculator. I want to rename a column, 
> and I don´t find any way to do it.
>
> Now I tried to copy the field values in a new column with the right name, and 
> am also not successful. Has anybody an idea for me, how to solve the problem? 
> Many thanks in advance!
>
> Ursula Heinze
>
>
>
> Gesendet von Mail für Windows 10
>
>
>
> ___
> 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] Editing attributes in embedded forms

2021-06-01 Thread Pekka Sarkola
Hi Andreas,

Trasnsactions groups are enabled: editing is working (not in embedded
forms) as expected.

If I enable "Evaluate default values.."-option, I will get error:

2021-06-01T14:11:44 WARNINGErroneous query: SELECT
nextval("sample_point_fid_seq"::regclass) returned 7 [ERROR: column
"sample_point_fid_seq" does not exist
 LINE 1: SELECT nextval("sample_point_fid_seq"::regclass)

Primary key of the geometry table is "fid" and it has been defined as
IDENTITY column (fid integer NOT NULL GENERATED ALWAYS AS IDENTITY (
INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ).

I presume this evaluation of the default values is not the solution for
this case.

Rgs,

Pekka

Pekka Sarkola
Gispo Oy
pekka.sark...@gispo.fi   - GSM +358 40 725 2042
www.gispo.fi – www.paikkatieto.com


ti 1. kesäk. 2021 klo 11.10 Andreas Neumann (a.neum...@carto.net) kirjoitti:

> Hi Pekka,
>
> Have you enabled the  transaction mode in your project?
>
> See menu "Project" --> "Properties" --> "Data Sources".
>
> I usually enable all three check boxes:
>
> - Automatically create transaction groups where possible
>
> - Evaluate default values on provider side
>
> - Trust project when data source has no metadata
>
> The transaction mode allows to edit all layers from the same data base
> connection (needs identical db connection string and credentials) and -
> together with "evaluate default values on provider side" - immediately
> retrieves primary keys from the DB, so that you can link objects
> immediately, without having to save first.
>
> Greetings,
>
> Andreas
>
> On 2021-06-01 09:55, Pekka Sarkola wrote:
>
> Hi folks!
>
> I have a problem editing feature attributes in embedded forms. Data is
> stored in PostGIS and I have a simple 1:1 relationship with the geometry
> table and an additional attribute table. QGIS version is 3.18.3 on Ubuntu.
>
> I have created a custom form with a drag-and-drop designer. I can edit
> additional attribute table attributes in embedded form, but those edits are
> not stored anywhere. I have to open a separate form and then edit attribute
> values of the related attribute table. This is quite annoying for the end
> user.
>
> Any suggestions? Or should I write a better description to the Github?
>
> Rgs,
>
> Pekka
>
> Pekka Sarkola
> Gispo Oy
> pekka.sark...@gispo.fi   - GSM +358 40 725 2042
> www.gispo.fi – www.paikkatieto.com
>
> ___
> 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] Rename column

2021-06-01 Thread Ujaval Gandhi
You can also use the 'Refactor Fields' algorithm from the Processing
Toolbox - which can not only rename the fields but also change the order
and types as well.
[image: Logo] 
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: uja...@spatialthoughts.com
[image: LinkedIn icon]   [image:
Twitter icon] 



On Tue, Jun 1, 2021 at 3:35 PM Matt Boyd  wrote:

> You can rename columns (or fields) in the layer properties (need to
> have editting turned on)
> In the field calculator, sometimes I have issues with the data type
> and "fieldname" doesn't work so well but if I do "1*fieldname" it
> does.
>
>
>
> On Tue, Jun 1, 2021 at 7:31 PM Ursula Heinze 
> wrote:
> >
> > Hello,
> >
> > I have a little problem with the field calculator. I want to rename a
> column, and I don´t find any way to do it.
> >
> > Now I tried to copy the field values in a new column with the right
> name, and am also not successful. Has anybody an idea for me, how to solve
> the problem? Many thanks in advance!
> >
> > Ursula Heinze
> >
> >
> >
> > Gesendet von Mail für Windows 10
> >
> >
> >
> > ___
> > 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] Editing attributes in embedded forms

2021-06-01 Thread Alexandre Neto
>From that last error...

Are you sure your table was not changed after being loaded to QGIS? It
seems to expect a sequence that no longer exists.

Alexandre Neto

A terça, 1/06/2021, 12:22, Pekka Sarkola  escreveu:

> Hi Andreas,
>
> Trasnsactions groups are enabled: editing is working (not in embedded
> forms) as expected.
>
> If I enable "Evaluate default values.."-option, I will get error:
>
> 2021-06-01T14:11:44 WARNINGErroneous query: SELECT
> nextval("sample_point_fid_seq"::regclass) returned 7 [ERROR: column
> "sample_point_fid_seq" does not exist
>  LINE 1: SELECT nextval("sample_point_fid_seq"::regclass)
>
> Primary key of the geometry table is "fid" and it has been defined as
> IDENTITY column (fid integer NOT NULL GENERATED ALWAYS AS IDENTITY (
> INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ).
>
> I presume this evaluation of the default values is not the solution for
> this case.
>
> Rgs,
>
> Pekka
>
> Pekka Sarkola
> Gispo Oy
> pekka.sark...@gispo.fi   - GSM +358 40 725 2042
> www.gispo.fi – www.paikkatieto.com
>
>
> ti 1. kesäk. 2021 klo 11.10 Andreas Neumann (a.neum...@carto.net)
> kirjoitti:
>
>> Hi Pekka,
>>
>> Have you enabled the  transaction mode in your project?
>>
>> See menu "Project" --> "Properties" --> "Data Sources".
>>
>> I usually enable all three check boxes:
>>
>> - Automatically create transaction groups where possible
>>
>> - Evaluate default values on provider side
>>
>> - Trust project when data source has no metadata
>>
>> The transaction mode allows to edit all layers from the same data base
>> connection (needs identical db connection string and credentials) and -
>> together with "evaluate default values on provider side" - immediately
>> retrieves primary keys from the DB, so that you can link objects
>> immediately, without having to save first.
>>
>> Greetings,
>>
>> Andreas
>>
>> On 2021-06-01 09:55, Pekka Sarkola wrote:
>>
>> Hi folks!
>>
>> I have a problem editing feature attributes in embedded forms. Data is
>> stored in PostGIS and I have a simple 1:1 relationship with the geometry
>> table and an additional attribute table. QGIS version is 3.18.3 on Ubuntu.
>>
>> I have created a custom form with a drag-and-drop designer. I can edit
>> additional attribute table attributes in embedded form, but those edits are
>> not stored anywhere. I have to open a separate form and then edit attribute
>> values of the related attribute table. This is quite annoying for the end
>> user.
>>
>> Any suggestions? Or should I write a better description to the Github?
>>
>> Rgs,
>>
>> Pekka
>>
>> Pekka Sarkola
>> Gispo Oy
>> pekka.sark...@gispo.fi   - GSM +358 40 725 2042
>> www.gispo.fi – www.paikkatieto.com
>>
>> ___
>> 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] Is this a bug in the vector clipping algorithm?

2021-06-01 Thread Andrea Giudiceandrea
Alister Hood-2 wrote
> I haven't been able to find a tool for validating or repairing geometries
> that thinks there is a problem with the original geometry

Hi Alister,
what tool have you used to check the geometry?

Have you tried to use the Geometry Checker core plugin (Vectror->Check
Geometries) or the "Check validity" (qgis:checkvalidity) processing tool
(with the QGIS method)?
They both report errors: "duplicate node", "self contact", "duplicate
nodes".

Also the ArcMap/ArcGIS Check Geometry tool reports "self intersections".

Anyway it seem the QGIS Clip tool does a "sanitize" of the intersection
result (always converting to Multi Type).

Regards.

Andrea Giudiceandrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] Rename column

2021-06-01 Thread Tudorache, Marian
There should be a method renameAttribute as part of QgsVectorLayer class.

You can do something like that:

layer = iface.activeLayer()
for field in layer.pendingFields():
if field.name() == 'old':
with edit(layer):
idx = layer.fieldNameIndex(field.name())
layer.renameAttribute(idx, 'new')

Good luck!
Marian

From: Qgis-user  On Behalf Of Ursula Heinze
Sent: June 1, 2021 5:26 AM
To: Qgis-user@lists.osgeo.org
Subject: [EXT] [Qgis-user] Rename column

CAUTION: This email originated from outside of the organization. If you do not 
recognize the sender or you are not certain the content is safe, then do not 
click on any links or open any attachments.
AVERTISSEMENT : Ce courriel provient d’une source externe à l’organisation. Si 
vous ne reconnaissez pas l’expéditeur ou si vous doutez de la sécurité du 
contenu, ne cliquez sur aucun lien et n’ouvrez aucune pièce jointe.

Hello,
I have a little problem with the field calculator. I want to rename a column, 
and I don´t find any way to do it.
Now I tried to copy the field values in a new column with the right name, and 
am also not successful. Has anybody an idea for me, how to solve the problem? 
Many thanks in advance!
Ursula Heinze

Gesendet von 
Mail
 für Windows 10




This electronic message, as well as any transmitted files included in the 
electronic message, may contain privileged or confidential information and is 
intended solely for the use of the individual(s) or entity to which it is 
addressed. If you have received this electronic message in error please notify 
the sender immediately and delete the electronic message. Any unauthorized 
copying, disclosure or distribution of the electronic message is strictly 
forbidden. NAV CANADA accepts no liability for any damage caused by any virus 
and/or other malicious code transmitted by this electronic communication.

Le présent message électronique et tout fichier qui peut y être joint peuvent 
contenir des renseignements privilégiés ou confidentiels destinés à l’usage 
exclusif des personnes ou des organismes à qui ils s’adressent. Si vous avez 
reçu ce message électronique par erreur, veuillez en informer l’expéditeur 
immédiatement et supprimez le. Toute reproduction, divulgation ou distribution 
du présent message électronique est strictement interdite. NAV CANADA n’assume 
aucune responsabilité en cas de dommage causé par tout virus ou autre programme 
malveillant transmis par ce message électronique.
___
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] Rename column

2021-06-01 Thread Richard McDonnell
In relation to editing Tables, reordering, remaning etc.. can be carried out 
using Refactor fields, which can be found in the Processing Toolbox
Regards,

Richard.




——
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://gov.ie/opw

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/

——
MSc GIS, FME Certified Professional

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://www.opw.ie

——
Email Disclaimer: https://www.opw.ie/en/disclaimer/
From: Qgis-user  On Behalf Of Tudorache, 
Marian
Sent: 01 June 2021 15:27
To: Ursula Heinze ; Qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Rename column

There should be a method renameAttribute as part of QgsVectorLayer class.

You can do something like that:

layer = iface.activeLayer()
for field in layer.pendingFields():
if field.name() == 'old':
with edit(layer):
idx = layer.fieldNameIndex(field.name())
layer.renameAttribute(idx, 'new')

Good luck!
Marian

From: Qgis-user 
mailto:qgis-user-boun...@lists.osgeo.org>> 
On Behalf Of Ursula Heinze
Sent: June 1, 2021 5:26 AM
To: Qgis-user@lists.osgeo.org
Subject: [EXT] [Qgis-user] Rename column

CAUTION: This email originated from outside of the organization. If you do not 
recognize the sender or you are not certain the content is safe, then do not 
click on any links or open any attachments.
AVERTISSEMENT : Ce courriel provient d’une source externe à l’organisation. Si 
vous ne reconnaissez pas l’expéditeur ou si vous doutez de la sécurité du 
contenu, ne cliquez sur aucun lien et n’ouvrez aucune pièce jointe.

Hello,
I have a little problem with the field calculator. I want to rename a column, 
and I don´t find any way to do it.
Now I tried to copy the field values in a new column with the right name, and 
am also not successful. Has anybody an idea for me, how to solve the problem? 
Many thanks in advance!
Ursula Heinze

Gesendet von 
Mail
 für Windows 10




This electronic message, as well as any transmitted files included in the 
electronic message, may contain privileged or confidential information and is 
intended solely for the use of the individual(s) or entity to which it is 
addressed. If you have received this electronic message in error please notify 
the sender immediately and delete the electronic message. Any unauthorized 
copying, disclosure or distribution of the electronic message is strictly 
forbidden. NAV CANADA accepts no liability for any damage caused by any virus 
and/or other malicious code transmitted by this electronic communication.

Le présent message électronique et tout fichier qui peut y être joint peuvent 
contenir des renseignements privilégiés ou confidentiels destinés à l’usage 
exclusif des personnes ou des organismes à qui ils s’adressent. Si vous avez 
reçu ce message électronique par erreur, veuillez en informer l’expéditeur 
immédiatement et supprimez le. Toute reproduction, divulgation ou distribution 
du présent message électronique est strictement interdite. NAV CANADA n’assume 
aucune responsabilité en cas de dommage causé par tout virus ou autre programme 
malveillant transmis par ce message électronique.

Please note that the existing 01-6476XXX / 046-9426XXX numbering ranges will no 
longer be available after 30th April 2021.
___
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] Is this a bug in the vector clipping algorithm?

2021-06-01 Thread Alister Hood
OK, I thought I had tried "Check validity" with both QGIS and GEOS methods,
but I must have got confused and only used GEOS method, which doesn't
detect an error.
The first tool I tried was actually "Fix geometries", which also thinks the
geometries are valid.  Maybe fix geometries uses GEOS and needs to be
enhanced with a QGIS method.
It seems strange for other algorithms like "clip" to do more fixing than
"fix geometries", especially in a case like this where you would think the
feature could be clipped without any "fixing".

Thanks.

Date: Tue, 1 Jun 2021 02:45:51 -0700 (MST)
> From: Andrea Giudiceandrea 
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] Is this a bug in the vector clipping
> algorithm?
> Message-ID: <1622540751842-0.p...@n6.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Alister Hood-2 wrote
> > I haven't been able to find a tool for validating or repairing geometries
> > that thinks there is a problem with the original geometry
>
> Hi Alister,
> what tool have you used to check the geometry?
>
> Have you tried to use the Geometry Checker core plugin (Vectror->Check
> Geometries) or the "Check validity" (qgis:checkvalidity) processing tool
> (with the QGIS method)?
> They both report errors: "duplicate node", "self contact", "duplicate
> nodes".
>
> Also the ArcMap/ArcGIS Check Geometry tool reports "self intersections".
>
> Anyway it seem the QGIS Clip tool does a "sanitize" of the intersection
> result (always converting to Multi Type).
>
> Regards.
>
> Andrea Giudiceandrea
>
___
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] Qgis Excavated Pond Volume

2021-06-01 Thread Tennessee Aerial Imagery
I run GIS Mapping with Photogrammetry using Pix4D Desk Top Mapper to
process the data into deliverable files for the construction industry. While
the deliverables are easy to open and manipulate in Civil Cad, not all
construction companies have Civil Cad SW. With these companies, I share
the Pix4D Cloud version. That covers it pretty well. BUT!! sometimes I
need to just share files for use in QGIS.

While QGIS is simple enough with the Ortho. Contours, Elevations and
Distances; I cannot break into Cut/Fill Volumes using the new Volume
Calculation Tool. I am trying to attain the volume of a large on-site
pond. No problem with Pix4D but cannot with QGIS.

My Pix4D Z files are: DTM (DSM) Tif and Contour DXF and SHP

I have no problem creating the Polygon but cannot place any of the factors
together to obtain accurate volume with QGIS. Which is 6.7 million gallons.

Can anyone help?? Thanks

-- 
* TENNESSEE AERIAL IMAGERY*
*Aerial Mapping & Photography For The Construction & Commercial Real Estate
Industries*

* 865-621-5460   www.tnaerialimagery.com
   tennesseeaerialimag...@gmail.com
*
*   Licensed - Insured - FAA Certified - References
Available*
___
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 Excavated Pond Volume

2021-06-01 Thread Sebastian Gutwein
I have been doing volume calculations from Drone imagery processed in Open
Drone Map in QGIS and would be interested in helping you figure out how to
get it to work.
Here is a screenshot of the Processing Model I use.
[image: image.png]


On Tue, Jun 1, 2021 at 6:37 PM Tennessee Aerial Imagery <
tennesseeaerialimag...@gmail.com> wrote:

> I run GIS Mapping with Photogrammetry using Pix4D Desk Top Mapper to
> process the data into deliverable files for the construction industry.
> While
> the deliverables are easy to open and manipulate in Civil Cad, not all
> construction companies have Civil Cad SW. With these companies, I share
> the Pix4D Cloud version. That covers it pretty well. BUT!! sometimes I
> need to just share files for use in QGIS.
>
> While QGIS is simple enough with the Ortho. Contours, Elevations and
> Distances; I cannot break into Cut/Fill Volumes using the new Volume
> Calculation Tool. I am trying to attain the volume of a large on-site
> pond. No problem with Pix4D but cannot with QGIS.
>
> My Pix4D Z files are: DTM (DSM) Tif and Contour DXF and SHP
>
> I have no problem creating the Polygon but cannot place any of the factors
> together to obtain accurate volume with QGIS. Which is 6.7 million gallons.
>
> Can anyone help?? Thanks
>
> --
> * TENNESSEE AERIAL IMAGERY*
> *Aerial Mapping & Photography For The Construction & Commercial Real
> Estate Industries*
>
> * 865-621-5460   www.tnaerialimagery.com
>    tennesseeaerialimag...@gmail.com
> *
> *   Licensed - Insured - FAA Certified -
> References Available*
>
> ___
> 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 Excavated Pond Volume

2021-06-01 Thread Sebastian Gutwein
This blog post might help get you started on the process.
https://www.pointsnorthgis.ca/blog/how-to-calculate-surfacecut-volume-qgis-advanced/

On Tue, Jun 1, 2021 at 9:01 PM Tennessee Aerial Imagery <
tennesseeaerialimag...@gmail.com> wrote:

> Thank you,
>
> I have printed out your method.  I will spend some time with it.
> The terminology is pretty alien to me.  But I will dig hard into it.
>
> Out of Pix4D the only Z files I get are a DSM tif file and contour
> dxf and shp file.  I have been doing my best with the new Qgis
> Vol Calc Tool but get nowhere.
>
> Thanks  Dave
>
> On Tue, Jun 1, 2021 at 7:27 PM Sebastian Gutwein  wrote:
>
>> I have been doing volume calculations from Drone imagery processed in
>> Open Drone Map in QGIS and would be interested in helping you figure out
>> how to get it to work.
>> Here is a screenshot of the Processing Model I use.
>> [image: image.png]
>>
>>
>> On Tue, Jun 1, 2021 at 6:37 PM Tennessee Aerial Imagery <
>> tennesseeaerialimag...@gmail.com> wrote:
>>
>>> I run GIS Mapping with Photogrammetry using Pix4D Desk Top Mapper to
>>> process the data into deliverable files for the construction industry.
>>> While
>>> the deliverables are easy to open and manipulate in Civil Cad, not all
>>> construction companies have Civil Cad SW. With these companies, I share
>>> the Pix4D Cloud version. That covers it pretty well. BUT!! sometimes I
>>> need to just share files for use in QGIS.
>>>
>>> While QGIS is simple enough with the Ortho. Contours, Elevations and
>>> Distances; I cannot break into Cut/Fill Volumes using the new Volume
>>> Calculation Tool. I am trying to attain the volume of a large on-site
>>> pond. No problem with Pix4D but cannot with QGIS.
>>>
>>> My Pix4D Z files are: DTM (DSM) Tif and Contour DXF and SHP
>>>
>>> I have no problem creating the Polygon but cannot place any of the
>>> factors
>>> together to obtain accurate volume with QGIS. Which is 6.7 million
>>> gallons.
>>>
>>> Can anyone help?? Thanks
>>>
>>> --
>>> * TENNESSEE AERIAL IMAGERY*
>>> *Aerial Mapping & Photography For The Construction & Commercial Real
>>> Estate Industries*
>>>
>>> * 865-621-5460   www.tnaerialimagery.com
>>>    tennesseeaerialimag...@gmail.com
>>> *
>>> *   Licensed - Insured - FAA Certified -
>>> References Available*
>>>
>>> ___
>>> 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
>>>
>>
>
> --
> * TENNESSEE AERIAL IMAGERY*
> *Aerial Mapping & Photography For The Construction & Commercial Real
> Estate Industries*
>
> * 865-621-5460   www.tnaerialimagery.com
>    tennesseeaerialimag...@gmail.com
> *
> *   Licensed - Insured - FAA Certified -
> References Available*
>
>
___
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