code for paper Kefi et al on spatial indicators