Use the filter infrastructure to handle the spatial transformations.
Add a spatial transform filter to do so.