[geos-devel] GEOS versioning scheme

strk strk at keybit.net
Sat Jul 17 05:45:40 EDT 2004


GEOS adopted libtool suggested versioning scheme.
This specifies a range of supported interface.
Major/Minor/Patch numbers will represent:
	Major: minimum interface supported
	Minor: number of additional forward interfaces supported
	Patch: current (max) interface revision

Next release will be 2.0.0 as it will support the new
interface and nothing else (backward compatibility has been broken).

The <geos/version.h> header file will provide the following defines:
	GEOS_FIRST_INTERFACE 2
	GEOS_LAST_INTERFACE 2
	GEOS_JTS_PORT "1.4"
	GEOS_VERSION_MAJOR 2
	GEOS_VERSION_MINOR 0
	GEOS_VERSION_PATCH 0
See postgis for an example of using FIRS/LAST interface for
multi-inteface support.

geos-config will continue to print GEOS_VERSION with the --version switch
and has acquired a new --jtsport switch printing JTS release number
current GEOS release has been ported from.

A new string geos::version() has been introduced providing both
GEOS and corrispondent JTS version at runtime (as a string).
Let me know if you find the name too subject to name clashes...

--strk;



More information about the geos-devel mailing list