// Iniitalise the CoordinateConverterChooser so that it can
// be used to determine the correct CoordinateConverter
NDimensionalIndex childIndex =
formatInstance.getIndex().addDimension();
CoordinateConverterChooser chooser =
spatial.getCoordinateConverterChooser();
IteratedFormatInstanceCounter instanceCounter =
context.getInstanceCounter();
int cells = instanceCounter.getMaxInstances(spatial, childIndex);
// Determine the column direction.
boolean reversed =
DirectionHelper.isDirectionReversed(spatial, formatStyles);
return chooser.chooseCoordinateConverter(cells, reversed);
}