public class SampleDataAccessData extends Object
SampleDataAccess
.
The features are similar to MappedFeature found in GeoSciML.
Modifier and Type | Field and Description |
---|---|
static FeatureType |
GEOLOGICUNIT_TYPE |
static Name |
GEOLOGICUNIT_TYPE_NAME |
static FeatureType |
MAPPEDFEATURE_TYPE
The type of the sample feature.
|
static Name |
MAPPEDFEATURE_TYPE_NAME
The qualified name of the sample feature type.
|
static String |
NAMESPACE_PREFIX
Namespace prefix for the sample feature type.
|
static String |
NAMESPACE_URI
Namespace URI for the sample feature type.
|
static AttributeDescriptor |
SHAPE_DESCRIPTOR |
static AttributeDescriptor |
SPECIFICATION_DESCRIPTOR |
Constructor and Description |
---|
SampleDataAccessData() |
Modifier and Type | Method and Description |
---|---|
static Feature |
createMappedFeature(String id,
String bgsid,
String description,
String specificationDescription,
Geometry shape)
Create a sample feature from primitive components.
|
static List<Feature> |
createMappedFeatures()
Create a list of two sample features.
|
static Geometry |
readGeometry(String wellKnownText)
Convert a shape in Well-Known Text into a
Geometry . |
public static final String NAMESPACE_PREFIX
public static final String NAMESPACE_URI
public static final Name GEOLOGICUNIT_TYPE_NAME
public static final FeatureType GEOLOGICUNIT_TYPE
public static final AttributeDescriptor SPECIFICATION_DESCRIPTOR
public static final AttributeDescriptor SHAPE_DESCRIPTOR
public static final Name MAPPEDFEATURE_TYPE_NAME
public static final FeatureType MAPPEDFEATURE_TYPE
public static Feature createMappedFeature(String id, String bgsid, String description, String specificationDescription, Geometry shape)
id
- feature idbgsid
- an alternate id (not yet used)description
- name of the featureshape
- the shape of the featurepublic static List<Feature> createMappedFeatures()
public static Geometry readGeometry(String wellKnownText)
Geometry
.wellKnownText
- a shape in Well-Known TextCopyright © 1996–2022 Geotools. All rights reserved.