Re: [QGIS-Developer] [Processing][Vector Geometry] Check Validity Algorithm

2019-09-27 Thread João Gaspar
Nice Jorge, I think for now is relevant to explain the possible errors (I will try to put some images) and explain to the users what is each one and give possible hints how to fix them. Cheers, João A sexta, 27/09/2019, 16:36, Jorge Gustavo Rocha escreveu: > Hi João, > > If you can see a good

Re: [QGIS-Developer] [Processing][Vector Geometry] Check Validity Algorithm

2019-09-27 Thread Jorge Gustavo Rocha
Hi João, If you can see a good way to make both validation errors strings more similar (when the GEOS and QGIS error are the same), feel to make a proposal. Right now, for the same error, a user will see (for example): Using GEOS: Ring self-intersection Using QGIS: segments 2 and 126 of line 0

Re: [QGIS-Developer] [Processing][Vector Geometry] Check Validity Algorithm

2019-09-27 Thread Jorge Gustavo Rocha
Hi João, That would be great! For the GEOS validation, you can get the list of errors from: src/core/geometry/qgsgeos.cpp QStringLiteral( "topology validation error" ), QObject::tr( "Topology validation error", "GEOS Error" ) QStringLiteral( "repeated point" ), QObject::tr( "Repeated point",

[QGIS-Developer] [Processing][Vector Geometry] Check Validity Algorithm

2019-09-27 Thread João Gaspar
Hi devs, I need some guidance to help me find all possible error messages that are saved in the attribute table when we run the Check Validity Algorithm for both methods. This can be found in the source code? I search here but didn't find: