Skip to content

fill-outline-color on borders of clipped tiles  #1738

@leblowl

Description

@leblowl

Hey all! So whenever I clip my geometries to the borders of their respective tiles, fill-outline-color draws all the borders. It makes sense in one way, but realistically I'd love it to recognize matching polygons in adjacent tiles. I'm not totally sure how it is supposed to work, so I'm asking ya'll. Is this intended behavior or am I doing something wrong?

I split my tiles with ST_Intersection, using the ne_10m_ocean dataset from natural earth:

       SELECT
           'Ocean' AS name,
           sum(way_area)::bigint AS area,
           'ocean' AS kind,
           'naturalearthdata.com' AS source,
           ST_Union(ST_Intersection(the_geom, !bbox!)) AS __geometry__,
           max(gid) AS __id__
       FROM
           ne_10m_ocean
       WHERE
           ST_Intersects(the_geom, !bbox!)

And the result at zoom level 4 with fill-outline-color set to #000:
fill-outline-color

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions