I need to perform vector overlay operation on any two map layers as ArcGIS and Grass GIS performs. I am wondering is there any API or library ( in C, C++ or Java) so that I can use that third party library for my GIS project. I am looking forward to find intersection between two map layers using that library.
A couple geometry libraries I'm aware of include:
OGR provides read/write access to many spatial formats and includes many, if not all, of the spatial operations provided by GEOS.