Re: [OSGeo-Discuss] open source polygon cluster aggregation algorithm?

2010-05-12 Thread G. Allegri
I have to work with plsql, the jts have the right algorithm so I've decided to try it out: wrap the jts inside java stored procedures. It hasn't been straigthforward but it works. Thanks for the hint Mike. Fortunatly gt oracle-spatial plugin has some code to map oracle.sql.STRUCT to JTS geometry, s

Re: [OSGeo-Discuss] open source polygon cluster aggregation algorithm?

2010-05-10 Thread Mike Toews
The recent JTS has a nice buffering options, namely the mitre buffer. It does not have rounded corners, and has been very useful to me (i.e., we can physically survey-out the buffer on the ground with fewer points to locate and stake out). http://lin-ear-th-inking.blogspot.com/2007/12/new-buffer-st

Re: [OSGeo-Discuss] open source polygon cluster aggregation algorithm?

2010-05-09 Thread G. Allegri
Hi Stefan. You guessed right, it's buildings generalization. I know jts and geos quite well but unfortunatly I can't use them because I'm working directly on oracle with plsql. I think buffer is the way, but not the one oracle provides because it rounds the corners... Bye, Giovanni 2010/5/7 Stef

Re: [OSGeo-Discuss] open source polygon cluster aggregation algorithm?

2010-05-07 Thread Stefan Steiniger
how about using R it has alpha shapes and a-like? What you describe sounds like a problem in map generalization. I.e. the approach of buffering is something what a colleague of mine once implemented to generalize house-blocks for maps (aggregate the single buildings). Unfortunately I don't kno

Re: [OSGeo-Discuss] open source polygon cluster aggregation algorithm?

2010-05-06 Thread G. Allegri
A nice implementation of alpha shapes with jts: http://www.mail-archive.com/jts-de...@lists.jump-project.org/msg01019.html 2010/5/6 G. Allegri : > Thanks Andrea for the links. Yes, I think the problem is similar, in > fact I was also looking for concave hull and alpha shapes algoithms, > but the

Re: [OSGeo-Discuss] open source polygon cluster aggregation algorithm?

2010-05-06 Thread G. Allegri
Thanks Andrea for the links. Yes, I think the problem is similar, in fact I was also looking for concave hull and alpha shapes algoithms, but the only open solution I've found is from CGAL [1] and... it's too complex to extract and reimplement in my context (database procedural programming). IWe h

Re: [OSGeo-Discuss] open source polygon cluster aggregation algorithm?

2010-05-06 Thread Andrea Aime
G. Allegri ha scritto: I'm looking for an algorithm to do polygon cluster aggregation, similar to the ArcInfo "Aggregate Polygon" [1]. I know about GEOS "Cascaded Union", but I need two more features: 1 - clustering of polygons that fall within a a certain threshold distance from each other 2 -

[OSGeo-Discuss] open source polygon cluster aggregation algorithm?

2010-05-06 Thread G. Allegri
I'm looking for an algorithm to do polygon cluster aggregation, similar to the ArcInfo "Aggregate Polygon" [1]. I know about GEOS "Cascaded Union", but I need two more features: 1 - clustering of polygons that fall within a a certain threshold distance from each other 2 - mantain orthogonality, i.