[postgis-users] Hibernate Spatial Postgis 3D

Drew Sheedy drew at olvec.net
Thu May 8 00:00:43 PDT 2008


lol wait, the Z is preserved and accessed by the UserType through the
Coordinate object.

What the..

On Thu, May 8, 2008 at 4:41 PM, Drew Sheedy <drew at olvec.net> wrote:

> Hiya Max,
>
> But the WKTReader which provides you with the Point object to persist -
> does not support 3D.
>
> See the following:
>
>        String wktPoint = "POINT(12 14 15)";
>         WKTReader reader = new WKTReader();
>         try {
>             Point point = (Point) reader.read(wktPoint);
>             System.out.println(point.toString());
>
>         } catch (ParseException e) {
>             e.printStackTrace();
>         }
>
> The result will be: POINT (12 14)
>
> HTH
>
> Drew
>
>
>
>
> On Thu, May 8, 2008 at 3:32 PM, Max <postgis at lists.meisel.cn> wrote:
>
>> Hallo Drew,
>>
>> this is right, 3D support seems to be only in the SVN-Version, its
>> Version 94 in the repository, should be from march this year.
>>
>> Max
>>
>> > Hiya Max,
>> >
>> > Which version of the library are you using? It looks like 3D support is
>> only in svn.
>> >
>> > Drew
>> >
>> >
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080508/efc5466a/attachment.html>


More information about the postgis-users mailing list