Hi Arnd,
I may have good news for you. I remembered yesterday that Eric made a
Concave Hull implementation. I just tested it with your data, and it may
work for you (at least for the case you did send).
However, the concave hull implementation has a parameter that defines
the maximal distance, I suppose, that a triangle side can have. So when
I used your data, in Lat/Lon, and used the default value of 10.0 for the
parameter, I can basically a convex hull. However, when I measured the
triangle side distance was about 0.002 degrees. Hence, I changed the
parameter value to 0.0005. And, voila!, I got something that was really
close to what you want.
Though, not sure if it work in any of your cases and if you would need
to do some post-modification to the generated hull. But I think its a
good start (if you find the right parameter value; maybe transforming it
from "degree" to "m" helps too ;).
you can get the convex hull plugin for OJ here:
http://www.rotefabrik.free.fr/concave_hull/
I did put both jar filed in OJs /ext/ folder.
cheers,
stefan
Am 26.07.12 03:30, schrieb Arnd Kielhorn: