WKBWriter reimplemented without delegation to JTS