[geos-devel] Dimension and Coordinate Sequences
strk
strk at keybit.net
Tue May 18 17:56:30 EDT 2010
On Tue, May 18, 2010 at 03:38:57PM -0400, Frank Warmerdam wrote:
> Rather than ask for permission, I've just gone ahead and applied the
> changes.
Good job.
Free Software is ... never ask for permissions !
> Future directions might include preserve dimension carefully through
> geometry
> operations, and having the WKT and WKB Writer classes produce output based
> on the dimension of the geometry.
Note that empty geometries will have NO CoordinateSequence associated,
which means you won't be able to get their coordinate dimension from
there...
> I haven't checked WKBWriter, but
> WKTWriter
> is (annoyingly) only supporting 3D output based on a build time choice,
> rather
> than dynamically based on the input geometry.
WKTWriter should accept number of dimensions in the constructor,
following JTS design.
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the geos-devel
mailing list