Package repast.simphony.space.gis
Class ShapefileFeatureAgentFactory<T>
- java.lang.Object
-
- repast.simphony.space.gis.FeatureAgentFactory<T>
-
- repast.simphony.space.gis.ShapefileFeatureAgentFactory<T>
-
public class ShapefileFeatureAgentFactory<T> extends FeatureAgentFactory<T>
Factory class for creating feature agents that are appropriate for writing to shapfiles. Such features have only primitive or String attributes. Instances of the this class can be created using the FeatureAgentFactoryFinder.- Author:
- Nick Collier, Eric Tatara
-
-
Field Summary
-
Fields inherited from class repast.simphony.space.gis.FeatureAgentFactory
classAttributeList, GEOM_ATTRIBUTE_NAME
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opengis.referencing.crs.CoordinateReferenceSystem
getCrs()
Gets the coordinate reference system for this factory.FeatureAgent
getFeature(T agent, Geography geography)
org.opengis.feature.simple.SimpleFeatureType
getFeatureType()
Gets the created feature type.-
Methods inherited from class repast.simphony.space.gis.FeatureAgentFactory
createClassAttributes, getFeatureType, getFeatureType, getShapefileFeatureType, getShapefileFeatureType
-
-
-
-
Method Detail
-
getFeatureType
public org.opengis.feature.simple.SimpleFeatureType getFeatureType()
Gets the created feature type.- Returns:
- the created feature type.
-
getCrs
public org.opengis.referencing.crs.CoordinateReferenceSystem getCrs()
Gets the coordinate reference system for this factory.- Returns:
- the coordinate reference system for this factory.
-
getFeature
public FeatureAgent getFeature(T agent, Geography geography)
- Specified by:
getFeature
in classFeatureAgentFactory<T>
-
-