This is my code:
public static void query() throws ClassNotFoundException, SQLException,
IOException
{
Connection connection = null;
try {
Class.forName("com.mysql.jdbc.Driver");
connection = DriverManager.getConnection(URL, USERNAME,
PASSWORD);
Statement st = connection.createStatement();
ResultSet rs = st.executeQuery("select * from prova
where
(FOGLIO="+m.a+") AND (NUMERO="+m.b+")");
//I don't know if I can put a geometry value into a
resultset
while(rs.next())
{
//now i have my geometry value and i have to
zoom on it
}
} finally {
if (connection != null) {
connection.close();
}
}
}
this is my problem.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Convert-a-geometry-value-to-a-x-y-coordinate-tp6511208p6514877.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense..
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users