[postgis-devel] POSTGIS_GEOS_VERSION

Sandro Santilli strk at keybit.net
Tue Nov 1 10:21:38 PDT 2011


On Tue, Nov 01, 2011 at 09:39:55AM -0700, Paul Ramsey wrote:
> I noticed a number of functions in postgis.sql.in.c (and in the
> associated .c files) that are commented as requiring particular GEOS
> versions (hausdorf, isvaliddetail, etc), but they aren't guarded
> behind POSTGIS_GEOS_VERSION defines. Is this by accident or by design?

By design we want to guard in the C implementation file, so that
rebuilds and overrides of the shared library get you the functionality
w/out requiring to re-source the SQL side of things.

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list