[geos-devel] Problems with BufferOp when using BufferParameters

Sandro Santilli strk at keybit.net
Wed Oct 26 09:17:10 EDT 2011

On Wed, Oct 26, 2011 at 02:58:34PM +0200, Markus Meyer wrote:
> Sandro
> thanks for the quick answer. I changed the constructor (and also the
> other constructors) according to your scheme but this changed
> nothing. (Actually I'd guess that the local variable hides the
> instance variable here anyway, so the patch probably has no effect,
> but I might be wrong.)

You're probably right. 

> Anyway, I debugged into the code and made sure that indeed the
> correct buffer parameters are set inside the BufferOp, but still the
> output looks the same as in my "Not working code" example. So some
> other thing must be wrong here... (I did not yet step into the GEOS
> code itself with the debugger because I think I'd need a Visual
> Studio project for that.) See the attached picture to see what I
> tried.
> Any other ideas?

Not w/out instrumenting the testcode with some debugger.

> (Btw, why is the C++ interface not ment to be used standalone?)

Because it's too big to be appropriately quality controlled
and to be maintained in a way not to upset users about the
need to change their calls between releases.


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

More information about the geos-devel mailing list