Uses of Class
org.geotools.data.shapefile.shp.ShapeType

Packages that use ShapeType
org.geotools.data.shapefile.shp   
 

Uses of ShapeType in org.geotools.data.shapefile.shp
 

Fields in org.geotools.data.shapefile.shp declared as ShapeType
static ShapeType ShapeType.ARC
          Represents an Arc shape (id = 3).
static ShapeType ShapeType.ARCM
          Represents an ArcM shape (id = 23).
static ShapeType ShapeType.ARCZ
          Represents an ArcZ shape (id = 13).
static ShapeType ShapeType.MULTIPOINT
          Represents a MultiPoint shape (id = 8).
static ShapeType ShapeType.MULTIPOINTM
          Represents a MultiPointZ shape (id = 28).
static ShapeType ShapeType.MULTIPOINTZ
          Represents a MultiPointZ shape (id = 18).
static ShapeType ShapeType.NULL
          Represents a Null shape (id = 0).
static ShapeType ShapeType.POINT
          Represents a Point shape (id = 1).
static ShapeType ShapeType.POINTM
          Represents a PointM shape (id = 21).
static ShapeType ShapeType.POINTZ
          Represents a PointZ shape (id = 11).
static ShapeType ShapeType.POLYGON
          Represents a Polygon shape (id = 5).
static ShapeType ShapeType.POLYGONM
          Represents a PolygonM shape (id = 25).
static ShapeType ShapeType.POLYGONZ
          Represents a PolygonZ shape (id = 15).
 ShapeType ShapefileReader.Record.type
           
static ShapeType ShapeType.UNDEFINED
          Represents an Undefined shape (id = -1).
 

Methods in org.geotools.data.shapefile.shp that return ShapeType
static ShapeType JTSUtilities.findBestGeometryType(Geometry geom)
          Determine the best ShapeType for a given Geometry.
static ShapeType ShapeType.forID(int id)
          Determine the ShapeType for the id.
 ShapeType MultiPointHandler.getShapeType()
          Returns the shapefile shape type value for a point
 ShapeType MultiLineHandler.getShapeType()
          Get the type of shape stored (ShapeType.ARC,ShapeType.ARCM,ShapeType.ARCZ)
 ShapeType PolygonHandler.getShapeType()
           
 ShapeType PointHandler.getShapeType()
          Returns the shapefile shape type value for a point
 ShapeType ShapeHandler.getShapeType()
          Get the ShapeType of this handler.
 ShapeType ShapefileHeader.getShapeType()
           
static ShapeType JTSUtilities.getShapeType(Class featureClass)
          Determine the default ShapeType for a featureClass.
static ShapeType JTSUtilities.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 hints
static ShapeType JTSUtilities.getShapeType(Geometry geom, int shapeFileDimentions)
          Determine the best ShapeType for a geometry with the given dimension.
 

Methods in org.geotools.data.shapefile.shp with parameters of type ShapeType
static Geometry JTSUtilities.convertToCollection(Geometry geom, ShapeType type)
           
static Class JTSUtilities.findBestGeometryClass(ShapeType type)
           
 Object MultiPointHandler.read(ByteBuffer buffer, ShapeType type, boolean flatGeometry)
           
 Object MultiLineHandler.read(ByteBuffer buffer, ShapeType type, boolean flatGeometry)
           
 Object PolygonHandler.read(ByteBuffer buffer, ShapeType type, boolean flatFeature)
           
 Object PointHandler.read(ByteBuffer buffer, ShapeType type, boolean flatGeometry)
           
 Object ShapeHandler.read(ByteBuffer buffer, ShapeType type, boolean flatGeometry)
          Read a geometry from the ByteBuffer.
 void ShapefileHeader.write(ByteBuffer file, ShapeType type, int numGeoms, int length, double minX, double minY, double maxX, double maxY)
           
 void ShapefileWriter.write(GeometryCollection geometries, ShapeType type)
          Bulk write method for writing a collection of (hopefully) like geometries of the given ShapeType.
 void ShapefileWriter.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 ShapeType
MultiLineHandler(ShapeType type, GeometryFactory gf)
          Create a MultiLineHandler for one of:
ShapeType.ARC,ShapeType.ARCM,ShapeType.ARCZ
MultiPointHandler(ShapeType type, GeometryFactory gf)
           
PointHandler(ShapeType type, GeometryFactory gf)
           
PolygonHandler(ShapeType type, GeometryFactory gf)
           
 



Copyright © 1996-2014 Geotools. All Rights Reserved.