lol wait, the Z is preserved and accessed by the UserType through the Coordinate object.<br><br>What the..<br><br><div class="gmail_quote">On Thu, May 8, 2008 at 4:41 PM, Drew Sheedy &lt;<a href="mailto:drew@olvec.net">drew@olvec.net</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hiya Max,<br><br>But the WKTReader which provides you with the Point object to persist - does not support 3D.<br>
<br>See the following:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String wktPoint = &quot;POINT(12 14 15)&quot;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WKTReader reader = new WKTReader();<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Point point = (Point) reader.read(wktPoint);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(point.toString());<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } catch (ParseException e) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e.printStackTrace();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>

<br>The result will be: POINT (12 14)<br><br>HTH<br><font color="#888888"><br>Drew</font><div><div></div><div class="Wj3C7c"><br><br><br><br><div class="gmail_quote">On Thu, May 8, 2008 at 3:32 PM, Max &lt;<a href="mailto:postgis@lists.meisel.cn" target="_blank">postgis@lists.meisel.cn</a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hallo Drew,<br>
<br>
this is right, 3D support seems to be only in the SVN-Version, its<br>
Version 94 in the repository, should be from march this year.<br>
<font color="#888888"><br>
Max<br>
</font><div><br>
&gt; Hiya Max,<br>
&gt;<br>
&gt; Which version of the library are you using? It looks like 3D support is only in svn.<br>
&gt;<br>
&gt; Drew<br>
&gt;<br>
&gt;<br>
<br>
</div><div><div></div><div>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>