Please sign in to comment.
Improve method for calculation of rectangle centers (#37092)
More numerically stable in the case of massive rectangles. This is the ultimate cause behind #36898 -- during rendering of the worldwide layer in Winkel Tripel the inverse transform fails, so the renderer sets a "maximal" filter extent for the layer (+/- double max). The previous method for calculating the rectangles center would fail, because it would overflow. The new method handles this case and correctly returns 0,0. Fixes bounding boxes show incorrectly when simplication is enabled for a layer in certain projections. Fixes #36898 Refs #30686 (partial fix -- this report includes two different bugs)
- Loading branch information
Showing with 19 additions and 1 deletion.
BIN +8.05 KB (180%) ...p_renderer/expected_staged_render_raster/expected_staged_render_raster_mask.png
Binary file not shown.