[Qgis-developer] QGIS 1.8 - check geometry validity not working

Salvatore Larosa lrssvtml at gmail.com
Mon May 7 08:16:48 PDT 2012


Il giorno lun, 07/05/2012 alle 16.46 +0200, a.furieri at lqt.it ha scritto:
> Hi Pasquale,
> 
> just FYI there are *five* geometric errors in your sample:
> at least, this accordingly to SpatiaLite ST_IsValid()
> [based on GEOS 3.3.3]
> 
> rowid=104 Queens / Howard Beach
> Self-intersection at or near point 597264.08336830535 
> 4499924.5422885586
> 
> rowid=124 Queens / Corona
> Self-intersection at or near point 595483.05876413803 
> 4513817.9535078695
> 
> rowid=125 Brooklyn / Red Hook
> Self-intersection at or near point 584306.82037598593 
> 4502360.5177495563
> 
> rowid=126 Queens / Douglastown-Little Neck
> Self-intersection at or near point 607230.60658880824 
> 4508695.5967170279
> 
> rowid=128 Queens / Steinway
> Self-intersection at or near point 593198.81389988924 
> 4515125.3787500784
> 
> bye Sandro
> 

In accord to PostGIS ST_IsValidDetail() function I get _four_ errors:

gid       reason               location
------|------------------|------------------------------------------
104   |Self-intersection |POINT(597264.083368305 4499924.54228856)
124   |Self-intersection |POINT(595483.058764138 4513817.95350787)
125   |Self-intersection |POINT(584306.820375986 4502360.51774956)
128   |Self-intersection |POINT(593198.813899889 4515125.37875008)

here miss row 126!

Confirmed for QGIS, 0 errors!


-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt



More information about the Qgis-developer mailing list