| java.lang.Object com.vividsolutions.jump.feature.FeatureDatasetFactory
FeatureDatasetFactory | public class FeatureDatasetFactory (Code) | | Utility functions to create different kinds of FeatureDatasets
|
createFromGeometry | public static FeatureCollection createFromGeometry(Collection geoms)(Code) | | Creates a FeatureCollection from a Collection of
Geometry s
Parameters: geoms - a collection of Geometrys |
createFromGeometry | public static FeatureDataset createFromGeometry(Collection geoms, FeatureSchema featureSchema)(Code) | | Creates a
FeatureDataset from a Collection of
Geometry s
using the given
FeatureSchema Parameters: geoms - a collection of Geometrys Parameters: featureSchema - the schema to use for the feature collection a FeatureDataset containing features for the geometries |
createFromGeometryWithLength | public static FeatureDataset createFromGeometryWithLength(Collection geoms, String attrName)(Code) | | Creates a FeatureCollection from a Collection of
Geometry s
and adds an attribute containing the length of the Geometry. The attribute
name is given by the argument attrName
Parameters: geoms - a collection of Geometrys Parameters: attrName - the name to use for the length attribute |
createFromGeometryWithLengthAndArea | public static FeatureDataset createFromGeometryWithLengthAndArea(Collection geoms, String attrNameLen, String attrNameArea)(Code) | | Creates a FeatureCollection from a Collection of
Geometry s
and adds optional attributes containing the length and area of the Geometry.
Parameters: geoms - a collection of Geometrys Parameters: attrNameLen - the name to use for the length attribute (or null if not required) Parameters: attrNameArea - the name to use for the length attribute (or null if not required) |
|
|