Replies: 2 comments 7 replies
-
Can you give a concrete example? |
Beta Was this translation helpful? Give feedback.
-
I'm encountering something similar. My use-case has features (33k) that don't change, but attributes that change in the time domain (and are updated regularly in batches). I started by creating new tiles for each time slice but quickly discovered the problem with this approach. A single slice is ~16mb (mbtile) representing an hour which sounds reasonable to me. However, the entire dataset encoded into separate self-contained slices is 2gb. I think it would work well enough for a client with a good network connection, but I am not a fan. I wonder if, in some applications, the vector tile would be better represented as independent feature and attribute tiles (or a hybrid). This would be useful for situations where attributes are expected to change, are dynamic, or temporal, but the features are not. I took a look around to see how feasible this would be. I decided it would be pretty hard for somebody unfamiliar with the codebase. It was interesting to explore. |
Beta Was this translation helpful? Give feedback.
-
I have an issue with a project I'm working on. I have data stored in Postgis and I'm serving it out as MVT tiles using Marten. But I would like to be able to dynamically change the attribute data that gets served out with the tiles. Now I could do this on the postgres side by creating a function inside the code that serves the MVT tiles. But I would like to keep the attribute data stored in a different database. It would be handy if I could move this client side. By providing the layer source a join data link. This join link could be an array of object data that has an id with values that match with the MVT tile attribute id. When it renders it could look up the data in the array and use it to do attribute rendering and spatial operations. This join data could be created client side or fetched from somewhere else. It also keeps the MVT Tile size small since it doesn't need to carry the attribute data anymore. It could also be cached for the entire layer when the site first loads.
Beta Was this translation helpful? Give feedback.
All reactions