Migrate getHeightfieldHeight to spanner heightfields.