# Coordinates to index convertion

- Index to Coordinates

The indices of each block represent its position in the model, indicating in which column, line, and level (IX, IY, and IZ) it is.

The * indices must be integer values*, starting with any value (for Marvin model, it was adopted the indices 1,1,1 for the first block).

The * modelโs origin must be placed at the bottom portion*, starting to count from the minimum coordinates at X, Y, and Z.

*Figure 1* highlights the origin of the Marvin block model and the first block index coordinates (1,1,1).

*Figure 1: Blocks Matrix.*

However, if the block model contains geo-referenced information based on coordinates, they could be converted into indices before being imported to MiningMath.

To perform this conversion, check the following demonstration on * how to convert coordinates into indices* using data from

*Figure 2*and the equation from

*Figure 3*.

*Figure 2: Sample data to convert coordinates into indices.*

*Figure 3* exemplifies using the X-axis but the process is the same for Y and Z axes by just using the corresponding information.

*Figure 3: Equation to convert coordinates into indexes.*

*Figure 4* shows the resulting coordinates for the sample data.

**Click here**** **to download a spreadsheet to convert the coordinates into indices and calculate the economic values.

*Figure 4: Resultant coordinates converted to indexes.*

### Do you want more details on Index Coordinates?

The video below exemplifies the conversion process in case you have any doubts.