Geotools: bounding box for a buffer in wgs84
问题 I am need a Java function that will generate a bounding box (rectangle) around a buffer. The buffer is defined by the center point (WGS84 coordinate) and the radius (in meters). Getting a bounding box for a buffer in JTS seems to be quite simple: Point center = .... Geometry boundingBox = center.buffer(...).getEnvelope(); This however is pure planar geometry. Is there a way to do this using a coordinate reference system with the distance given in meters? Optimally with Geotools but other Java