On 31 March 2011 22:58, mravojed <[email protected]> wrote: > sure Geometry does not have getCoordinates() method
There should be no problem calling getCoordinates() on a Geometry reference: Geometry g = ... // a Point, LineString, Polygon, MultiPolygon, whatever // This works Coordinate[] coords = g.getCoordinates(); All such basic methods (ie. those that can apply to any type of geometry) are accessible from a Geometry object. Michael ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
