|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.SampleDataAccessData
public class SampleDataAccessData
Constants and methods to create sample features for SampleDataAccess
.
The features are similar to MappedFeature found in GeoSciML.
Field Summary | |
---|---|
static org.opengis.feature.type.FeatureType |
GEOLOGICUNIT_TYPE
|
static org.opengis.feature.type.Name |
GEOLOGICUNIT_TYPE_NAME
|
static org.opengis.feature.type.FeatureType |
MAPPEDFEATURE_TYPE
The type of the sample feature. |
static org.opengis.feature.type.Name |
MAPPEDFEATURE_TYPE_NAME
The qualified name of the sample feature type. |
static java.lang.String |
NAMESPACE_PREFIX
Namespace prefix for the sample feature type. |
static java.lang.String |
NAMESPACE_URI
Namespace URI for the sample feature type. |
static org.opengis.feature.type.AttributeDescriptor |
SHAPE_DESCRIPTOR
|
static org.opengis.feature.type.AttributeDescriptor |
SPECIFICATION_DESCRIPTOR
|
Constructor Summary | |
---|---|
SampleDataAccessData()
|
Method Summary | |
---|---|
static org.opengis.feature.Feature |
createMappedFeature(java.lang.String id,
java.lang.String bgsid,
java.lang.String description,
java.lang.String specificationDescription,
com.vividsolutions.jts.geom.Geometry shape)
Create a sample feature from primitive components. |
static java.util.List<org.opengis.feature.Feature> |
createMappedFeatures()
Create a list of two sample features. |
static com.vividsolutions.jts.geom.Geometry |
readGeometry(java.lang.String wellKnownText)
Convert a shape in Well-Known Text into a Geometry . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAMESPACE_PREFIX
public static final java.lang.String NAMESPACE_URI
public static final org.opengis.feature.type.Name GEOLOGICUNIT_TYPE_NAME
public static final org.opengis.feature.type.FeatureType GEOLOGICUNIT_TYPE
public static final org.opengis.feature.type.AttributeDescriptor SPECIFICATION_DESCRIPTOR
public static final org.opengis.feature.type.AttributeDescriptor SHAPE_DESCRIPTOR
public static final org.opengis.feature.type.Name MAPPEDFEATURE_TYPE_NAME
public static final org.opengis.feature.type.FeatureType MAPPEDFEATURE_TYPE
Constructor Detail |
---|
public SampleDataAccessData()
Method Detail |
---|
public static org.opengis.feature.Feature createMappedFeature(java.lang.String id, java.lang.String bgsid, java.lang.String description, java.lang.String specificationDescription, com.vividsolutions.jts.geom.Geometry shape)
id
- feature idbgsid
- an alternate id (not yet used)description
- name of the featureshape
- the shape of the feature
public static java.util.List<org.opengis.feature.Feature> createMappedFeatures()
public static com.vividsolutions.jts.geom.Geometry readGeometry(java.lang.String wellKnownText)
Geometry
.
wellKnownText
- a shape in Well-Known Text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |