Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[labeling] Fix some valid curved label placements are rejected
because we fail to correctly determine character angles, and instead reject the placement as violating the max character in/out angles This happens predominantly in maps with geographic CRS, but is also seen in large scale projected maps. The calculation for line circle intersections used to determine curved label character placement becomes numerically unstable when the map extent width/height is small.
- Loading branch information
1 parent
9960b15
commit 79b00fd
Showing
6 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
...curved_label_small_segments/expected_label_curved_label_small_segments_mask.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-18 Bytes
(100%)
...label_curved_negative_distance/expected_label_curved_negative_distance_mask.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-25 Bytes
(99%)
...multipart_touching_branches/expected_label_multipart_touching_branches_mask.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.