Constructors
constructor
-
Parameters
-
-
Default value byteOrder: ByteOrder = ByteOrder.BIG_ENDIAN
-
Default value size: number = 1024
Methods
getBuffer
-
Returns Buffer
written bytes
write
- write(geometry: Geometry): void
writeCircularString
- writeCircularString(circularString: CircularString): void
-
Parameters
-
circularString: CircularString
Returns void
writeCompoundCurve
- writeCompoundCurve(compoundCurve: CompoundCurve): void
-
Parameters
-
compoundCurve: CompoundCurve
Returns void
writeCurvePolygon
- writeCurvePolygon(curvePolygon: CurvePolygon<Curve>): void
-
Parameters
-
curvePolygon: CurvePolygon<Curve>
Returns void
writeGeometryCollection
- writeGeometryCollection(geometryCollection: GeometryCollection<Geometry>): void
-
Parameters
-
geometryCollection: GeometryCollection<Geometry>
Returns void
writeLineString
- writeLineString(lineString: LineString): void
writeM
- writeM(point: Point): void
writeMultiLineString
- writeMultiLineString(multiLineString: MultiLineString): void
-
Parameters
-
multiLineString: MultiLineString
Returns void
writeMultiPoint
- writeMultiPoint(multiPoint: MultiPoint): void
writeMultiPolygon
- writeMultiPolygon(multiPolygon: MultiPolygon): void
-
Parameters
-
multiPolygon: MultiPolygon
Returns void
writePoint
- writePoint(point: Point): void
writePolygon
- writePolygon(polygon: Polygon): void
writePolyhedralSurface
- writePolyhedralSurface(polyhedralSurface: PolyhedralSurface): void
-
Parameters
-
polyhedralSurface: PolyhedralSurface
Returns void
writeTriangle
- writeTriangle(triangle: Triangle): void
writeXY
- writeXY(point: Point): void
writeZ
- writeZ(point: Point): void
Static getGeometryByteLength
- getGeometryByteLength(geometry: Geometry): number
-
Parameters
Returns number
Static writeCircularString
- writeCircularString(writer: ByteWriter, circularString: CircularString): void
-
Parameters
-
-
circularString: CircularString
Returns void
Static writeCompoundCurve
- writeCompoundCurve(writer: ByteWriter, compoundCurve: CompoundCurve): void
-
Parameters
-
-
compoundCurve: CompoundCurve
Returns void
Static writeCurvePolygon
- writeCurvePolygon(writer: ByteWriter, curvePolygon: CurvePolygon<Curve>): void
-
Parameters
-
-
curvePolygon: CurvePolygon<Curve>
Returns void
Static writeGeometry
- writeGeometry(geometry: Geometry, byteOrder: any): Buffer
-
Parameters
-
geometry: Geometry
-
byteOrder: any
Returns Buffer
well-known bytes
Static writeGeometryCollection
- writeGeometryCollection(writer: ByteWriter, geometryCollection: GeometryCollection<Geometry>): void
-
Parameters
-
-
geometryCollection: GeometryCollection<Geometry>
Returns void
Static writeGeometryWithByteWriter
- writeGeometryWithByteWriter(writer: ByteWriter, geometry: Geometry): void
Static writeLineString
- writeLineString(writer: ByteWriter, lineString: LineString): void
Static writeMultiLineString
- writeMultiLineString(writer: ByteWriter, multiLineString: MultiLineString): void
-
Parameters
-
-
multiLineString: MultiLineString
Returns void
Static writeMultiPoint
- writeMultiPoint(writer: ByteWriter, multiPoint: MultiPoint): void
Static writeMultiPolygon
- writeMultiPolygon(writer: ByteWriter, multiPolygon: MultiPolygon): void
-
Parameters
-
-
multiPolygon: MultiPolygon
Returns void
Static writePoint
- writePoint(writer: ByteWriter, point: Point): void
Static writePolygon
- writePolygon(writer: ByteWriter, polygon: Polygon): void
Static writePolyhedralSurface
- writePolyhedralSurface(writer: ByteWriter, polyhedralSurface: PolyhedralSurface): void
-
Parameters
-
-
polyhedralSurface: PolyhedralSurface
Returns void
Static writeTriangle
- writeTriangle(writer: ByteWriter, triangle: Triangle): void
Well Known Binary writer