Class GeometryMapper

Hierarchy: Object , GeometryMapper
public class GeometryMapper
Methods to map various collections of Geometrys via defined mapping functions.
Authors:
Martin Davis
public static Geometry map(Geometry geom, MapOp op)
Maps the members of a Geometry (which may be atomic or composite) into another Geometry of most specific type. null results are skipped. In the case of hierarchical GeometryCollections, only the first level of members are mapped.
Parameters:
geom - geom the input atomic or composite geometry
op - op the mapping operation
Returns:
a result collection or geometry of most specific type
public static Collection map(Collection geoms, MapOp op)