Re: [Qgis-user] Fix Geometries
I strongly agree, more than 1 year ago asked for translation to english to allow better review... but no power users reviewed the document, and we also were changing from 2.x to 3.x => that are some reason why it was never pushed forward. Probably we need a porting to 3.x and someone translating and taking care to maintain it during the time in the documentation. Luigi Pirelli ** * LinkedIn: https://www.linkedin.com/in/luigipirelli * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli * GitHub: https://github.com/luipir * Mastering QGIS 2nd Edition: * https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition * Hire me: http://goo.gl/BYRQKg ** On Fri, 24 May 2019 at 18:15, Nicolas Cadieux wrote: > Bonjour Alain, > > I read the document and it's useful. IMHO, this should be included in > the QGIS documentation in the future. > ... > > Bonne journée! > > Nicolas Cadieux > > ___ 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] Fix Geometries
Bonjour Alain, I read the document and it's useful. IMHO, this should be included in the QGIS documentation in the future. Under QGIS 3.6.2, I used the plugin but I had to fix one problem at a time because of stability issues. I did not make a bug report because one was already active. I may be able to give you access to my shape file if you are interested in trouble shooting. I would need to ask first because I do not own this database but I am confident I could obtain permission. Send me a private email if you need more info. Bonne journée! Nicolas Cadieux On 2019-05-24 3:20 a.m., FERRATON Alain (Chef de groupe) - SG/SPSSI/CPII/DOO/ET wrote: Hi, We published a document in early 2018 on geometry fixes. This document should be revised, but may provide some elements. (For example, geometry checker is now more stable under QGIS 3) It is open for comments... We have in our projects to produce a more user-friendly version see : http://geoinformations.metier.e2.rie.gouv.fr/spip.php?page=article&id_article=3522&id_rubrique=712 see the document at the bottom of the page Regards, Alain FERRATON Alain Ministère de la Transition écologique et solidaire (MTES) SG/SPSSI/CPII/DOO Chef du groupe Expertise Technique 02.40.12.84.08 Le 23/05/2019 à 13:07, > Richard McDonnell (par Internet, dépôt qgis-user-boun...@lists.osgeo.org) a écrit : Hi Finbar, One other solution would be to use a double buffer, as in a positive buffer something like 0.001, followed by a negative buffer of -0.001. The issue you are facing is common, as most flood polygons are derived from raster's and you can get a lot of self-intersections. The double buffer is in my experience the handiest method of solving the issue. Also by using such a small buffer, even a single buffer, will make little difference, to a house being in or out of a flood zone, when taking into account the, resolutions of the polygon datasets. Hope this helps, Regards, Richard. -- Richard McDonnell GIS Specialist | FRM Data Management Email: richard.mcdonn...@opw.ie Phone: + 353 (0) 1 647 6543 Mobile: +353 (0) 87 688 5964 The Office of Public Works 52 St. Stephen's Green Dublin 2 ~ D02 DR67 -Original Message- From: Qgis-user On Behalf Of GILLEN Finbar Sent: 22 May 2019 11:40 To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Fix Geometries Thanks for all the responses on this... I am going to try the Check Validity plugin ('QGIS' method) as a starter within QGIS 3.2. I am using a fairly detailed flood polygon so accuracy is key. I will let you know how I get on. Thanks again, Finbar -Original Message- From: Qgis-user On Behalf Of Nicolas Cadieux Sent: 21 May 2019 23:02 To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Fix Geometries Hi, The Geometry Checker plugin will add a the 'Check Geometries' option in the vector menu. It is very unstable with the current version of QGIS. If you get it to run, it should solve most problems. I get it to run when I only select one test at a time. The most predictable tool is the vector/geometry tools/Check validity using the 'QGIS' Method (not GEOS). That should fix your file. There is a 'remove duplicate vertices' and 'delete duplicate geometries' in processing. Your problem could also be caused by a module not working with multipart objects. Go to vector/Geometry tools/Multiparts to singleparts. If your lines don't touch, try the 'snap Geometries to layer ' in processing. Nicolas On 2019-05-21 2:54 a.m., Mithoefer wrote: Hi Finnbar, What plugin are you talking about and what QGIS version do you use? You have a number of tools to check geometries. Try "Topology checker" or "Geometry checker" to see where the problems are (invalid geometries). Geometry checker is also able to fix some issues. Maybe thats the one you use. Anotehr option is GRASS GIS. Have you ever worked wit GRASS GIS? You can create a GRASS database and import your polygons. GRASS GIS uses a topolgical data model and is quite powerful in establishing a desent data model with snapping options and clean functions. You can also try GRASS tools from the processing framework like build polygons or clean. Regards Klaus Am 20.05.19 um 11:31 schrieb GILLEN Finbar: Hi All, I have a few polygon layers where anytime I go to use them I have to use the fix geometries plugin so that invalid geometries are fixed. When I save the output from the fixed geometries plugin and add it in a new project the same issues appears where I can’t use it accurately to do a Select or Join by Location because some of the geometries are still seen as invalid even though they have been ‘fixed’. Is there anyway solution to this or do I have to keep using the fix geometries plugin anytime I use the polygons for analysis? Regards Finbar
Re: [Qgis-user] Fix Geometries
Hi Andreas Sorry for the broken link. your link refers to the right document. regards FERRATON Alain Ministère de la Transition écologique et solidaire (MTES) SG/SPSSI/CPII/DOO Chef du groupe Expertise Technique 02.40.12.84.08 Le 24/05/2019 à 11:42, > Andreas Wicht (par Internet) a écrit : Hi Alain, see : http://geoinformations.metier.e2.rie.gouv.fr/spip.php?page=article&id_article=3522&id_rubrique=712 see the document at the bottom of the page I am really interested in reading the mentioned document but the link does not work for me. Am I the only one? After searching a bit on http://www.geoinformations.developpement-durable.gouv.fr I found: http://www.geoinformations.developpement-durable.gouv.fr/fichier/odt/geometry_checking_and_repair_af_cle6caba3.odt?arg=177835644&cle=8222b177cdbd3d0aa814f510b0e8469fbac0dc74&file=odt%2Fgeometry_checking_and_repair_af_cle6caba3.odt Is that it? Cheers ___ 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] Fix Geometries
Hi Alain, > see : > http://geoinformations.metier.e2.rie.gouv.fr/spip.php?page=article&id_article=3522&id_rubrique=712 > see the document at the bottom of the page I am really interested in reading the mentioned document but the link does not work for me. Am I the only one? After searching a bit on http://www.geoinformations.developpement-durable.gouv.fr I found: http://www.geoinformations.developpement-durable.gouv.fr/fichier/odt/geometry_checking_and_repair_af_cle6caba3.odt?arg=177835644&cle=8222b177cdbd3d0aa814f510b0e8469fbac0dc74&file=odt%2Fgeometry_checking_and_repair_af_cle6caba3.odt Is that it? Cheers ___ 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] Fix Geometries
Hi, We published a document in early 2018 on geometry fixes. This document should be revised, but may provide some elements. (For example, geometry checker is now more stable under QGIS 3) It is open for comments... We have in our projects to produce a more user-friendly version see : http://geoinformations.metier.e2.rie.gouv.fr/spip.php?page=article&id_article=3522&id_rubrique=712 see the document at the bottom of the page Regards, Alain FERRATON Alain Ministère de la Transition écologique et solidaire (MTES) SG/SPSSI/CPII/DOO Chef du groupe Expertise Technique 02.40.12.84.08 Le 23/05/2019 à 13:07, > Richard McDonnell (par Internet, dépôt qgis-user-boun...@lists.osgeo.org) a écrit : Hi Finbar, One other solution would be to use a double buffer, as in a positive buffer something like 0.001, followed by a negative buffer of -0.001. The issue you are facing is common, as most flood polygons are derived from raster's and you can get a lot of self-intersections. The double buffer is in my experience the handiest method of solving the issue. Also by using such a small buffer, even a single buffer, will make little difference, to a house being in or out of a flood zone, when taking into account the, resolutions of the polygon datasets. Hope this helps, Regards, Richard. -- Richard McDonnell GIS Specialist | FRM Data Management Email: richard.mcdonn...@opw.ie Phone: + 353 (0) 1 647 6543 Mobile: +353 (0) 87 688 5964 The Office of Public Works 52 St. Stephen's Green Dublin 2 ~ D02 DR67 -Original Message- From: Qgis-user On Behalf Of GILLEN Finbar Sent: 22 May 2019 11:40 To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Fix Geometries Thanks for all the responses on this... I am going to try the Check Validity plugin ('QGIS' method) as a starter within QGIS 3.2. I am using a fairly detailed flood polygon so accuracy is key. I will let you know how I get on. Thanks again, Finbar -Original Message- From: Qgis-user On Behalf Of Nicolas Cadieux Sent: 21 May 2019 23:02 To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Fix Geometries Hi, The Geometry Checker plugin will add a the 'Check Geometries' option in the vector menu. It is very unstable with the current version of QGIS. If you get it to run, it should solve most problems. I get it to run when I only select one test at a time. The most predictable tool is the vector/geometry tools/Check validity using the 'QGIS' Method (not GEOS). That should fix your file. There is a 'remove duplicate vertices' and 'delete duplicate geometries' in processing. Your problem could also be caused by a module not working with multipart objects. Go to vector/Geometry tools/Multiparts to singleparts. If your lines don't touch, try the 'snap Geometries to layer ' in processing. Nicolas On 2019-05-21 2:54 a.m., Mithoefer wrote: Hi Finnbar, What plugin are you talking about and what QGIS version do you use? You have a number of tools to check geometries. Try "Topology checker" or "Geometry checker" to see where the problems are (invalid geometries). Geometry checker is also able to fix some issues. Maybe thats the one you use. Anotehr option is GRASS GIS. Have you ever worked wit GRASS GIS? You can create a GRASS database and import your polygons. GRASS GIS uses a topolgical data model and is quite powerful in establishing a desent data model with snapping options and clean functions. You can also try GRASS tools from the processing framework like build polygons or clean. Regards Klaus Am 20.05.19 um 11:31 schrieb GILLEN Finbar: Hi All, I have a few polygon layers where anytime I go to use them I have to use the fix geometries plugin so that invalid geometries are fixed. When I save the output from the fixed geometries plugin and add it in a new project the same issues appears where I can’t use it accurately to do a Select or Join by Location because some of the geometries are still seen as invalid even though they have been ‘fixed’. Is there anyway solution to this or do I have to keep using the fix geometries plugin anytime I use the polygons for analysis? Regards Finbar * The contents and any attachments of this electronic mail message are confidential and intended only for the named addressees. Dissemination, forwarding, publication or other use of the message or attachments by any unauthorised person is strictly prohibited. Unless stated to the contrary, any opinions expressed in this message are personal and may not be attributed to AXA Insurance dac or any member of the AXA Group of Companies. AXA Insurance dac is regulated by the Central Bank of Ireland. For business in Northern Ireland, AXA Insurance dac is authorised by the Central Bank of Ireland and subject to limited regulation by the Financial Cond
Re: [Qgis-user] Fix Geometries
Hi Finbar, One other solution would be to use a double buffer, as in a positive buffer something like 0.001, followed by a negative buffer of -0.001. The issue you are facing is common, as most flood polygons are derived from raster's and you can get a lot of self-intersections. The double buffer is in my experience the handiest method of solving the issue. Also by using such a small buffer, even a single buffer, will make little difference, to a house being in or out of a flood zone, when taking into account the, resolutions of the polygon datasets. Hope this helps, Regards, Richard. -- Richard McDonnell GIS Specialist | FRM Data Management Email: richard.mcdonn...@opw.ie Phone: + 353 (0) 1 647 6543 Mobile: +353 (0) 87 688 5964 The Office of Public Works 52 St. Stephen's Green Dublin 2 ~ D02 DR67 -Original Message- From: Qgis-user On Behalf Of GILLEN Finbar Sent: 22 May 2019 11:40 To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Fix Geometries Thanks for all the responses on this... I am going to try the Check Validity plugin ('QGIS' method) as a starter within QGIS 3.2. I am using a fairly detailed flood polygon so accuracy is key. I will let you know how I get on. Thanks again, Finbar -Original Message- From: Qgis-user On Behalf Of Nicolas Cadieux Sent: 21 May 2019 23:02 To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Fix Geometries Hi, The Geometry Checker plugin will add a the 'Check Geometries' option in the vector menu. It is very unstable with the current version of QGIS. If you get it to run, it should solve most problems. I get it to run when I only select one test at a time. The most predictable tool is the vector/geometry tools/Check validity using the 'QGIS' Method (not GEOS). That should fix your file. There is a 'remove duplicate vertices' and 'delete duplicate geometries' in processing. Your problem could also be caused by a module not working with multipart objects. Go to vector/Geometry tools/Multiparts to singleparts. If your lines don't touch, try the 'snap Geometries to layer ' in processing. Nicolas On 2019-05-21 2:54 a.m., Mithoefer wrote: > Hi Finnbar, > > What plugin are you talking about and what QGIS version do you use? > You have a number of tools to check geometries. Try "Topology checker" > or "Geometry checker" to see where the problems are (invalid > geometries). Geometry checker is also able to fix some issues. Maybe > thats the one you use. > > Anotehr option is GRASS GIS. Have you ever worked wit GRASS GIS? You > can create a GRASS database and import your polygons. GRASS GIS uses a > topolgical data model and is quite powerful in establishing a desent > data model with snapping options and clean functions. You can also try > GRASS tools from the processing framework like build polygons or clean. > > Regards > Klaus > > Am 20.05.19 um 11:31 schrieb GILLEN Finbar: >> Hi All, >> >> I have a few polygon layers where anytime I go to use them I have to >> use the fix geometries plugin so that invalid geometries are fixed. >> >> When I save the output from the fixed geometries plugin and add it in >> a new project the same issues appears where I can’t use it accurately >> to do a Select or Join by Location because some of the geometries are >> still seen as invalid even though they have been ‘fixed’. >> >> Is there anyway solution to this or do I have to keep using the fix >> geometries plugin anytime I use the polygons for analysis? >> >> Regards >> >> Finbar >> >> * >> >> The contents and any attachments of this electronic mail message are >> confidential and intended only for the named addressees. >> Dissemination, forwarding, publication or other use of the message or >> attachments by any unauthorised person is strictly prohibited. >> >> Unless stated to the contrary, any opinions expressed in this message >> are personal and may not be attributed to AXA Insurance dac or any >> member of the AXA Group of Companies. >> >> AXA Insurance dac is regulated by the Central Bank of Ireland. For >> business in Northern Ireland, AXA Insurance dac is authorised by the >> Central Bank of Ireland and subject to limited regulation by the >> Financial Conduct Authority. Details about the extent of our >> regulation by the Financial Conduct Authority are available from us >> on request. AXA Insurance dac is a private company limited by shares, >> registered in Ireland number 136155. Registered Office Wolfe Tone >> House, Wolfe Tone Str
Re: [Qgis-user] Fix Geometries
Thanks for all the responses on this... I am going to try the Check Validity plugin ('QGIS' method) as a starter within QGIS 3.2. I am using a fairly detailed flood polygon so accuracy is key. I will let you know how I get on. Thanks again, Finbar -Original Message- From: Qgis-user On Behalf Of Nicolas Cadieux Sent: 21 May 2019 23:02 To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Fix Geometries Hi, The Geometry Checker plugin will add a the 'Check Geometries' option in the vector menu. It is very unstable with the current version of QGIS. If you get it to run, it should solve most problems. I get it to run when I only select one test at a time. The most predictable tool is the vector/geometry tools/Check validity using the 'QGIS' Method (not GEOS). That should fix your file. There is a 'remove duplicate vertices' and 'delete duplicate geometries' in processing. Your problem could also be caused by a module not working with multipart objects. Go to vector/Geometry tools/Multiparts to singleparts. If your lines don't touch, try the 'snap Geometries to layer ' in processing. Nicolas On 2019-05-21 2:54 a.m., Mithoefer wrote: > Hi Finnbar, > > What plugin are you talking about and what QGIS version do you use? > You have a number of tools to check geometries. Try "Topology checker" > or "Geometry checker" to see where the problems are (invalid > geometries). Geometry checker is also able to fix some issues. Maybe > thats the one you use. > > Anotehr option is GRASS GIS. Have you ever worked wit GRASS GIS? You > can create a GRASS database and import your polygons. GRASS GIS uses a > topolgical data model and is quite powerful in establishing a desent > data model with snapping options and clean functions. You can also try > GRASS tools from the processing framework like build polygons or clean. > > Regards > Klaus > > Am 20.05.19 um 11:31 schrieb GILLEN Finbar: >> Hi All, >> >> I have a few polygon layers where anytime I go to use them I have to >> use the fix geometries plugin so that invalid geometries are fixed. >> >> When I save the output from the fixed geometries plugin and add it in >> a new project the same issues appears where I can’t use it accurately >> to do a Select or Join by Location because some of the geometries are >> still seen as invalid even though they have been ‘fixed’. >> >> Is there anyway solution to this or do I have to keep using the fix >> geometries plugin anytime I use the polygons for analysis? >> >> Regards >> >> Finbar >> >> * >> >> The contents and any attachments of this electronic mail message are >> confidential and intended only for the named addressees. >> Dissemination, forwarding, publication or other use of the message or >> attachments by any unauthorised person is strictly prohibited. >> >> Unless stated to the contrary, any opinions expressed in this message >> are personal and may not be attributed to AXA Insurance dac or any >> member of the AXA Group of Companies. >> >> AXA Insurance dac is regulated by the Central Bank of Ireland. For >> business in Northern Ireland, AXA Insurance dac is authorised by the >> Central Bank of Ireland and subject to limited regulation by the >> Financial Conduct Authority. Details about the extent of our >> regulation by the Financial Conduct Authority are available from us >> on request. AXA Insurance dac is a private company limited by shares, >> registered in Ireland number 136155. Registered Office Wolfe Tone >> House, Wolfe Tone Street, Dublin 1. >> >> "AXA Supporting Road Safety in Ireland" >> >> Internet e-mails are not necessarily secure. AXA Group does not >> accept responsibility for changes made to this message after it was >> sent. To help promote the use of electronic documents and to be >> kinder to the environment, please consider whether you really need to >> print this email. >> >> * >> >> ___ >> 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/listinf
Re: [Qgis-user] Fix Geometries
Just do it the hard/smart way. Google for some test suits with invalid geometries, run them in QGIS with the different methods and write a summary. Or so it the fun(ny) way and create your own invalid geodata. Self-intersecting, overlapping etc. — Von einem iPhone gesendet und wird daher Fehler enthalten. > Am 22.05.2019 um 12:08 schrieb DelazJ : > > Hi Jürgen, > > I know that we don't have black box and this was certainly not the > appropriate term to use. Sorry. Still, most of the users have no means to > read the code but need to use any of these options. Without understanding > what they do, it becomes simply a click-click business (not empowering them). > So it could be nice we shed some light on them (maybe something for a grant > proposal?). > > Greetings, > Harrissou > >> Le mer. 22 mai 2019 à 11:55, Jürgen E. Fischer a écrit : >> Hi Harrissou, >> >> On Wed, 22. May 2019 at 11:03:56 +0200, DelazJ wrote: >> > *> The QGIS method is an internal method that can return multiple errors >> > and was > IIRC introduced, when GEOS could just report one error at a time >> > without a > location and we couldn't or didn't yet use it threaded. >> > Essentially it was > just made to highlight digitizing errors. It might >> > miss some rules or > interpret some edge cases differently than GEOS.* >> > >> > So there are some historical reasons. Unfortunately, this does not seem >> > enough to clarify things and wouldn't deserve a place in the docs (I may be >> > wrong!). If anyone has more details, please tell us. I think it could be >> > worth clarify and document the differences if they are clear enough or >> > merge the tools in the future if possible, avoiding confusion for users (we >> > should not have kind of black box ;) in QGIS). >> >> We don't have a blackbox. The ultimate source of information about the QGIS >> method is the QGIS method: >> >> https://github.com/qgis/QGIS/blob/master/src/core/qgsgeometryvalidator.cpp >> >> But there isn't a comparison on what GEOS and that method do differently. >> >> >> Jürgen >> >> -- >> Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 >> Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 >> Software Engineer D-26506 Nordenhttps://www.norbit.de >> QGIS release manager (PSC) GermanyIRC: jef on FreeNode >> ___ >> 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] Fix Geometries
Hi Jürgen, I know that we don't have black box and this was certainly not the appropriate term to use. Sorry. Still, most of the users have no means to read the code but need to use any of these options. Without understanding what they do, it becomes simply a click-click business (not empowering them). So it could be nice we shed some light on them (maybe something for a grant proposal?). Greetings, Harrissou Le mer. 22 mai 2019 à 11:55, Jürgen E. Fischer a écrit : > Hi Harrissou, > > On Wed, 22. May 2019 at 11:03:56 +0200, DelazJ wrote: > > *> The QGIS method is an internal method that can return multiple errors > > and was > IIRC introduced, when GEOS could just report one error at a > time > > without a > location and we couldn't or didn't yet use it threaded. > > Essentially it was > just made to highlight digitizing errors. It might > > miss some rules or > interpret some edge cases differently than GEOS.* > > > > So there are some historical reasons. Unfortunately, this does not seem > > enough to clarify things and wouldn't deserve a place in the docs (I may > be > > wrong!). If anyone has more details, please tell us. I think it could be > > worth clarify and document the differences if they are clear enough or > > merge the tools in the future if possible, avoiding confusion for users > (we > > should not have kind of black box ;) in QGIS). > > We don't have a blackbox. The ultimate source of information about the > QGIS > method is the QGIS method: > > https://github.com/qgis/QGIS/blob/master/src/core/qgsgeometryvalidator.cpp > > But there isn't a comparison on what GEOS and that method do differently. > > > Jürgen > > -- > Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 > Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 > Software Engineer D-26506 Norden > https://www.norbit.de > QGIS release manager (PSC) GermanyIRC: jef on FreeNode > ___ > 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] Fix Geometries
Hi Harrissou, On Wed, 22. May 2019 at 11:03:56 +0200, DelazJ wrote: > *> The QGIS method is an internal method that can return multiple errors > and was > IIRC introduced, when GEOS could just report one error at a time > without a > location and we couldn't or didn't yet use it threaded. > Essentially it was > just made to highlight digitizing errors. It might > miss some rules or > interpret some edge cases differently than GEOS.* > > So there are some historical reasons. Unfortunately, this does not seem > enough to clarify things and wouldn't deserve a place in the docs (I may be > wrong!). If anyone has more details, please tell us. I think it could be > worth clarify and document the differences if they are clear enough or > merge the tools in the future if possible, avoiding confusion for users (we > should not have kind of black box ;) in QGIS). We don't have a blackbox. The ultimate source of information about the QGIS method is the QGIS method: https://github.com/qgis/QGIS/blob/master/src/core/qgsgeometryvalidator.cpp But there isn't a comparison on what GEOS and that method do differently. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Nordenhttps://www.norbit.de QGIS release manager (PSC) GermanyIRC: jef on FreeNode signature.asc Description: PGP signature norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Juergen Fischer, Nils Kutscher HR: Amtsgericht Aurich HRB 100827 Datenschutzerklaerung: https://www.norbit.de/83/ ___ 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] Fix Geometries
Hi, Andreas, this is a question that I regularly see and let me quote an early reply of Jürgen Fischer (on qgis-user list, 2017/04/27 in a discussion entitled "Difference between QGIS and GEOS method?" - I fail to find the discussion in the archives): *> The QGIS method is an internal method that can return multiple errors and was > IIRC introduced, when GEOS could just report one error at a time without a > location and we couldn't or didn't yet use it threaded. Essentially it was > just made to highlight digitizing errors. It might miss some rules or > interpret some edge cases differently than GEOS.* So there are some historical reasons. Unfortunately, this does not seem enough to clarify things and wouldn't deserve a place in the docs (I may be wrong!). If anyone has more details, please tell us. I think it could be worth clarify and document the differences if they are clear enough or merge the tools in the future if possible, avoiding confusion for users (we should not have kind of black box ;) in QGIS). Regards, Harrissou Le mer. 22 mai 2019 à 09:53, Andreas Wicht a écrit : > Hi, > > > The most predictable tool is the vector/geometry tools/Check validity > > using the 'QGIS' Method (not GEOS). > > Is there actually a documentation/information on the difference of > validation here or why one would want to use 'QGIS' instead of 'GEOS' > for validation? > > https://docs.qgis.org/testing/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#check-validity > does not provide much information on that. > ___ > 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] Fix Geometries
Hi, > The most predictable tool is the vector/geometry tools/Check validity > using the 'QGIS' Method (not GEOS). Is there actually a documentation/information on the difference of validation here or why one would want to use 'QGIS' instead of 'GEOS' for validation? https://docs.qgis.org/testing/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#check-validity does not provide much information on that. ___ 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] Fix Geometries
Hi, The Geometry Checker plugin will add a the 'Check Geometries' option in the vector menu. It is very unstable with the current version of QGIS. If you get it to run, it should solve most problems. I get it to run when I only select one test at a time. The most predictable tool is the vector/geometry tools/Check validity using the 'QGIS' Method (not GEOS). That should fix your file. There is a 'remove duplicate vertices' and 'delete duplicate geometries' in processing. Your problem could also be caused by a module not working with multipart objects. Go to vector/Geometry tools/Multiparts to singleparts. If your lines don't touch, try the 'snap Geometries to layer ' in processing. Nicolas On 2019-05-21 2:54 a.m., Mithoefer wrote: Hi Finnbar, What plugin are you talking about and what QGIS version do you use? You have a number of tools to check geometries. Try "Topology checker" or "Geometry checker" to see where the problems are (invalid geometries). Geometry checker is also able to fix some issues. Maybe thats the one you use. Anotehr option is GRASS GIS. Have you ever worked wit GRASS GIS? You can create a GRASS database and import your polygons. GRASS GIS uses a topolgical data model and is quite powerful in establishing a desent data model with snapping options and clean functions. You can also try GRASS tools from the processing framework like build polygons or clean. Regards Klaus Am 20.05.19 um 11:31 schrieb GILLEN Finbar: Hi All, I have a few polygon layers where anytime I go to use them I have to use the fix geometries plugin so that invalid geometries are fixed. When I save the output from the fixed geometries plugin and add it in a new project the same issues appears where I can’t use it accurately to do a Select or Join by Location because some of the geometries are still seen as invalid even though they have been ‘fixed’. Is there anyway solution to this or do I have to keep using the fix geometries plugin anytime I use the polygons for analysis? Regards Finbar * The contents and any attachments of this electronic mail message are confidential and intended only for the named addressees. Dissemination, forwarding, publication or other use of the message or attachments by any unauthorised person is strictly prohibited. Unless stated to the contrary, any opinions expressed in this message are personal and may not be attributed to AXA Insurance dac or any member of the AXA Group of Companies. AXA Insurance dac is regulated by the Central Bank of Ireland. For business in Northern Ireland, AXA Insurance dac is authorised by the Central Bank of Ireland and subject to limited regulation by the Financial Conduct Authority. Details about the extent of our regulation by the Financial Conduct Authority are available from us on request. AXA Insurance dac is a private company limited by shares, registered in Ireland number 136155. Registered Office Wolfe Tone House, Wolfe Tone Street, Dublin 1. "AXA Supporting Road Safety in Ireland" Internet e-mails are not necessarily secure. AXA Group does not accept responsibility for changes made to this message after it was sent. To help promote the use of electronic documents and to be kinder to the environment, please consider whether you really need to print this email. * ___ 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] Fix Geometries
Hi Finnbar, What plugin are you talking about and what QGIS version do you use? You have a number of tools to check geometries. Try "Topology checker" or "Geometry checker" to see where the problems are (invalid geometries). Geometry checker is also able to fix some issues. Maybe thats the one you use. Anotehr option is GRASS GIS. Have you ever worked wit GRASS GIS? You can create a GRASS database and import your polygons. GRASS GIS uses a topolgical data model and is quite powerful in establishing a desent data model with snapping options and clean functions. You can also try GRASS tools from the processing framework like build polygons or clean. Regards Klaus Am 20.05.19 um 11:31 schrieb GILLEN Finbar: Hi All, I have a few polygon layers where anytime I go to use them I have to use the fix geometries plugin so that invalid geometries are fixed. When I save the output from the fixed geometries plugin and add it in a new project the same issues appears where I can’t use it accurately to do a Select or Join by Location because some of the geometries are still seen as invalid even though they have been ‘fixed’. Is there anyway solution to this or do I have to keep using the fix geometries plugin anytime I use the polygons for analysis? Regards Finbar * The contents and any attachments of this electronic mail message are confidential and intended only for the named addressees. Dissemination, forwarding, publication or other use of the message or attachments by any unauthorised person is strictly prohibited. Unless stated to the contrary, any opinions expressed in this message are personal and may not be attributed to AXA Insurance dac or any member of the AXA Group of Companies. AXA Insurance dac is regulated by the Central Bank of Ireland. For business in Northern Ireland, AXA Insurance dac is authorised by the Central Bank of Ireland and subject to limited regulation by the Financial Conduct Authority. Details about the extent of our regulation by the Financial Conduct Authority are available from us on request. AXA Insurance dac is a private company limited by shares, registered in Ireland number 136155. Registered Office Wolfe Tone House, Wolfe Tone Street, Dublin 1. "AXA Supporting Road Safety in Ireland" Internet e-mails are not necessarily secure. AXA Group does not accept responsibility for changes made to this message after it was sent. To help promote the use of electronic documents and to be kinder to the environment, please consider whether you really need to print this email. * ___ 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] Fix Geometries
Hi All, I have a few polygon layers where anytime I go to use them I have to use the fix geometries plugin so that invalid geometries are fixed. When I save the output from the fixed geometries plugin and add it in a new project the same issues appears where I can't use it accurately to do a Select or Join by Location because some of the geometries are still seen as invalid even though they have been 'fixed'. Is there anyway solution to this or do I have to keep using the fix geometries plugin anytime I use the polygons for analysis? Regards Finbar * The contents and any attachments of this electronic mail message are confidential and intended only for the named addressees. Dissemination, forwarding, publication or other use of the message or attachments by any unauthorised person is strictly prohibited. Unless stated to the contrary, any opinions expressed in this message are personal and may not be attributed to AXA Insurance dac or any member of the AXA Group of Companies. AXA Insurance dac is regulated by the Central Bank of Ireland. For business in Northern Ireland, AXA Insurance dac is authorised by the Central Bank of Ireland and subject to limited regulation by the Financial Conduct Authority. Details about the extent of our regulation by the Financial Conduct Authority are available from us on request. AXA Insurance dac is a private company limited by shares, registered in Ireland number 136155. Registered Office Wolfe Tone House, Wolfe Tone Street, Dublin 1. "AXA Supporting Road Safety in Ireland" Internet e-mails are not necessarily secure. AXA Group does not accept responsibility for changes made to this message after it was sent. To help promote the use of electronic documents and to be kinder to the environment, please consider whether you really need to print this email. * ___ 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