maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [PATCH] [ocitysmap] Fix GEOS Intersection error whe


From: Thomas Petazzoni
Subject: Re: [Maposmatic-dev] [PATCH] [ocitysmap] Fix GEOS Intersection error when dealing with malformed ways
Date: Mon, 23 Apr 2012 21:19:53 +0200

Le Thu, 19 Apr 2012 00:39:36 +0200,
Étienne Loks <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]