columns = coordinateConverter.getColumns();
}
protected boolean calculate() {
final SpatialFormatIterator spatial =
(SpatialFormatIterator) formatInstance.getFormat();
if ((formatInstance == null) || formatInstance.isEmpty()
|| rows == 0) {
return false;
}
NDimensionalIndex childIndex =
formatInstance.getIndex().addDimension();
// Retrieve the (must be) single SpatialIterator's child
int numChildren = spatial.getNumChildren();
final Format child = spatial.getChildAt(0);
if (numChildren != 1) {
throw new IllegalStateException(exceptionLocalizer.format(
"render-spatial-iterator-multiple-children"));
}