[geos-devel] initGEOS semantic ?

strk strk at keybit.net
Sat Apr 17 07:22:22 EDT 2010

I tought initGEOS() [ the non-rehentrant version ]
was always returning the same handle, a singleton.

Code reveals that's not the case, which means
old clients (like postgis) end up allocating
lots of contexts and leat them leak.

So, is there any reason not to return a singleton ?


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

More information about the geos-devel mailing list