Martin Davis ha scritto:
There's nothing in JTS which does exactly this right now (although as you point out OffsetCurveBuilder provides the basis for something). The tricky part is removing all the "closing lines" which OCB adds, and also deciding how to handle situations where the offset curve self-intersects (I think an appropriate strategy is to follow the "outside" of the curve).

Stephen Wong from Safe added an enhancement to GEOS to provide this - it would be worth looking at this to see how to back-port it. I will try and get to this, but if someone else wants to take this on that would be great.

It took me a while to find it but yeas, here it is:
http://trac.osgeo.org/geos/ticket/215

Ugh, the patch looks big, and I guess I only need a very small
part of it... I'll see whether I can contribute back a java
patch for JTS or not.

But looking at the pictures here:
http://trac.osgeo.org/geos/attachment/ticket/215/singlesidedbuffer.jpg
it fits what I need _exactly_ :)
This is great!

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel

Reply via email to