On 27 June 2011 03:23, lexmc <[email protected]> wrote: > ok. The problem is the given position. I have a geometryvalue (BLOB type), > and I want to convert it into a x,y value.
This is the problem GeoTools is designed to handle the database query for you by using a DataStore (in your case a MySQL datastore (see http://docs.geotools.org/latest/userguide/library/jdbc/mysql.html). You can then create a filter based on (FOGLIO="+m.a+") AND (NUMERO="+m.b+") (see http://docs.geotools.org/latest/userguide/tutorial/filter/query.html for examples of this) and that will return you GeoTools features which will contain a geometry object that you can then use. Ian -- Ian Turton ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
