On Wed, May 26, 2010 at 12:41:53AM -0400, Frank Warmerdam wrote:
Note that I'll default to writing the new syntax. I'm not sure if I
will support writing the old syntax or not via a flag.
If current WKTWriter didn't output old syntax it makes perfectly
sense to start the support with new
Folks,
Currently the WKBWriter supports writing 2D (default) or 3D (by calling
setOutputDimension(3)). I would like to extend this to support setting
the output dimension to a special value (-1 or 0 perhaps) indicating that
the output dimension of the WKB should be determined from the input
Martin Davis wrote:
FWIW, the semantics of JTS were intended to be that setting the output
dimension determines the *maximum* number of dimensions written. If the
input geometry does not provide that many dimensions, the extra ones are
not written. So this is somewhat equivalent to letting