[geos-devel] JTS GeometryCollection#apply(GeometryComponentFilter)

Sandro Santilli strk at keybit.net
Mon Aug 25 01:44:56 PDT 2014


Martin, I noticed that GeometryCollection#apply(GeometryComponentFilter)
passes itself to the GeometryComponentFilter#filter function before
passing it each and every component, is that a bug or intended behavior ?

I was trying to use a GeometryComponentFilter to iterate over each of
the simple-typed components of a Geometry, but due to the above I'm getting
the collection itself as one of the components.

--strk; 

 ()  ASCII ribbon campaign  --  Keep it simple !
 /\  http://strk.keybit.net/rants/ascii_mails.txt  


More information about the geos-devel mailing list