Skip to content

Validating Polygons according to Vector Spec 2.0 in PostGIS production chain #58

@kristfal

Description

@kristfal

Hey,

the move to Vector spec 2.0 puts more constraints to the polygon type than previously.

What is best practice that custom exported data should follow to adhere to the specification?

Reason for asking is that we're running a postGIS -> node mapnik -> .mbtiles production chain, and have noticed some issues with the mapbox-gl-js earcut branch. Entry data has a tendency to be slightly dirty, but we haven't had any issues with mapbox-gl-native or other tessellation-based renderers previously.

Currently experimenting with:

PostGIS processing: ST_MakeValid, ST_ForceRHR, ST_ForceSFS
Node Mapnik: Bumping versions,
Mbtile: Bumping versions

We're seeing both artifacts constrained within a single tile, but also covering multiple tiles. None of these seem to be affecting gl-native.

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