Skip to content

Vector data... in glTF? #825

@lilleyse

Description

@lilleyse

This is an idea I've been playing around with for a while. Can we use glTF for vector data? Specifically, large amounts of 3D cartesian vector data. Here are some initial ideas.

Points

Note

Lines

Polygons

Styling

  • Styling features would happen client side. Some examples:
    • Points: labels, anchor lines, etc
    • Lines: mitering, line width, dashed patterns, etc
    • Polygons: outline, fill pattern, etc
  • Styling would also define layering, ordering, and draping behavior
  • 3D Tiles Declarative Styling files could be provided alongside a tileset.json

Compression

Demo

Here's a demo of some vector data (provided by Maxar) converted from GeoJSON to 3D Tiles - includes line and polygon features and runtime styling. No new extensions and running in stock CesiumJS.

glTF files are using the following extensions:

Image

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