[postgis-devel] [patch] GEOS simplify functions

strk at refractions.net strk at refractions.net
Wed Dec 13 13:47:22 PST 2006


On Wed, Dec 13, 2006 at 04:32:00PM -0500, François Weykmans wrote:
> On 12/13/06, strk at refractions.net <strk at refractions.net> wrote:
> 
> >It lacks some checks for GEOS version.
> >A dynamic check would be needed, so that simply
> >upgrading GEOS brings the functionality in.
> >See GEOSVersion function of the GEOS C-API
> 
> 
> By checking if return string from GEOSVersion is < 3.0.0 and print error
> message with elog(ERROR,"blabla"); ?

Yes, that was the idea, but you'll also need to provide the unavailable functions
definition when the CAPI header doesn't provide it itself, this using
compile-time checks...

--strk;



More information about the postgis-devel mailing list