Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread Paolo Cavallini
Hi Mark, thanks for your feedback. Il 17/01/2017 04:01, Mark Johnson ha scritto: > thanks for your feedback. Shouldn't this be reported by ST_IsValid also? > > > Yes, it should. > If you could supply the offending geometry in a text file (i.e. result > of 'ST_AsText(geometry)'), then this c

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread Andrea Peri
You have right. The ST_MAkeVaild is capable to return a valid geometry. But it dont remove redundant vertexs. The redundant vertex is not always considered an Unvalidity (I guess yes) so originally it was separated from the MakeValid function. I guess is better if qgis do: before a removeredundant

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread Mark Johnson
> > thanks for your feedback. Shouldn't this be reported by ST_IsValid also? > Yes, it should. SELECT ST_GeomFromText('POLYGON((7 7, 77 77, 35 35,7 7))') AS bad_poly, ST_IsValid(ST_GeomFromText('POLYGON((7 7, 77 77, 35 35,7 7))')) AS bad_poly_valid, ST_IsValidDetail(ST_GeomFromText('POLYGON((7

[Qgis-developer] Reverse-engineer .ui from ui.py

2017-01-16 Thread Tom Chadwin
I am assuming the answer is no, but is it possible automatically to reverse engineer a .ui from a .py file which was originally created using pyuic4? - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Reverse-e

[Qgis-developer] Processing ctest for QGIS timeout

2017-01-16 Thread matteo
Hi devs, I'm trying to run some Processing test for the QGIS provider with the following command: ctest -R ProcessingQgisAlgorithmsTest -V but it does not work. After about 20 minutes I cannot get any output and the shell remains here: test 4 Start 4: ProcessingQgisAlgorithmsTest 4: Test c

Re: [Qgis-developer] plugin VDLTools : invalid syntax ?

2017-01-16 Thread Gusthiot Christophe
I don't know exactly why, but it works now. And I added the check of qwt/matplotlib. Christophe De : Qgis-developer [qgis-developer-boun...@lists.osgeo.org] de la part de Tom Chadwin [tom.chad...@nnpa.org.uk] Envoyé : lundi 16 janvier 2017 11:25 À : qgis-d

[Qgis-developer] Plugin [1153] VDL Tools approval notification.

2017-01-16 Thread noreply
Plugin VDL Tools approval by pcav. The plugin version "[1153] VDL Tools 0.4 Experimental" is now approved Link: http://plugins.qgis.org/plugins/VDLTools/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: http://lists.osgeo.org/mai

[Qgis-developer] 'round' identifier not found in qgsmaprenderercustompainter.cpp

2017-01-16 Thread CABO
Hi, I'm trying to build QGIS 2.18.3 (the latest source in release_2.18) in Windows 7 (x64) using VC++ express 2010 and I am getting the error message: Error C3861: 'round': Identifier not found It happens in qgsmaprenderercustompainterjob.cpp when building qgis_core (debug). What can I do

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread Paolo Cavallini
Il 16/01/2017 13:23, Mark Johnson ha scritto: > This is a GEOS error that is being reported > - your Geometry has a Topological error > > > 2017-01-16T11:34:52 1 NOTA: NOTICE: Self-intersection at or > near point > > 619746.32941695023 4869530.4882389866 > > 2017-01-16T11:34:

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread Mark Johnson
This is a GEOS error that is being reported - your Geometry has a Topological error > 2017-01-16T11:34:52 1 NOTA: NOTICE: Self-intersection at or near > point > > 619746.32941695023 4869530.4882389866 > > 2017-01-16T11:34:52 1 NOTA: NOTICE: IllegalArgumentException: > Invalid > >

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread A Huarte
Yes, Paolo is right. There is a project option to set the simplification default setting for new layers. But you can change this setting to each layer you want (e.g layers throwing these errors). Could ST_RemoveRepeatedPoints from QGIS 2.14 to be the guilty? http://qgis.org/en/site/forusers/visua

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread aperi2007
ok. Thx. A. Il 16/01/2017 13:00, Paolo Cavallini ha scritto: Il 16/01/2017 12:59, aperi2007 ha scritto: Hi, I dont know any postgis specific server-side simplification option. :( Perhaps you mean the "rendering --> Enable feature simplification by default for newly added layers" ? yes,

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread Paolo Cavallini
Il 16/01/2017 12:59, aperi2007 ha scritto: > Hi, > > I dont know any postgis specific server-side simplification option. > > :( > > Perhaps you mean the "rendering --> Enable feature simplification by > default for newly added layers" ? yes, there is an option for server side simplification all

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread aperi2007
Hi, I dont know any postgis specific server-side simplification option. :( Perhaps you mean the "rendering --> Enable feature simplification by default for newly added layers" ? Thx. A. Il 16/01/2017 12:43, A Huarte ha scritto: Hi, do you have enabled the postgis server-side simplificat

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread Paolo Cavallini
Il 16/01/2017 12:43, A Huarte ha scritto: > Hi, do you have enabled the postgis server-side simplification for this > layer? Maybe it could throw these errors. It was enabled for one of the layers. Disabling and reenabling it did not trigger these errors. However, the strange thing is that errors

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread A Huarte
Hi, do you have enabled the postgis server-side simplification for this layer? Maybe it could throw these errors. Alvaro De: aperi2007 Para: qgis-developer@lists.osgeo.org Enviado: Lunes 16 de enero de 2017 12:16 Asunto: Re: [Qgis-developer] Valid or invalid geom in PostGIS? QGIS re

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread G. Allegri
Andrea, QGIS usa WKB, ci mancherebbe! :) https://github.com/qgis/QGIS/blob/master/src/providers/postgres/qgspostgresfeatureiterator.cpp#L692 giovanni 2017-01-16 12:16 GMT+01:00 aperi2007 : > QGIS retrieve geometry from postgis using WKT or WKB ? > > AFAIK The WKT is less precision than WKB. > >

Re: [Qgis-developer] Proposal - Change mIconProjectionEnable/Disable Icons

2017-01-16 Thread Alexandre Neto
This is the commit with the proposed changes. It has the new Icons and different behavior of the CRS text. I.e: When OFT is enable, it will show only the EPSG: When OTF is disable, it will show EPSG: (OTF off)), besides the icon is crossed. Note: I did not change the default settings to make OTF

Re: [Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread aperi2007
QGIS retrieve geometry from postgis using WKT or WKB ? AFAIK The WKT is less precision than WKB. A. Il 16/01/2017 11:37, Paolo Cavallini ha scritto: Hi all, when loading a layer in QGIS 2.18 I get from the PostGIS log panel a series of notices of the type: 2017-01-16T11:34:52 1 NOT

Re: [Qgis-developer] SLD parsing: handling ogc:Literal within CssParameter PR #3996

2017-01-16 Thread Luigi Pirelli
great :) and many thanks Jorge :) Luigi Pirelli ** * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com * LinkedIn: https://www.linkedin.com/in/luigipirelli * Stackexchange: http://gis

[Qgis-developer] Valid or invalid geom in PostGIS?

2017-01-16 Thread Paolo Cavallini
Hi all, when loading a layer in QGIS 2.18 I get from the PostGIS log panel a series of notices of the type: 2017-01-16T11:34:52 1 NOTA: NOTICE: Self-intersection at or near point 619746.32941695023 4869530.4882389866 2017-01-16T11:34:52 1 NOTA: NOTICE: IllegalArgumentExcepti

Re: [Qgis-developer] plugin VDLTools : invalid syntax ?

2017-01-16 Thread Tom Chadwin
I get: No module named Qwt5.Qwt I'm on 2.18.2/Win7x64 Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/plugin-VDLTools-invalid-syntax-tp5303571p5303580.html Sent from the QGIS - Developer mailing list

Re: [Qgis-developer] plugin VDLTools : invalid syntax ?

2017-01-16 Thread Régis Haubourg
Hi, Confirmed here too. Reloading it gives a more specific trace, : SyntaxError: invalid syntax Traceback (most recent call last): File "/home/regis/APPS/QGIS/release/share/qgis/python/qgis/utils.py", line 333, in startPlugin plugins[packageName] = package.classFactory(iface) File

[Qgis-developer] plugin VDLTools : invalid syntax ?

2017-01-16 Thread Gusthiot Christophe
Hi, My plugin VDLTools has been approved last week, but now that my colleague wants to install it, he obtains an error : "corrupted extension : invalid syntax". I checked that the package name is same than directory name, but looks good (saw that it could be the problem on the net). Where does it

Re: [Qgis-developer] GRASS missing from Processing?

2017-01-16 Thread matteo
Hi, same problem here on Linux Mint Sarah (as pointed out by Bernd). My cmake does not complain: -- Found GRASS 7: /usr/lib/grass72 (7.2.0, off_t size = 8) but I get the same error of Paolo. Thanks to all Matteo ___ Qgis-developer mailing list Qgis-