From: Sandro Santilli Date: Fri, 31 Dec 2004 10:35:33 +0000 (+0000) Subject: re-introduced G2P conversion profile for convexhull (was missing from previous patch) X-Git-Tag: pgis_1_0_0RC1~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d24ef57cd0cb21f97945138cf7450e6f2354598;p=postgis re-introduced G2P conversion profile for convexhull (was missing from previous patch) git-svn-id: http://svn.osgeo.org/postgis/trunk@1204 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/lwgeom/lwgeom_geos.c b/lwgeom/lwgeom_geos.c index 3a625aa1d..bcff87e2a 100644 --- a/lwgeom/lwgeom_geos.c +++ b/lwgeom/lwgeom_geos.c @@ -579,7 +579,13 @@ Datum convexhull(PG_FUNCTION_ARGS) //elog(NOTICE,"result: %s", GEOSasText(g3) ) ; GEOSSetSRID(g3, SRID); +#ifdef PROFILE + profstart(PROF_G2P); +#endif lwout = lwgeom_from_geometry(g3, TYPE_NDIMS(geom1->type) > 2); +#ifdef PROFILE + profstop(PROF_G2P); +#endif if (result == NULL) { GEOSdeleteGeometry(g1);