public class FeatureDatasetFactory extends Object
| Constructor and Description |
|---|
FeatureDatasetFactory() |
| Modifier and Type | Method and Description |
|---|---|
static FeatureCollection |
createFromGeometry(Collection geoms)
Creates a FeatureCollection from a Collection of
Geometrys |
static FeatureDataset |
createFromGeometryWithLength(Collection geoms,
String attrName)
Creates a FeatureCollection from a Collection of
Geometrys
and adds an attribute containing the length of the Geometry. |
public static FeatureCollection createFromGeometry(Collection geoms)
Geometrysgeoms - a collection of Geometryspublic static FeatureDataset createFromGeometryWithLength(Collection geoms, String attrName)
Geometrys
and adds an attribute containing the length of the Geometry. The attribute
name is given by the argument attrNamegeoms - a collection of GeometrysattrName - the name to use for the length attributeCopyright © 2015. All rights reserved.