This method picks the lowerLeft and upperRight corners of the input bbox as stub for building the output bbox. Obviously, the result is not the minimum bounding box (MBB) of the input bbox due to the distortion caused by CRS transformation (e.g. projected CRS <-> geographic CRS). In order to obtain MBB, the method transformExtent in the class org.citydb.query.filter.tiling.Tiling shall be used. We should consider moving this transformExtent method into the util adapter and replace the deprecated transformBoundingBox method.
This method picks the lowerLeft and upperRight corners of the input bbox as stub for building the output bbox. Obviously, the result is not the minimum bounding box (MBB) of the input bbox due to the distortion caused by CRS transformation (e.g. projected CRS <-> geographic CRS). In order to obtain MBB, the method
transformExtent
in the classorg.citydb.query.filter.tiling.Tiling
shall be used. We should consider moving thistransformExtent
method into the util adapter and replace the deprecatedtransformBoundingBox
method.