Le Thu, 19 Apr 2012 00:39:36 +0200, Étienne Loks <[email protected]> a écrit :
> In concerned SQL queries this patch apply a 0-buffer to malformed > ways. As malformed ways seem pretty uncommon and as this operation is > heavy for performance issue the query is first run without the > 0-buffer and is re-run with it if the query fails. > > With PostGIS 1.5 the failure message is not explicit so we can only > catch the generic psycopg2.InternalError. Thanks, applied. Thomas -- Thomas Petazzoni http://thomas.enix.org MapOSMatic http://www.maposmatic.org Logiciels Libres à Toulouse http://www.toulibre.org Embedded Linux http://www.free-electrons.com
