Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 28/06/2013 16:11, Matthias Kuhn ha scritto: > But as this is a) clearly a postgis/data error and b) QGIS forwards the > error message properly to the user, I don't think it's an issue to pay > any attention to on QGIS side. understandable, got i

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Matthias Kuhn
I didn't try to load this layer in QGIS before I realized the errors when doing analyses in postgis only and corrected the errors. But as this is a) clearly a postgis/data error and b) QGIS forwards the error message properly to the user, I don't think it's an issue to pay any attention to on QG

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 28/06/2013 15:57, Jürgen E. Fischer ha scritto: > Using the same version of PostGIS / GEOS ? yes, on the same DB > I suppose it's the && operator (bounding box intersection) and/or > (st_)intersects function that causes this (on certain invalid g

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Jürgen E . Fischer
Hi Paolo, On Fri, 28. Jun 2013 at 15:50:42 +0200, Paolo Cavallini wrote: > AFAIR, the same layer was loaded by qgis 1.8: Matthias, could you confirm? > All the best. Using the same version of PostGIS / GEOS ? I suppose it's the && operator (bounding box intersection) and/or (st_)intersects funct

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 28/06/2013 14:44, Matthias Kuhn ha scritto: > On Fre 28 Jun 2013 14:43:47 CEST, Paolo Cavallini wrote: >> NOTICE: IllegalArgumentException: Invalid number of points in LinearRing >> found 3 - >> must be 0 or >= 4 > Exactly the same that I had th

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 28/06/2013 14:44, Matthias Kuhn ha scritto: > Exactly the same that I had then. oh, interesting! seems fixed in more recent GEOS: http://trac.osgeo.org/postgis/ticket/1735 thanks - -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact detai

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 28/06/2013 14:34, Paolo Cavallini ha scritto: > Yes, thanks Matthis for this. QGIS is probably not loading the data, that's > why is > not finding errors. > I'm investigating further. The nasty ones seem these: NOTICE: IllegalArgumentException:

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Matthias Kuhn
On Fre 28 Jun 2013 14:43:47 CEST, Paolo Cavallini wrote: > * *BEGIN ENCRYPTED or SIGNED PART* * > > Il 28/06/2013 14:34, Paolo Cavallini ha scritto: > >> Yes, thanks Matthis for this. QGIS is probably not loading the data, that's >> why is >> not finding errors. >> I'm investigatin

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 28/06/2013 14:31, Matthias Kuhn ha scritto: > Hi Paolo, > > The following SQL statement worked for me to clean invalid geometries > from a table, which I was not able to work with in postgis (independent > of QGIS) > > select * from multipolygon

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 28/06/2013 14:27, Paolo Cavallini ha scritto: > Hi all. > I'm getting errors while loading a PostGIS layer: > === > Impossibile recuperare il cursore qgisf3_0 > Errore database: ERROR: geometry requires more points > > Interrogazione: CLOSE qgi

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Matthias Kuhn
Hi Paolo, The following SQL statement worked for me to clean invalid geometries from a table, which I was not able to work with in postgis (independent of QGIS) select * from multipolygons where not st_isvalid(wkb_geometry) After inspecting the invalid geometries, you can replace "select *" w

[Qgis-developer] Unclear errors in PostGIS layer

2013-06-28 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. I'm getting errors while loading a PostGIS layer: === Impossibile recuperare il cursore qgisf3_0 Errore database: ERROR: geometry requires more points Interrogazione: CLOSE qgisf3_0 ha restituito 7 [ERROR: current transaction is aborted,

Re: [Qgis-developer] Linear (Affine) transformationin Raster/Georeferencing

2013-06-28 Thread Agustin Lobo
Confirmed with one example. See http://hub.qgis.org/issues/8189 Agus On Wed, Jun 26, 2013 at 4:52 PM, Agustin Lobo wrote: > I have the impression that the Linear option > in the Raster Georeferencing plugin is always calculating > a 0 for the Rotation. Am I wrong? Could other people test? > In su

Re: [Qgis-developer] OWS sever: selecting CRS non functional?

2013-06-28 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 27/06/2013 22:12, rldhont ha scritto: >> I think I confirm it. Thanks: http://hub.qgis.org/issues/8188 Probably trivial to fix. All the best. - -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QG