You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
place=square is an unusual tag: it represents something that always has a relatively small, well-defined shape that needs to be connected to other built features like streets and buildings. So unlike most place=* values, it belongs on an area (or a point, as a last resort, if poorly defined).
We added place=square to the tiles and stylesheet for #153, but one of the fixes for #543 resulted in place=* areas getting dropped from the tile schema altogether, with the assumption that they’re redundant to place points (either manually mapped or automatically generated at the centroid). This assumption was only necessary because so many boundaries are incorrectly dual-tagged with place=*.
We need to make an exception for place=square, which never has a boundary or manually mapped centroid. As with other areas like parks, the tiles need to contain both a polygon and an automatically generated centroid point. For now, the priority would be to restore the polygon so that the stylesheet can fill and (suboptimally) label the square based on the polygon. As part of #543, the stylesheet would switch to labeling the square based on its automatically generated centroid, but the fill would remain based on the polygon.
This issue was originally filed as #831, but it seems to have been deleted by mistake.
Activity
Rub21 commentedon Jul 29, 2024
@1ec5 , I have just enable place_areas , where is going to show
place=square.https://vtiles.staging.openhistoricalmap.org/#17.05/48.111187/-1.680973
The place_areas could be polygon o relation:

https://www.openhistoricalmap.org/changeset/132406
https://vtiles.staging.openhistoricalmap.org/#16.16/69.985331/-42.348633
vknoppkewetzel commentedon Aug 12, 2024
Okay if I am understanding this ticket correctly:
This is now in map-styles repo, see demo:

https://openhistoricalmap.github.io/mbgl-timeslider/demo/#17.120/48.11178/-1.68019/1850,-4000-2023
vknoppkewetzel commentedon Aug 15, 2024
place square labels (per above) are in the latest: https://www.openhistoricalmap.org/#map=18/48.11182/-1.68133&layers=O&date=2024-12-31&daterange=1824-01-01,2024-12-31