When loading a vector tile source in a MapBox map, I would like to operate on certain geometries before displaying them. However I'm not sure if this would be possible and, if it is, much less how it would be done.
As an example, I would like to create a MapBox source which fetches OpenStreetMap tile data. But before this data is displayed as a layer I need to filter out all land-use features which do not have the tag "landuse='industrial'". Afterwards, the left-over geometries should be grown (perhaps through TurfJS?) by a user-specified distance.
I am hoping to solve this problem in a pure client application, since I have already experimented with using an accompanying backend server and found it to be unsuitable. So if anyone can point me in the right direction, it would be much appreciated!