MultiLineHandler class
The default JTS handler for shapefile. Currently uses the default JTS GeometryFactory, since it doesn't seem to matter.
- Implemented types
Constructors
- MultiLineHandler(GeometryFactory gf)
- Create a MultiLineHandler for ShapeType.ARC */
- MultiLineHandler.withType(ShapeType type, GeometryFactory gf)
-
Create a MultiLineHandler for one of:
ShapeType.ARC,ShapeType.ARCM,ShapeType.ARCZ
Properties
- geometryFactory ↔ GeometryFactory
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shapeType ↔ ShapeType
-
getter/setter pair
Methods
-
createNull(
) → dynamic -
getLength(
dynamic geometry) → int -
Get the length of the given geometry Object in bytes not 16-bit words. This is easier
to keep track of, since the ByteBuffer deals with bytes. Do not include the 8 bytes of
record.
override
-
getShapeType(
) → ShapeType -
Get the type of shape stored (ShapeType.ARC,ShapeType.ARCM,ShapeType.ARCZ) */
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
LByteBuffer buffer, ShapeType? type, bool flatGeometry) → dynamic -
Read a geometry from the ByteBuffer. The buffer's position, byteOrder, and limit are set to
that which is needed. The record has been read as well as the shape type integer. The handler
need not worry about reading unused information as the ShapefileReader will correctly adjust
the buffer position after this call.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
LByteBuffer buffer, dynamic geometry) → void -
Write the geometry into the ByteBuffer. The position, byteOrder, and limit are all set. The
handler is not responsible for writing the record or shape type integer.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited