Convert from geographic coordinates in a given projection system to the relative position in rows and columns of a grid.
Useful links