return new Converter() {
public Object convert(Object source, Class target) throws Exception {
Envelope e = (Envelope) source;
GeometryFactory factory = new GeometryFactory();
return factory.createPolygon(
factory.createLinearRing(
new Coordinate[] {
new Coordinate( e.getMinX(), e.getMinY() ),
new Coordinate( e.getMaxX(), e.getMinY() ),
new Coordinate( e.getMaxX(), e.getMaxY() ),
new Coordinate( e.getMinX(), e.getMaxY() ),