Dear all, I decided to post on the list as I really could not find much information on the web regarding the problem I'm experiencing (and I already spent two days on this).
I installed JSTS from NPM (npm install --save jsts) to use it on my react.js application. I have followed
this ES6 example to create buffers. This code uses JSTS/extend to add the BufferOp functionality into Geometry objects, but this doesn't seem to work as I'm always getting the following error:
RuntimeException: inconsistency in rightmost processing
There area two things I noticed:
1. I can create a buffer just using BufferOp and passing a Geometry and a length/size. The returned object will effectively be a Geometry of the expected attributes.
2. If I log the arguments received by the buffer method inside the extend, everything seems to be ok: a Geometry and buffer arguments are received.
I can't dig further on this and at this point I don't know if the example is wrong or if there is any other kind of problem with the npm version of the JSTS library.
Thanks in advance!