postgis/jdbc
2001-08-08 05:25:10 +00:00
..
examples Initial revision 2001-06-22 17:39:29 +00:00
org/postgis Made OGIS type numbers final per request from James MacGill @ Leeds 2001-08-08 05:25:10 +00:00
Makefile Initial revision 2001-06-22 17:39:29 +00:00
README Initial revision 2001-06-22 17:39:29 +00:00

To use the PostGIS types, you must:
- have the postgis.jar in your CLASSPATH
- have a PostgreSQL JDBC Connection instance

  Connection conn = new Connection();
  ((org.postgresql.Connection)conn).addDataType("geometry","org.postgis.PGgeometry");
  ((org.postgresql.Connection)conn).addDataType("box3d","org.postgis.PGbox3d");

-