Uses of Enum Class
org.geotools.data.shapefile.shp.ShapeType
Packages that use ShapeType
-
Uses of ShapeType in org.geotools.data.shapefile.shp
Fields in org.geotools.data.shapefile.shp declared as ShapeTypeMethods in org.geotools.data.shapefile.shp that return ShapeTypeModifier and TypeMethodDescriptionstatic final ShapeTypeJTSUtilities.findBestGeometryType(Geometry geom) Determine the best ShapeType for a given Geometry.static ShapeTypeShapeType.forID(int id) Determine the ShapeType for the id.static final ShapeTypeJTSUtilities.getShapeType(Class<? extends Geometry> featureClass) Determine the default ShapeType for a featureClass.static final ShapeTypeJTSUtilities.getShapeType(GeometryDescriptor gd) Determine the default ShapeType using the descriptor and eventually the geometry to guess the coordinate dimensions if not reported in the descriptor hintsstatic final ShapeTypeJTSUtilities.getShapeType(Geometry geom, int shapeFileDimentions) Determine the best ShapeType for a geometry with the given dimension.MultiLineHandler.getShapeType()Get the type of shape stored (ShapeType.ARC,ShapeType.ARCM,ShapeType.ARCZ)MultiPointHandler.getShapeType()Returns the shapefile shape type value for a pointPointHandler.getShapeType()Returns the shapefile shape type value for a pointPolygonHandler.getShapeType()ShapefileHeader.getShapeType()ShapeHandler.getShapeType()Get the ShapeType of this handler.static ShapeTypeReturns the enum constant of this class with the specified name.static ShapeType[]ShapeType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.geotools.data.shapefile.shp with parameters of type ShapeTypeModifier and TypeMethodDescriptionstatic GeometryJTSUtilities.convertToCollection(Geometry geom, ShapeType type) JTSUtilities.findBestGeometryClass(ShapeType type) MultiLineHandler.read(ByteBuffer buffer, ShapeType type, boolean flatGeometry) MultiPointHandler.read(ByteBuffer buffer, ShapeType type, boolean flatGeometry) PointHandler.read(ByteBuffer buffer, ShapeType type, boolean flatGeometry) PolygonHandler.read(ByteBuffer buffer, ShapeType type, boolean flatFeature) ShapeHandler.read(ByteBuffer buffer, ShapeType type, boolean flatGeometry) Read a geometry from the ByteBuffer.voidShapefileHeader.write(ByteBuffer file, ShapeType type, int numGeoms, int length, double minX, double minY, double maxX, double maxY) voidShapefileWriter.write(GeometryCollection geometries, ShapeType type) Bulk write method for writing a collection of (hopefully) like geometries of the given ShapeType.voidShapefileWriter.writeHeaders(Envelope bounds, ShapeType type, int numberOfGeometries, int fileLength) Write the headers for this shapefile including the bounds, shape type, the number of geometries and the total fileLength (in actual bytes, NOT 16 bit words).Constructors in org.geotools.data.shapefile.shp with parameters of type ShapeTypeModifierConstructorDescriptionMultiLineHandler(ShapeType type, GeometryFactory gf) Create a MultiLineHandler for one of:
ShapeType.ARC,ShapeType.ARCM,ShapeType.ARCZMultiPointHandler(ShapeType type, GeometryFactory gf) PointHandler(ShapeType type, GeometryFactory gf) PolygonHandler(ShapeType type, GeometryFactory gf)