Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[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
Showing
with
32 additions
and 2 deletions.
- +4 −2 src/core/pal/feature.cpp
- +7 −0 src/core/pal/feature.h
- +21 −0 src/core/pal/geomfunction.cpp
- BIN ...ne/expected_label_curved_label_small_segments/expected_label_curved_label_small_segments_mask.png
- BIN ...ngengine/expected_label_curved_negative_distance/expected_label_curved_negative_distance_mask.png
- BIN ...ne/expected_label_multipart_touching_branches/expected_label_multipart_touching_branches_mask.png
Binary file not shown.
Binary file not shown.
Binary file not shown.