[Top][All Lists]

[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: Tue, 24 Apr 2012 21:15:41 +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.
> ---
>  ocitysmap2/indexlib/ |   49 
> +++++++++++++++++++++++++++++-----------
>  1 file changed, 36 insertions(+), 13 deletions(-)

I just started testing this, and here it seems to make the rendering
process rely slow on getting public buildings:

2012-04-24 21:08:53,994 - address@hidden - INFO - Getting amenities for 
Bâtiments publics/public_building...
2012-04-24 21:13:17,830 - address@hidden - INFO - Getting amenities for 
Bâtiments publics/police...

Is this normal to take 5 minutes just to get the public buildings?

I'm rendering Solingen, Germany as a test case (it was throwing a GEOS
Intersection error).

Thomas Petazzoni      
Logiciels Libres à Toulouse
Embedded Linux        

reply via email to

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