Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.12.4, 2.13.2
    • Fix Version/s: 2.15-M0
    • Component/s: Vector Tiles
    • Labels:
      None

      Description

      Currently the output for a Mapbox vector tile lacks the feature id defined in the spec.

      FIDs are mandatory for some methods in Mapbox GL JS (like setFeatureState) so vector tiles from GeoServer are not really usable with Mapbox GL JS without FIDs.

      To fix this first we should fix the underlying library (java-vector-tile) because it doesn't provide a way to specify the FID in the encoder.

      There's already an open PR fixing this in java-vector-tile. Once (if) this change is accepted, we can use it in the Mapbox tile builder; there's a forked repo containing these changes as well. We would need to add some unit tests, update some versions and merge it with a new PR.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vicgonco Víctor González
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: