[Batch table] implement a method to get data for a batch ID
#595
Labels
enhancement
New feature or request
Milestone
ID
#595
Is your feature request related to a problem? Please describe.
Hi, thanks for this awesome library ! I'm currently working on using it to render 3d tiles data in iTowns which is a geographic data visualization framework. I am more specifically working on batch tables at the moment.
In our previous implementation, we had a method that read all data in a batch table for a given batch
ID
, whether those data are stored directly in the batch table or using3DTILES_batch_table_hierarchy
extension.If you would be willing, I wish to implement such a method in your library.
Describe alternatives you've considered
The
BatchTable
you already implemented provides properties and methods which allow users to implement such a method on their side. However, I considered two elements on that idea.ID
with yourBatchTable.getData
method requires parsing the whole binary batch table when we could just parse the buffer part corresponding to the batchID
. I think this is an optimization issue, especially when dealing with a large number of batches.Describe the solution you'd like
I propose to implement a
getDataForBatchId
method inBatchTable
(the name is just a suggestion) which, for a givenbatchID
parameter, would return an object as such :Would the idea of implementing such a method suit you ?
The text was updated successfully, but these errors were encountered: