Modifier and Type | Class and Description |
---|---|
static interface |
GeometryMapper.MapOp
An interface for geometry functions used for mapping.
|
Constructor and Description |
---|
GeometryMapper() |
Modifier and Type | Method and Description |
---|---|
static Collection |
map(Collection geoms,
GeometryMapper.MapOp op) |
static Geometry |
map(Geometry geom,
GeometryMapper.MapOp op)
Maps the members of a
Geometry
(which may be atomic or composite)
into another Geometry of most specific type. |
public static Geometry map(Geometry geom, GeometryMapper.MapOp op)
Geometry
(which may be atomic or composite)
into another Geometry of most specific type.
null results are skipped.
In the case of hierarchical GeometryCollection
s,
only the first level of members are mapped.geom
- the input atomic or composite geometryop
- the mapping operationpublic static Collection map(Collection geoms, GeometryMapper.MapOp op)
Copyright © 2020. All rights reserved.