Re: [Geotools-devel] Create a polygon from Envelope

2008-12-01 Thread Michael Bedward
Hi Fiona, If it is a JTS Envelope you can use GeometryFactory.toGeometry method. If it is a opengis Envelope then I don't think there's a shortcut way - although I'd be pleased to be corrected :) So, you get the corner coords with getLowerCorner and getUpperCorner methods, both of which return a

[Geotools-devel] Create a polygon from Envelope

2008-12-01 Thread Fionageo08
Hello, I would like to know if there is any way to create a polygon based on the coordinates of an Envelope using JTS? thank you, Fiona -- View this message in context: http://www.nabble.com/Create-a-polygon-from-Envelope-tp20577995p20577995.html Sent from the geotools-devel mailing list ar