TerriaJS / terriajs

A library for building rich, web-based geospatial data platforms.
https://terria.io
Apache License 2.0
1.18k stars 362 forks source link

Client-side vector support #4633

Closed nf-s closed 2 years ago

nf-s commented 4 years ago

Terria/Cesium's client-side vector support is not ideal.

Why

What we need:

What would be nice:

Example use cases:

Related issues:

Related PRs:

KeyboardSounds commented 4 years ago

I think the easiest way to implement this is to convert things into 3dtiles' vector tiles format on the fly in the browser if we can. That way, we take advantage of Cesium's existing rendering code rather than having to write our own.

Oh, but a little birdy told me that the 3d tiles vector format is going to change in the next few months, so we should wait for that.

KeyboardSounds commented 4 years ago

This: https://github.com/CesiumGS/cesium/issues/9102 might also improve vector performance a bit.

nf-s commented 3 years ago

Potential ways forward:

get geojson-vt converting geojson to mvt on the fly, then improve mvt support by either:

my vote is on trying loaders/deck.gl - it is quite a small dependency - and if it works we'd get a heap of other good stuff

KeyboardSounds commented 3 years ago

Related: https://github.com/TerriaJS/terriajs/issues/5513

nf-s commented 3 years ago

https://github.com/TerriaJS/terriajs/pull/5736 has been merged - this adds MVT support through protomapsjs

AnaBelgun commented 3 years ago

TODO next:

nf-s commented 2 years ago

I'm going to close this for the moment, majority of tasks have been completed