[geos-devel] regarding GEOS C++ API in ThirdParty
Sandro Santilli
strk at keybit.net
Fri Jul 4 09:15:00 PDT 2014
On Thu, Jul 03, 2014 at 09:56:43AM +0200, Rashad M wrote:
> Hi all,
>
> I have some questions regarding GEOS C++ API. From readme[1],
> GEOS C++ API is deprecated and not recommended for use in third party
> libraries. But most of examples and test are still in C++ and C++ api still
> exists and used in tests. The reason for this is goes itself can use c++
> interface but I want to is that the only reason for keeping c++ interface?
>
> If a third party already uses C++ interface is it recommended to move to C
> API?
The C++ API will remain, but can be changed between patch-level releases.
If you want your code to survive GEOS upgrades, you should use the C API.
> Lastly if there is a migration guide that must be read before changing to C
> API?
Not really, it's all in the geos_c.h file.
--strk;
More information about the geos-devel
mailing list