Is there any support for the Geography data type in the PostGIS JDBC driver?<div><br></div><div>I received a classCastException if I try to cast a Geography colum to a PGgeometry:</div><div><br></div><div>my table:</div><div>
<br></div><div><div>CREATE TABLE k16View (</div><div>  id character varying(255) NOT NULL,</div><div>  locGeog geography</div><div>  CONSTRAINT k16View_pkey PRIMARY KEY (id));</div></div><div><br></div><div>my code:</div>
<div>...</div><div>ResultSet r = s.executeQuery("select id locGeog from k16View");</div><div>String trackNumber = r.getString(1);</div><div>PGgeometry geog = (PGgeometry) r.getObject(2);   // throws ClassCastException</div>
<div><br></div><div><br></div><div><br></div><div><br></div>