| Package | Description |
|---|---|
| org.h2gis.functions.io.shp.internal |
| Modifier and Type | Field and Description |
|---|---|
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).
|
static ShapeType |
ShapeType.UNDEFINED
Represents an Undefined shape (id = -1).
|
| Modifier and Type | Method and Description |
|---|---|
static ShapeType |
ShapeType.forID(int id)
Determine the ShapeType for the id.
|
ShapeType |
MultiLineHandler.getShapeType()
Get the type of shape stored
(ShapeType.ARC,ShapeType.ARCM,ShapeType.ARCZ)
|
ShapeType |
ShapeHandler.getShapeType()
Get the ShapeType of this handler.
|
ShapeType |
PointHandler.getShapeType()
Returns the shapefile shape type value for a point
|
ShapeType |
PolygonHandler.getShapeType() |
ShapeType |
MultiPointHandler.getShapeType()
Returns the shapefile shape type value for a point
|
ShapeType |
ShapefileHeader.getShapeType() |
| Modifier and Type | Method and Description |
|---|---|
void |
SHPDriver.initDriver(File shpFile,
ShapeType shapeType,
DbaseFileHeader dbaseHeader)
Init Driver for Write mode
|
org.locationtech.jts.geom.Geometry |
MultiLineHandler.read(ReadBufferManager buffer,
ShapeType type) |
org.locationtech.jts.geom.Geometry |
ShapeHandler.read(ReadBufferManager buffer,
ShapeType type)
Read a geometry from the ByteBuffer.
|
org.locationtech.jts.geom.Geometry |
PointHandler.read(ReadBufferManager buffer,
ShapeType type) |
org.locationtech.jts.geom.Geometry |
PolygonHandler.read(ReadBufferManager buffer,
ShapeType type) |
org.locationtech.jts.geom.Geometry |
MultiPointHandler.read(ReadBufferManager buffer,
ShapeType type) |
void |
ShapefileHeader.write(WriteBufferManager shapeBuffer,
ShapeType type,
int numGeoms,
int length,
double minX,
double minY,
double maxX,
double maxY) |
void |
ShapefileWriter.writeHeaders(ShapeType type)
Write the headers for this shapefile.Use this function before inserting the first geometry, then when all geometries are inserted.
|
| Constructor and Description |
|---|
MultiLineHandler(ShapeType type)
Create a MultiLineHandler for one of:
ShapeType.ARC,ShapeType.ARCM,ShapeType.ARCZ |
MultiPointHandler(ShapeType type) |
PointHandler(ShapeType type) |
PolygonHandler(ShapeType type) |
Copyright © 2019 CNRS. All rights reserved.