You can use regular h2 by using geometry type and WKT
create table pttable (the_geom geometry);
insert into pttable values( 'POINT ( 10 10 10 )');
In JDBC you get the values using this function:
*import com.vividsolutions.jts.geom.Point;
>
> *
>
> ResultSet rs = statement.executeQuery( "select * from pttable" );
> while( rs.next() ) {
> Point myPoint = (Point)rs.getObject(1);
> }
>
Documentation of jts is here:
http://tsusiatsoftware.net/jts/main.html
Point class:
http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/Point.html
-Nicolas Fortin
Atelier SIG
IRSTV FR CNRS 2488
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.