Hi,
I have a problem using JTS. I store 2D coordinates into a
PackedCoordinateSequence and when I get the coordinate array the coordinates
have a Z value of '0' (Zero). Shouldn't it be 'NaN'? I'm doing something
wrong? Have I misunderstood something?
It is possible to reproduce the feature with this code:
CoordinateSequence cs = new PackedCoordinateSequence.Double(1, 2);
cs.setOrdinate(0, 0, 10);
cs.setOrdinate(0, 1, 10);
Coordinate coord = cs.toCoordinateArray()[0];
System.out.println(coord);
that outputs this:
(10.0, 10.0, 0.0)
instead of this:
(10.0, 10.0, NaN)
Thanks in advance,
Fernando
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel