|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jump.feature.FeatureDatasetFactory
public class FeatureDatasetFactory
Utility functions to create different kinds of FeatureDatasets
| Constructor Summary | |
|---|---|
FeatureDatasetFactory()
|
|
| Method Summary | |
|---|---|
static FeatureCollection |
createFromGeometry(java.util.Collection geoms)
Creates a FeatureCollection from a Collection of Geometrys |
static FeatureDataset |
createFromGeometry(java.util.Collection geoms,
FeatureSchema featureSchema)
Creates a FeatureDataset from a Collection of Geometrys
using the given FeatureSchema |
static FeatureDataset |
createFromGeometryWithLength(java.util.Collection geoms,
java.lang.String attrName)
Creates a FeatureCollection from a Collection of Geometrys
and adds an attribute containing the length of the Geometry. |
static FeatureDataset |
createFromGeometryWithLengthAndArea(java.util.Collection geoms,
java.lang.String attrNameLen,
java.lang.String attrNameArea)
Creates a FeatureCollection from a Collection of Geometrys
and adds optional attributes containing the length and area of the Geometry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureDatasetFactory()
| Method Detail |
|---|
public static FeatureCollection createFromGeometry(java.util.Collection geoms)
Geometrys
geoms - a collection of Geometrys
public static FeatureDataset createFromGeometryWithLength(java.util.Collection geoms,
java.lang.String attrName)
Geometrys
and adds an attribute containing the length of the Geometry. The attribute
name is given by the argument attrName
geoms - a collection of GeometrysattrName - the name to use for the length attribute
public static FeatureDataset createFromGeometry(java.util.Collection geoms,
FeatureSchema featureSchema)
FeatureDataset from a Collection of Geometrys
using the given FeatureSchema
geoms - a collection of GeometrysfeatureSchema - the schema to use for the feature collection
public static FeatureDataset createFromGeometryWithLengthAndArea(java.util.Collection geoms,
java.lang.String attrNameLen,
java.lang.String attrNameArea)
Geometrys
and adds optional attributes containing the length and area of the Geometry.
geoms - a collection of GeometrysattrNameLen - the name to use for the length attribute (or null if not required)attrNameArea - the name to use for the length attribute (or null if not required)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||