Hello, Are you asking how to get the coordinates from a Point Geometry ?
Coordinate c = myPoint.getCoordinate(); DirectPosition pos = new DirectPosition2D( c.x, c.y ); or if you have a CRS... DirectPosition pos = new DirectPosition2D( crs, c.x, c.y ); If I've misinterpreted your question please post again. Michael On 24 June 2011 18:00, lexmc <[email protected]> wrote: > Hi guys. Here is my problem: I have to zoom to a point on a map after a query > that give me the geometry value of the point. But the zoom function receive > a x,y coordinate system, so i have to convert a geometryValue (BLOB) in a > DirectPosition2D point. How can I do it??? > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Convert-a-geometry-value-to-a-x-y-coordinate-tp6511208p6511208.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 > ------------------------------------------------------------------------------ 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
