Skip to content

place=square no longer renders #851

Closed
Closed

Description

@1ec5

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

  1. self-assigned this
    on Jul 29, 2024
  2. vknoppkewetzel commented on Aug 12, 2024

    @vknoppkewetzel

    Okay if I am understanding this ticket correctly:

    • need place area labels, created via using the place area polygons (centroid labels don't exist yet)

    This is now in map-styles repo, see demo:
    image
    https://openhistoricalmap.github.io/mbgl-timeslider/demo/#17.120/48.11178/-1.68019/1850,-4000-2023

  3. moved this to In Demo Styles in OHM Cartoon Aug 12, 2024
  4. moved this from In Demo Styles to Done in OHM Cartoon Aug 15, 2024
  5. added theissue type on Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions