Skip to content

Commit

Permalink
Switch to ST_PointOnSurface
Browse files Browse the repository at this point in the history
Resolves #1644.

This is a necessary step towards vector rendering (see #1644).

As this changes the label placement algorithm for polygons, this causes differences in label placement.

(SQL deliberately not indented to increase readability of the diff.)
  • Loading branch information
math1985 committed May 13, 2018
1 parent e3a508a commit d185175
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 232 deletions.
2 changes: 0 additions & 2 deletions addressing.mss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
}
}
}
text-placement: interior;
text-face-name: @book-fonts;
text-fill: @address-color;
text-halo-radius: @standard-halo-radius;
Expand Down Expand Up @@ -56,7 +55,6 @@ no official postal addresses) */
[zoom >= 14][way_pixels > 3000],
[zoom >= 17] {
text-name: "[name]";
text-placement: interior;
text-face-name: @book-fonts;
text-fill: #444;
text-halo-radius: @standard-halo-radius;
Expand Down
Loading

0 comments on commit d185175

Please sign in to comment.