WKBWriter.withDimSrid constructor

WKBWriter.withDimSrid(
  1. int outputDimension,
  2. bool includeSRID
)

Creates a writer that writes {@link Geometry}s with the given dimension (2 or 3) for output coordinates and {@link ByteOrderValues#Endian.big} byte order. This constructor also takes a flag to control whether srid information will be written. If the input geometry has a smaller coordinate dimension, coordinates will be padded with {@link Coordinate#NULL_ORDINATE}.

@param outputDimension the coordinate dimension to output (2 or 3) @param includeSRID indicates whether SRID should be written

Implementation

WKBWriter.withDimSrid(int outputDimension, bool includeSRID)
    : this.withDimOrderSrid(outputDimension, Endian.big, includeSRID);