Skip to content

Support encoding and decoding lists #64

Open

Description

@zerebubuth

MVT doesn't have a native list value type, but we can fake it by encoding lists to something like "list:" + value.to_json, and parse it from JSON when the prefix is list: when decoding. This runs the risk of decoding things which start with list: which aren't actually lists, but I think there are few enough of them?

Activity

  1. nvkelso commented on Aug 16, 2016

    @nvkelso
    Member

    Apparently Mapbox encodes raw JSON for nested properties (e.g.: for their file uploader > tiles tool).

  2. nyurik commented on Sep 26, 2016

    @nyurik

    I just made an implementation proposal for objects and lists at mapbox/vector-tile-spec#75 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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