implement GeoRef -> GridRef conversion