}
private Polygon createWayBbox(double left, double right, double bottom, double top) {
Point[] points;
LinearRing ring;
Polygon bbox;
points = new Point[5];
points[0] = new Point(left, bottom);
points[1] = new Point(left, top);
points[2] = new Point(right, top);
points[3] = new Point(right, bottom);
points[4] = new Point(left, bottom);
ring = new LinearRing(points);
bbox = new Polygon(new LinearRing[] {ring});
bbox.srid = 4326;
return bbox;
}