Hi,<br><br>I'm storing and reading some geometries from a postgis table. The table is 2D. I'm using a jar I have compiled with the "make postgis_jts" command. It works very well except for one thing. I write 2D JTS geometries, this is with the z component equal to NaN, into a postgis table but when I read them the Z coordinate is no longer equal to NaN but equal to 0. is this a feature? a bug?<br>
<br>I'm using this code to read the geometry. To store them I use GeomFromText function and I specify only X-Y components for each coordinate (I'm not specifying the Z coordinate):<br><br>JtsBinaryParser parser = new JtsBinaryParser();<br>
String bytes = rs.getString(fieldId);<br>Geometry geom = parser.parse(bytes);<br><br>is it clear? I can write some code to reproduce the problem if anyone is interested.<br><br>Thanks in advance,<br>Fernando<br>